|
| Total Answers and Comments: 3 |
Last Update: September 23, 2007 Asked by: aparnay |
|
| | |
|
Submitted by: MohsinK If you would like to manually script then this is how we do it:Assume that 1. there is a testcase called 'test1(STRING sData)' in 'script1.t' script file2. there is a testplan called 'plan1.pln'Now, if you want to pass the parameter to the testcase from the plan file then include these statements in the 'plan1.pln' file:script: script1.t //script: is a keyword used to specify the script file (absolute path also can be specified)$sData = "Data to pass" //Declearing a variable called sDatatestdata: sData //testdata: is a keyword and is used to specify the parameters to the testcase testcase: test1: //testcase: is a keyword which is used to specify the testcase to be called
Above answer was rated as good by the following members: pradeep.pamidipalli | Go To Top
|