- Computers & Software»
- Computer How-Tos & Tutorials
Automating Flex Applications with QTP
Flex Automation with Selenium and QTP
I have been searching for a functional automation tool which can work both on java and flex platforms.Since most of our applications are legacy applications built on java and struts.Newly added functionality is developed in Flex. I searched the web to find a open source tool but did not found anything except Selenium.
So I installed selenium IDE, selenium RC. And it worked great.I configured the RC with Flex libraries. I just followed the below documentation.
Follow these steps to install Selenium IDE and RC
Start Firefox browser and click on Tools --> Add-ons
Firefox will list all the available add-on's. From that select Seleniumm IDE and click install.
Then download Selenium-RC from the SeleniumHQ downloads page.
I also tested my applications with QTP. Since I have experience in automating my non-flex applications with QTP, I want to try to test my hybrid applications with QTP. I searched the web and found the documentation on how to configure QTP to work with flex also.
Here is how I did it.
When I instlled Flex builder, the automation.swc, automation_agent.swc, and qtp.swc files are stored in different SDK folders.
To link these libraries, you should know on what SDK your application was built.
Then select that SDK folder and link the libraries to the Application Flex libraries.
Compile and code.
Then Test it with QTP Happy Automation.....