As part of exploring the other Selenium IDE features in-depth, I will explain the below different Test Suite options in Selenium IDE:
- Test Suites View
- Adding Test Suites
- Adding Tests to Test Suite
- Renaming Test Suite
- Deleting Test Suite
- Test Suite Settings
- Exporting Test Suite
- Executing all the Tests in Test Suite
- Adding Multiple Test Suites
- Expand and Collapsing Test Suites
- Remove the Tests from Test Suite
Let’s get started with a practical demonstration.
New Selenium IDE – Test Suite Options
Follow the below steps for exploring different Test Suite Options in Selenium IDE:
1) Launch the Selenium IDE having multiple recorded Tests as shown below:
2) Now click on the down arrow option and select ‘Test Suites’ option as shown below:
3) Click on ‘+’ option when the ‘Test Suites’ is selected as shown below:
4) Enter any suite name say ‘TestSuiteOne’ into the displayed dialog and click on the ‘Add’ button as shown below:
Observe that the ‘TestSuiteOne’ Test Suite will be added as in Selenium IDE as shown below:
5) Hover the mouse on the newly added Test Suite and select three dots as shown below:
In the displayed options, select ‘Add Tests’ option as shown below:
Out of the displayed 6 Tests, select only three tests i.e. TestOne, TestTwo, and TestThree and click on ‘Select’ button as shown below:
Click on the down-arrow option of the Test Suite to expand it and observe that the selected Tests got added to the Test Suite as shown below:
6) Hover the mouse on the newly added Test Suite, select three dots and select the ‘Rename’ option from the displayed options as shown below:
In the displayed ‘Rename suite’ dialog, modify the Suite name to ‘TestSuite1’ and click on ‘Rename’ button as shown below:
Observe that the Test Suite got renamed and displayed in the Selenium IDE as shown below:
7) Hover the mouse on any Test Suite say Default Test Suite, select three dots and select the ‘Delete’ option from the displayed options as shown below:
In the displayed ‘Delete Suite’ dialog, click on ‘Delete’ button as shown below:
Observe that the Default Suite got deleted as shown below:
8) Hover the mouse on the Test Suite, select three dots and select the ‘Settings’ option from the displayed options as shown below:
Observe that the ‘Suite Properties’ dialog will be displayed and the different options displayed on the dialog can be modified to be applicable at the suite level and click on ‘Submit’ button as shown below:
9) Hover the mouse on the Test Suite, select three dots and select the ‘Export’ option from the displayed options as shown below:
In the displayed ‘select languages’ dialog, select any language say ‘Java JUnit’ and click on ‘Export’ button as shown below:
Click on the ‘Save’ button in the displayed dialog as shown below to save the complete Test Suite and its Test files:
10) We can run all the tests in the Test Suite by following the below steps:
Select any Test in the required Test Suite and click on ‘Run all tests in-suite’ option as shown below:
Observe that all the Tests in the Test Suite ‘Test Suite1’ got executed one after the other as shown below:
11) We can create multiple test suites in Selenium IDE by following the below steps:
As we already have one Test Suite ‘TestSuite1’, let’s create another test suite ‘TestSuite2’ by following the similar steps which we have used for creating the ‘TestSuite1’ test suite as shown below:
Hover the mouse over ‘TestSuite2’, select three dots and then select ‘Add tests’ option as shown below:
In the displayed ‘Select Tests’ dialog, select ‘TestX’, ‘TestY’ and ‘TestZ’ as shown below:
Click on the down-arrow option of the Test Suite to expand it and observe that the selected Tests got added to the Test Suite as shown below:
12) Click on the Down arrow again and observe that the Test Suite collapses as shown below:
13) Hover the mouse on any Test inside the Test Suite and select ‘X’ option as shown below:
Observe that the Test under the ‘TestSuite1’ got deleted as shown below:
Here concludes the practical demonstration of all the Test Suite Options in Selenium IDE.
In the next article, I will practically demonstrate another Selenium IDE feature to be explored (Refer other features to be explored here)
Next Steps:
- > 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.