Friday, February 8, 2008

Version 0.0.3 is out

Hi

Now a new version is released, The one big change is the support for Safari browser on the OS X, thanks to Neil Curzon for implementing this.

Other changes is that I have changed the way FunFX searches children. In the earlier versions, it used the getAutomationChild method but now I have switched to getChild method. This improves the support for repeaters.

Let me know if something does not work with these changes.

3 comments:

Marcin Oleksiewicz said...

Well done! I've just switched my tests to your new version of framework and it works good.
Glad you still improve it to works better.

Thanks!

Ahgh4bai said...

I ran into a problem using FunFX. My Application class contains an ApplicationControlBar.

Calls such as @ie.button("idOfButtonInControlBar") always return nil. I traced this into FunFX::startSearch() and noticed that the breadth first search starts with only 1 root node: the Application. Because ApplicationControlBar is not a child of Application (instead it's a property), the control bar children are never searched.

I was able to workaround this by explicitly adding Application.controlBar to the search list in startSearch().

Is this a limitation of FunFX, or am I doing something wrong?

Thanks for sharing your work!

Ahgh4bai said...

Ran into an issue using Safari on OSX 10.4. @funfx.unload does not close the browser window. Here is the workaround:

module Browsers
class Safari
# Close the document window
def unload
@document.close
end
end
end