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 |
How do you make the configuration and mappings permanent?
where does WR records the information about objects in AUT?
If winrunner doesn't understand the Text in the Application what you do?
What is the definition of function?
What are the features r there in winrunner 7.6 over winrunner 7.01..B'cos Iam using Winrunner 7.01
In the system of coordinates used by WinRunner,the origin(0,0 coordinate)is located in the --- screen?
what are Recoring modea available in winrunner?
3 Answers Second Foundation, TCS,
What do you mean by S/W Testing Automation Framework? What are different types of automation framework?
Hiiiiiiiii This is lavanya.....At present i m working as a MATLAB developer at CMC(A tata enterprise)from about1 year .now i want to move to testing field as a fresher?Is this possible...can anyone give me a suggestion regarding d testing field.....
How can we stop a automation program in middle of execution time?
What is the difference between STATIC FUNCTION & STATIC?
How do you find out which is the start up file in winrunner?