I'm trying to use Selenium IDE to click on a swf in a html page. The DIV id and Embed id change depend on the timestamp e.g. id="FLASH_0_23458974594"
, I've tried using id=/^FLASH_([0-9]+_)[0-9]([0-9]+)/
or id="FLASH_glob:*"
but the IDE is not picking up the swf. Am I doing something wrong here?
Thanks.
You need to download flashwebdriver jar files: Step 1) After download, add the jar file in your project as shown in below screen. Step 2) Under flash jar file there is a separate flashobjectwebdriver class. Implement the flashWebdriver “myFlashmovie” in your selenium script as shown below in screen.
Selenium, Soap UI, TestComplete, and Test Studio testing tools can be used in flash testing.
Selenium Remote Control (RC) was the main Selenium project that sustained for a long time before Selenium WebDriver(Selenium 2.0) came into existence. Now Selenium RC is hardly in use, as WebDriver offers more powerful features, however users can still continue to develop scripts using RC.
Have you tried contains?
click | //object[contains(@id,'FLASH_')]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With