Creating Test Suite
In this article, I’m likely to demonstrate just how to produce a test-suite in Selenium IDE and operate the number of check instances utilizing Selenium RC.
Let’s presume you’ve currently produced “GoogleSignUpErrors” test-case, or even you are able to examine the publish: Selenium IDE for Automatic S/W Testing.
Within this fundamental test-case, I simply documented those things to publish a clear Yahoo register type.
For that test-suite, let’s produce another test-case in Selenium IDE: ” GoogleSignUpForm”. Within this test-case I’m simply likely to visit the Yahoo Register webpage and include verifications to check on labels that seem for every area the Register type. Begin to see the documented steps:
We now have TWO test instances:
GoogleSignUpForm: which assessments which areas can be found within the Register type
GoogleSignUpErrors: which attempts to publish the shape without needed areas
Produce a test-suite in Selenium IDE
To produce a test-suite in Selenium IDE:
ONE. Available Selenium IDE
TWO. Visit Document”>>New Test-Suite
THREE. To include check instances: Visit Document”>>Include test-case
FOUR. See a area of one’s test-case
FIVE. Click Include
SIX. Repeat steps 3-5 for more test instances
The test-suite which has GoogleSignUpForm and GoogleSignUpErrors:
You are able to move the test-suite to any or all the backed dialects: HTML, Espresso, Cool, DONUMBER, Perl, PHP, Phyton and Ruby.
Test-suite released as HTML
Once you additional check instances for your test-suite, to move it as HTML, merely:
ONE. Visit Document”>>Move as HTML
TWO. Enter a file-name
THREE. Click Conserve
Within the html-file, the test-suite is just a desk by which every accessibility is just a test-case hyperlink:
<?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”>
<meta content=”text/html; charset=UTF-8″ http-equiv=”content-type” />
<table id=”suiteTable” cellpadding=”1″ cellspacing=”1″ border=”1″ class=”selenium”><tbody>
You have to include “file:///” at the start of the road area of one’s check instances to operate these in the command-line, normally you’ll understand this mistake:
“Firefox does not understand how to available this tackle, since the process(do) is not related to any program”