Flash Testing with Selenium l 17/10/20122 Flash Testing with Selenium By Dilhan Jayakody.

  • Published on
    26-Mar-2015

  • View
    216

  • Download
    3

Transcript

  • Slide 1

Slide 2 Flash Testing with Selenium l 17/10/20122 Flash Testing with Selenium By Dilhan Jayakody Slide 3 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 Slide 4 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 Slide 5 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 Slide 6 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)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)http://code.google.com/p/flash-selenium/downloads/list Flash Testing with Selenium l 17/10/20126 Slide 7 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 Slide 8 Test YouTube Using Flash Selenium API with Selenium RC Using WebDriver Flash Testing with Selenium l 17/10/20128 Slide 9 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 Slide 10 THANK YOU!