If the data is stored in Excel sheet(2nd and 3rd), how to
access it for Data Driven test;
Ex: table = "c:\demo.xls"
How to access 2nd or 3rd sheet data id demo.xls flie.
Answer / uday kumar. a
Dim excelObj,counter
counter=1
Set excelObj=createobject("Excel.application") 'Excel Object
Set wbObj=excelObj.workbooks.open("c:\demo.xls") 'work bood
object
Set wbs=excelObj.activeworkbook.worksheets("sheet2") 'work
sheet object
while not isempty(excelObj.cells(counter,1))
x=excelObj.cells(counter,1).value
msgbox(x)
counter=counter+1
wend
| Is This Answer Correct ? | 0 Yes | 0 No |
Where are test cycle folders created if TSL Script is not saved
The extension of the Script file is .mts ok Whis is stand for mts?
what is the regular expression for dd-mm-yyyy?
Will TSL supports function overloading and operator overloading?
For what type of applications Rapid Test Script Wizard available?
WinRunner will suppost "Cold Fusion"?
Explain the purpose of gui spy?
What do you verify with the database check point custom and what command it generates, explain syntax?
i would like to know the steps to write tsl exception and object exception with a simple example
How do you handle dynamically changing area of the window in the bitmap checkpoints?
How many recording modes are provided by WR?
Please any one Knows Send the Website for Writing different TestCases with different Examples