Be aware that for using the FunFX framework and being able to
communicate with Flex objects, a couple of FunFX files must be
compiled with the Flex code of that page. If that has not been done,
then you will not be able to communicate with the objects. I use FunFX
here at my project and it works fine. It works something like this:

require 'watir'
require 'test/unit'
require 'funfx'

watir = Watir::IE.new
flex = Funfx.instance
flex.attach(watir.ie, true)

flex.goto("http://funfx.rubyforge.org/Flex/FlexObjectTest/
FlexObjectTest.html", "FlexObjectTest")
flex.tree("objectTree").open(:item_renderer => "Menu controls")
flex.tree("objectTree").select(:item_renderer => "MenuBar1")


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to