Selenium IDE installation and introduction

1. Selenium IDE installation

        Selenium IDE is a plug-in for Firefox browser, attached to Firefox browser. I searched for the installation tutorial of Selenium IDE on the Internet. Most of them said that they can be downloaded and installed on the official website. In fact, the final opened address is the add-on address of the Firefox browser: https://addons.mozilla.org/en-US/firefox/ addon/selenium-ide/. so, install Selenium IDE:

1. First, you need to install Firefox ( pay attention to the version of the browser ), then open Firefox, in the menu bar - Tools, click "Add Components", as shown in the figure:

2. In the Get Accessory Components menu, click "See more components", as shown in the figure:

3. Search for "Selenium IDE" in the search box, as shown in the figure:

4. Click "Add to Firefox", as shown in the figure:

5. After adding, reopen Firefox , you can see a small icon on the right side of the address bar, this small icon is the "Selenium IDE" we want to install, click this small icon, you can open Selenium IDE, as shown in the figure:

2. Introduction to Selenium IDE

 

  1. File: Open and save test cases and test case sets.
  2. Recording: After clicking, start recording your operation on the browser, and click again to stop recording after recording.
  3. Run All: Runs all cases in a test case set.
  4. Run: Run the currently selected test case.
  5. Pause/Resume: Pause and resume test case execution.
  6. Speed ​​Control: Control how fast the case runs.
  7. Fill in the address of the website under test.
  8. List of case sets.
  9. Test Script: Displays commands, targets, and values ​​in tabular form.
  10. The parameters corresponding to the currently selected command can be modified.
  11. View the number of passed/failed scripts.
  12. Run Log: When you run the test, information about each step of the run will be displayed in the Log.

3. Problems encountered during installation

After recording the script, when running, a blank appears, as shown in the figure:

Solution: Later, I tried to re-add the components, but the problem was still not solved. Finally, I reinstalled the latest version of Firefox, and that's it.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324496499&siteId=291194637