How to write selenium webdriver automation scripts for Flex applications

I am writing automation scripts for Flex applications using the Selenium-Web driver, but I do not know the exact steps and fixing identifiers for a Flex application. I looked for glasses several times, but I could not get the exact solutions and answers.

Please let me know the clear steps for writing automation scripts and capturing identifiers using any tool or from the Selenium IDE.

Currently, they have provided me with only the application URL, using only the application URL. I need to write scripts using a web driver.

+4
source share
2 answers

Although this only works with Selenium 1 (not webdriver), take a look at Flex Monkey:

http://www.gorillalogic.com/testing-tools/flexmonkium

Install the console and start the selenium server by downloading the user extensions provided in the zip file (also available on the download page).

If you open the page that you are testing, and then open the console, the console should indicate that it is connected - you will see the actions in the IDE selenium.

If not, you need to deploy the test application with the appropriate SWC projects for Flex Monkey to recognize objects on the page.

0
source

As far as I know, you cannot automate a Flex web application using webdriver (at least in a simple way). You can do this with Selenium RC by adding the FlexUISelenium extension to RC and compiling the application using Flex libs.

I heard about how to write custom javascript methods using agile processing, but I did not try (it will investigate soon). Check out this link.

However, I hope that I am mistaken, because I ran into this problem now;)

0
source

Source: https://habr.com/ru/post/1438550/


All Articles