How to Create test suites in Selenium

Creating test suites in selenium

A test suite is a collection of tests. When using Selenium-IDE, test suites also can be defined using a simple HTML file. An HTML table defines a list of tests where each row defines the filesystem path to each test. An example tells it all.
The Test suite that contains One.html and Two.html
To create a test suite in Selenium IDE:

1. Open Selenium IDE
2. Go to File>New Test Suite
3. To add test cases: Go to File>Add test case
4. Navigate to the location of your test case
5. Click on Add
6. Repeat steps 3-5 for more test cases

The Test suite that contains One.html and Two.html

  • Go to File>Save Test Suite
  • Enter a file name
  • Click on Save

When the Run Entire Test Suite button is clicked, it will run all the tests in the test suite. It will log all the passes and failures at the bottom of the Test Case box.
To save this, click on the File menu and then click on Save Test Suite and save the Test Suite file to somewhere convenient.

                                                                   Selenium Interview Questions


Infographics on Creating test suites in selenium:

How to Create test suites in Selenium

 

 

logoOn-Job Support Service

Online Work Support for your on-job roles.

jobservice
@Learner@SME

Our work-support plans provide precise options as per your project tasks. Whether you are a newbie or an experienced professional seeking assistance in completing project tasks, we are here with the following plans to meet your custom needs:

  • Pay Per Hour
  • Pay Per Week
  • Monthly
Learn MoreContact us
Course Schedule
NameDates
Selenium Training Apr 01 to Apr 16View Details
Selenium Training Apr 05 to Apr 20View Details
Selenium Training Apr 08 to Apr 23View Details
Selenium Training Apr 12 to Apr 27View Details
Last updated: 07 Apr 2022
About Author

 

Madhuri is a Senior Content Creator at MindMajix. She has written about a range of different topics on various technologies, which include, Splunk, Tensorflow, Selenium, and CEH. She spends most of her time researching on technology, and startups. Connect with her via LinkedIn and Twitter .

read less
  1. Share:
Selenium Articles