Articles

Test Suites in Selenium

by Azhar Uddin Technical Architect

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:

Learn how to use Selenium, from beginner basics to advanced techniques, with online video tutorials taught by industry experts. Enroll for Free Selenium Training Demo!

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.


Sponsor Ads


About Azhar Uddin Advanced   Technical Architect

42 connections, 1 recommendations, 209 honor points.
Joined APSense since, May 12th, 2017, From Hyderabad, India.

Created on Mar 8th 2018 05:45. Viewed 417 times.

Comments

No comment, be the first to comment.
Please sign in before you comment.