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

supose 10 times text data is there but it will run 8 times whtat will you do.

0 Answers  


what is the main diff of Qtp9.2 and 9.5 plz tell me

5 Answers   HCL, IBM,


Whole application is taking as single html frame while recording and learning but i want to learn each textbox,text,links whatever the page have.If we click any link in one page that will show another page so i want to learn that pages objects also.I want navigation steps or guidence plz

1 Answers  


what is the syntax for regular expression.dont send the types like regexp_label,regexp_msw_class

1 Answers   QA,


How do you select multiple objects during merging the files?

0 Answers  


What is the exact difference between Integration & System testing, give me examples with your project.

5 Answers   Accenture,


how u can crate a database checkpoint in ur script?

2 Answers   MBT,


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

1 Answers  


can any one provide some testing material?

2 Answers  


which is the latest version in Winrunner

6 Answers  


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.

1 Answers   Wipro,


What is the purpose of Wdiff utility?

1 Answers  


Categories