Data is there in two excel sheets .. how ur going to retrive
the data in winrunner thru script.. write down the script?

Answers were Sorted based on User's Feedback



Data is there in two excel sheets .. how ur going to retrive the data in winrunner thru script.. wr..

Answer / suneel reddy

use data driven test script

ddt commands

Is This Answer Correct ?    1 Yes 0 No

Data is there in two excel sheets .. how ur going to retrive the data in winrunner thru script.. wr..

Answer / uday kumar. a

Hi,

As per the question, Excel sheets means In an Excel file we
have multiple sheets(Sheet1, sheet2 etc...)
Here i can access the sheet1 data, but WR does not provide
any functions, so that we can access sheet2.

There is no direct option to access sheet2 in Excel file

Is This Answer Correct ?    0 Yes 0 No

Data is there in two excel sheets .. how ur going to retrive the data in winrunner thru script.. wr..

Answer / deepak ethirajan

First link the data tables to an appropriate table name.
eg:-
Table1= "C:\\excel1.xls";
Table2= "C:\\excel2.xls";

use the ddt_open command to open the data tables.

ddt_open(Table1,.....
ddt_open(Table2,....

Now, you can access the data from either Table1 or Table2
by the table name.
eg:
V1= ddt_val(Table1,<parameter1>)
V2= ddt_val(Table2,<parameter2>)

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More WinRunner Interview Questions

How do you unload the GUI map?

0 Answers  


what is the use of generate script that is avaliable 3 places(file settings, tools, object identification)

0 Answers  


What is the purpose of gui map configuration?

0 Answers  


how to create checklist in winrunner?

1 Answers  


If the object does not have a name then what will be the logical name?

1 Answers  






What is the difference bitween Client/Server Applications and Web Applicaions?

5 Answers   iSoft, Patni,


What is the Purpose of Virtual Object Wizard in WinRunner?

5 Answers   Vyons Labs,


What are the reasons Winrunner fails to identify an object in the GUI?

3 Answers   Bristle Cone, Logica CMG,


How can I check the font size and color using winrunner?

3 Answers  


what is the difference between toggle checkpoint and checkpoint?

1 Answers   JVS,


Hi iam a begginer or rather new stsrter to QTP and strugling to start as i have to start writing the automated scripts for the existing manual testing could some one send me some tips ans tricks for a jump start. Any help is greatly appreciated

0 Answers   John Deere,


how scripting language & programming language are different?

1 Answers   EDS,


Categories