Installation and use of Selenium IE

Selenium IE installation and use

Install

Selenium is compatible with different browsers

  • Firefox
    opens the URL => Install page , it will redirect to the official add-on page of Firefox.
    Click the Add to Firefox button.

  • chrome browser:

    On the installation page , add selenium IDE to the chrome mall.

Use (in Firefox)

1. Start the Firefox browser.
Click on the Selenium icon in the upper right corner of your browser.

2. Record a new test project (select the first item), name the test project Selenium IDE, and then enter the URL: 3. After clicking Start
insert image description here
Recording, a new window will open and record automatically:
insert image description here
4. Next, the web page Operations will be recorded as test scripts. For example, we search for Selenium IDE, open its home page and close it:

5. Click the recording end button to prompt to name the test case. After renaming, the test script recording is completed:
insert image description here
insert image description here
6. Click 1 to run the test script, and click 2 to adjust the running speed of the test script:
insert image description here
7. Passed statement are displayed in green, and failed statements are displayed in red:
insert image description here

Guess you like

Origin blog.csdn.net/He_r_o/article/details/103141672