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

What are the modes of script recording in winrunner ?

0 Answers  


what is the automation framework?

1 Answers  


What is the usage of Test case Design Techniques,in Integration/System Testing?

0 Answers  


what is the tsl statement for selecting the position of item in list box in winrunner?

4 Answers   MBT,


WHAT S/W LANGUAGES DOES THE WINRUNNER & QTP SUPPORT? WHAT ARE THE LATEST VERSION OF BOTH THE TOOLS?

2 Answers  


What is the use of 'Show' button in GUI Map Editor?

2 Answers   FCG,


How does WinRunner recognize objects on the application?

3 Answers  


you hae a inbox and got a mail how can you know it is there or not write script.

0 Answers  


Explain the purpose of loading winrunner add-ins?

0 Answers  


how v should get data from third excel sheet?

1 Answers  


How to set a value in to a data table from the script in winrunner?

1 Answers   Accenture,


Hi, Currently i am using winrunner for my project.Its a java project. When i am running the script its failing in cliking an image link("My Profile"). The image object is eventhough exists in GUI map editor script is failing to recongize the object. I am getting the error of "Web_image_click:"My Profile" Error:Object is not found". I recorded the script and executed it is not running it shows the same error. The following physical description displaying in GUI map editor : { class: object, MSW_class: html_rect, html_name: "My Profile" } The thing was running successfully, I could not able to identify something happen to the script its showing error. Please give solution for this problem. Let me know if need more information. Regards, Sankar shankarmg@gmail.com

3 Answers   CA,


Categories