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
browser.goto('http://www.geocities.com/paulocaroli/flash/colors.html')
sleep(3)
# 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
C:/ruby/lib/ruby/gems/1.8/gems/flash_watir-1.1.0/lib/flash_watir/
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: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to