flash testing with selenium l 17/10/20122 flash testing with selenium by dilhan jayakody
TRANSCRIPT
Flash Testing with Selenium l 17/10/20122
Flash Testing with SeleniumBy Dilhan Jayakody
Content
Why Flash became very popular?
Why is it Challenging for Automation?
Prerequisites for Automating Flash Content
Flash Selenium API for Selenium RC
Test YouTube…
Summary
Flash Testing with Selenium l 17/10/20123
Why Flash became very popular?
It is browser independent
Allows you to make your site more interactive
Flash Testing with Selenium l 17/10/20124
Why is it Challenging for Automation?
There are two main issues that needs to be addressed while automating web applications:• Need to 'get' certain properties of the object and compare it
against your benchmarks.• Performing actions on an object or 'set' certain values.
But Selenium cannot read or record any actions on flash objects.
Flash Testing with Selenium l 17/10/20125
Prerequisites for Automating Flash Content
Have access to the Application Code
Install Adobe Flash Builder to see the developer code (download : www.adobe.com/cfusion/tdrc/index.cfm?product=flash_builder)
Include Flash Selenium API to your test code (download : http://code.google.com/p/flash-selenium/downloads/list)
Flash Testing with Selenium l 17/10/20126
Flash Selenium API for Selenium RC
It is an extension to the Selenium RC client driver that enables the Selenium RC client test drivers to call ActionScript methods of the Flash application.
Flash Testing with Selenium l 17/10/20127
Test YouTube…
Using Flash Selenium API with Selenium RC
Using WebDriver
Flash Testing with Selenium l 17/10/20128
Summary
Automating Flash Content with Selenium is Possible.
Limitation is the need to have access to the developer code.
Flash Testing with Selenium l 17/10/20129
THANK YOU!