Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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.




If the data is stored in Excel sheet(2nd and 3rd), how to access it for Data Driven test; Ex: tab..

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

Post New Answer

More WinRunner Interview Questions

What is the automation process in winrunner?

3 Answers   Second Foundation,


what is the use of Step into option provided in WR?

2 Answers  


hi, this is balu. I looking for testing job. I want qtp software . any body have . pls send mail to me dont forget. send a mail to me kool.balu@gmai.com

1 Answers  


What is Data Driven TEsting?

16 Answers   ADP, Sonata,


is 'Vendor' is a Reserved in WinRunner or not?

1 Answers   FCG,


What is the extension of GUI check points check list file?

3 Answers   FCG,


What is the difference between writing a function and writing a script?

0 Answers  


what is mean winrunner and load runner

1 Answers   Wipro,


Hai guys can any one tell me tnhe difference between the product testing and Project testing?

2 Answers  


What is the use of gui map and what happens when gui map file get loaded?

0 Answers  


what is the advantage of INOUT parameter over OUT parameter?

2 Answers   Fidelity,


Where are test cycle folders created if TSL Script is not saved

1 Answers  


Categories