In the previous articles, I have explained What is Selenium IDE and Installing, Launching, Recording, and Playback using Selenium IDE.
As you already got familiar with the few features of Selenium IDE in the previous articles, I will take you through all the different features available in Selenium IDE in this article.
Let’s get started.
New Selenium IDE – Features
The following are the different features available in the New Selenium IDE:
- Menu Bar
- Tool Bar
- Address Bar
- Start/Stop Recording Button
- Test Case Pane
- Test Script Editor Box
- Log, Reference Pane
Find all the above-listed features depicted in the below diagram:
Now, I will explain each and every feature of Selenium IDE below:
1) Menu Bar
The below diagram depicts the different items that are available on the Menu bar:
Project Name: The name that you have given while creating a new project in Selenium IDE, will be displayed here. We can also rename the Project Name by clicking on the existing displayed name.
Create New Project: If you want to create a new project, we need to use this option.
Open Project: If you have any existing Selenium IDE project saved on your machine, you can use this option to open the project.
Save Project: Once you have done any changes to the project, you can use this option to save the project on your machine.
2) Tool Bar
The below diagram depicts the different items that are available on the Toolbar:
Run all tests: All the tests under a Test Suite can be executed at once using this option.
Run current test: The currently loaded test can be executed using this option.
Step over current command: One command at a time can be executed for debugging purpose using this option.
Speed Control Option: Execution speed of the tests cases can be controlled using this option.
3) Address Bar
The below diagram depicts the Address bar that is available on the Selenium IDE:
The address bar shows the current URL and on clicking the dropdown associated with it, it will display all the previously visited websites as part of automation.
4) ‘Start/Stop Recording’ Button, ‘Disable Breakpoints’ and ‘Pause on Exceptions’ options
The below diagram depicts the ‘Start/Stop Recording’ Button, ‘Disable Breakpoints’ and ‘Pause on Exceptions’ options in Selenium IDE:
Disable Breakpoints: All the steps having the breakpoints set for debugging will not be considered during execution on using this option.
Pause on Exceptions: If there are any exceptions during the execution, you can use this option to halt the test cases on getting any exceptions.
Start/Stop Recording: The activities performed on the application will be recorded when this recording is on and will not be recorded on stopping this recording option.
5) Test Case Pane
The below diagram depicts the Test Case Pane in Selenium IDE:
We can add multiple Test Suites and multiple Tests under Test Suites in this Test Case Pane.
We can select the Tests to be executed from the Test Case pane.
Hence this Test Case pane contains the list of recorded Tests organized under different Test Suites.
6) Test Script Editor Box
The below diagram depicts the Test Script Editor Box in Selenium IDE:
As depicted in the diagram above, the Test Script Editor Box contains the user interactions that are recorded in the form of Test Steps in Selenium IDE.
Each and every recorded Test Step contains values under the three columns i.e. Command, Target, and Value.
For example, if you record the typing of QAFox text into the search box field on QAFox.com website.
The command will be type.
The target will be the locator for locating the Search box field.
The value will be the text that is typed into the Search box field i.e. QAFox.
Also, the below options are available in the Test Script Editor Box field:
Enable/Disable Comment: We can comment out the selected step to stop it from execution by enabling this option.
Add new window configuration: If any new window opens on executing the currently selected step, we can provide more details to configure the new window using this option.
Edit command: We can edit the command displayed in the Command box.
Edit Target: We can edit the locator text displayed in the target box.
Edit Value: We can edit the value displayed in this value box.
Select Target in page: We can select any UI element on the page using this option to generate the locator text in ‘Edit target’ box field.
Find Target in page: We can select any UI element on the page using this option to generate the locator text in ‘Edit target’ box field.
7) Logs, References pane
The below diagram depicts the Logs, References pane in Selenium IDE:
The Log pane will display the runtime commentary/messages during execution of the selected test.
The Reference pane will display the details of the command in the currently selected test step in the Test Script Editor Box.
Here concludes this article.
In the next article, I will explain the different locator strategies available in Selenium IDE.
- > To learn more about Selenium, continue to the next post (Click on Next Post link below)
- > Check complete Selenium Tutorial Contents here (Click here)
Please leave your questions/comments/feedback below.
Happy Learning 🙂
On a mission to contribute to the Software Testing Community in all possible ways.