Selenium WebDriver Java Framework Course Limited Time Offer for $20

Selenium WebDriver Java Framework Course Limited Time Offer for $20

 

Print

Selenium IDE Test Suites

A test suite is a collection of tests. When running a test suite, all the tests in a test suite will run as one continuous batch - job.

User can define a test suite by using Selenium IDE Test Case Pane or using a simple HTML file.

 

Selenium IDE Test Case Pane

Test Suite with HTML File

<html>
<head>
 <title>Selenium Master Login Module Test Suite</title>
</head>
<body>
<table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium">
<tbody>
<tr><td><b>Test Suite</b></td></tr>
<tr><td><a ref="SeleniumMasterLoginTest.html">SeleniumMasterLoginTest</a></td></tr>
<tr><td><a href="/sitecontent/SeleniumMasterUserSettingChangeTest.html">SeleniumMasterUserSettingChangeTest</a></td></tr>
</tbody>
</table>
</body>
</html>

From the Selenium IDE, a test suite file similar to this would allow running the tests all at once, one after another.

Test suites can also be maintained when using Selenium-RC. This is done via programming and can be done a number of ways. Commonly Junit is used to maintain a test suite if one is using Selenium-RC with Java. Additionally, if C# is the chosen language, Nunit could be employed.