In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article introduces the relevant knowledge of "how to use Selenium IDE". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Installation
Install Selenium IDE from the Chrome or Firefox online store.
Start IDE
After installation, start it by clicking its icon from the browser menu bar.
Troubleshooting
Don't you see the icon of Selenium IDE in the menu bar?
Option 1
Ensure that IDE is enabled in the extender settings of the browser.
You can quickly reach your destination Enter by typing the following in the address bar and clicking.
Chrome: chrome://extensions
Firefox: about:addons
Option 2
The extension may be enabled, but the icon is hidden. Try resizing the menu bar to provide more space.
In the Chrome browser, you can do this by clicking the right side of the address bar, holding down the click, and then dragging it to the left or right.
In Firefox, you need to right-click, click Customize, adjust the menu bar, and then click Done.
Welcome screen
After you start IDE, a welcome dialog box is displayed.
This will give you quick access to the following options:
Record new tests in a new project
Open an existing project
Create a new project
Close IDE
If this is your first time using IDE (or if you are starting a new project), select the first option.
Record your first test
After you create a new project, you are prompted to name it, and then you are asked to provide a basic URL. The basic URL is the URL of the application you are testing. It only needs to be set up once, and it will be used in all tests in the project. If necessary, you can change it later.
When these settings are complete, a new browser window opens, loads the basic URL, and starts recording.
Interact with the page, and each of your actions will be recorded in IDE. To stop recording, switch to the IDE window and click the recording icon.
Finishing and testing
Test
You can add a new test ADD by clicking the symbol at the top of the left toolbar menu (to the right of the Tests title), naming it, and then clicking.
After adding, you can enter the command manually or click the record icon in the upper-right corner of IDE.
Suite
Tests can be grouped into suites.
When you create a project, Default Suite creates one, and your first test is automatically added to it.
To create and manage suites, go to the Test suites panel. You can click the drop-down menu at the top of the toolbar menu on the left (for example, click the word Tests) and select Test suites to reach there.
Add Suite
To add a suite, click the symbol Test Suites at the top of the title + right left bar menu, provide a name, and then click ADD.
Add Test
To add a test to a suite, hover over the suite name and do the following:
Click the icon that appears to the right of the Test Suites title
Please click Add tests
Select the test to add from the menu
Please click Select
Delete test
To delete a test, hover over the test and click to the right of the X name.
Delete or rename a suite
To delete a suite, click the icon that appears to the right of its name, click Delete, and then Delete click again when prompted.
To rename the suite on the name, click the icon that appears to the right of the name, click Rename, update the name, and then click RENAME.
Save work
To save everything you just finished in IDE, click the save icon in the upper-right corner of IDE.
It prompts you for a location and name to save the project. The end result is a single file with the .side extension.
Playback
Inside the browser
You can play the test in IDE by selecting the test or suite to play, and then clicking the play button in the menu bar above the test editor.
The test will be played in the browser. If you are still opening a window from the recording, use it for playback. Otherwise, a new window will be opened and used.
Cross browser
If you want to run the IDE test on another browser, be sure to install the command line runner.
That's all for the content of "how to use Selenium IDE". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.