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 |
what is the testing high level architecture
what are the differences you see in e-commerce and banking domain in testing point of view Thanks in Advance
How to use winrunner?
if a test script is parameterised with the same value ,and run what effect will it have in terms of performance for testing the application.will the script get executed faster or there is no effect at all.
Tell US the Short key to open the dialogs of windows.
why you are doing software testing, why testing necessary
Which Key is pressed to toggle between Analog and Context Sensitive Mode?
What is the use of test director testing tool?
how are objects identified by winrunner
The extension of the Script file is .mts ok Whis is stand for mts?
what are the different modes of executing TSL Script
Wat is the defferances between Test plan and devolopment plan?