Hi all,
Is it posible to test flash on the web?
I am using following code

# include the controller
require 'flash_watir'
include FireWatir
# create an instance of the controller
browser = Firefox.new
# go to the flash page you want to test
# call the default methods available in flash
percentage_loaded = browser.flash(:id, "clickcolors").percent_loaded

but i am getting the below erroe.
>ruby flash.rb
flash.rb:20:in `percent_loaded': Unable to locate element, using :id,
"clickcolors" (Watir::Exception::UnknownObjectException)
        from flash.rb:10
>Exit code: 1
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to