com.netriser.xmltestsuite.testcases
Class with

java.lang.Object
  |
  +--junit.framework.TestSuite
        |
        +--com.netriser.xmltestsuite.testcases.XmlTestSequence
              |
              +--com.netriser.xmltestsuite.testcases.with
All Implemented Interfaces:
junit.framework.Test, XmlElement

public class with
extends XmlTestSequence

XmlTestSequence which allows a single page element to be defined for a set of tests. This is really just for convenience to avoid defining the page reference multiple times. It also helps with the legibility of the tests.

	<steps>
 		<with page="login">
 			<fetch/>
 			<verify/>
 			<submit/>
 		</with>
 	<\steps>


Constructor Summary
with(java.lang.String fName)
           
 
Method Summary
 void setQuerystring(java.lang.String s)
           
 
Methods inherited from class com.netriser.xmltestsuite.testcases.XmlTestSequence
getPageElement, getXmlElement, setForm, setFrame, setPage, setStepid, setXmlElement
 
Methods inherited from class junit.framework.TestSuite
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

with

public with(java.lang.String fName)
Method Detail

setQuerystring

public void setQuerystring(java.lang.String s)