Is it possible to place a Logical name in a data table and
can use that logical name in the script? Tell me with
mentioning function names..?

Is it possible to place a Logical name in a data table and can use that logical name in the script?..

Answer / winrunner

Yes it's possible to place logical names in a data table and
use in the script.
First create the data table with logical Names.
and in the script
use ddt_open() statment to open the data table.
ddt_get_row_count() to know the records in the data table.
Loop with that..
set the row with ddt_set_row() ..
get the value from the data table using
ddt_val(datatable,col_Name) and store this in a variable
Let's say var1.
assign this value to the function ..
suppose the logical name "OK" stored in the data table.
so var1="OK"
use that variable in Let's say button_press(var1).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WinRunner Interview Questions

What is the use of Merge option provided in WR

3 Answers  

Some of the importent functions in data driven test(ddt)?

4 Answers   Second Foundation,

what is the procedure do u follow for writing the test scripts

1 Answers   Agile Software,

Which of the following, we cannot include in a compiled module? a)check points b)analog statements c)reporting statemnts

3 Answers   Belly,

What are the functions generate when u use GUI Check point?give me some of ones?

4 Answers   Second Foundation,

In the flight example flight(select flights) button is recognizing ,it recognizes as object how to gui map configure to button pls explain

2 Answers   Satyam,

Difference between actions and functions

2 Answers   Ordain Solutions,

How do handle error/exceptions in winrunner.

2 Answers   ADITI,

What is the different between GUI map and GUI map files?

1 Answers   Ordain Solutions,

what is test bed

1 Answers   Satyam,

what is deployment?and who do deploy in a server, and when ?

3 Answers   CTS, Mannar Company,

What is Syncronisation in Winrunner?

5 Answers