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

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

1 Answers  


The extension of the Script file is .mts ok Whis is stand for mts?

4 Answers  


what is the regular expression for dd-mm-yyyy?

2 Answers   IBM,


Will TSL supports function overloading and operator overloading?

1 Answers   Accenture,


For what type of applications Rapid Test Script Wizard available?

3 Answers   Synergy,


WinRunner will suppost "Cold Fusion"?

1 Answers  


Explain the purpose of gui spy?

0 Answers  


What do you verify with the database check point custom and what command it generates, explain syntax?

0 Answers  


i would like to know the steps to write tsl exception and object exception with a simple example

0 Answers  


How do you handle dynamically changing area of the window in the bitmap checkpoints?

0 Answers  


How many recording modes are provided by WR?

1 Answers  


Please any one Knows Send the Website for Writing different TestCases with different Examples

0 Answers  


Categories