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

when start testing

0 Answers   MNC, Verizon,


Where do you found that you can't use winrunner for automation?

0 Answers  


how to invoke the window based application in win runner

1 Answers   Satyam,


pls tell me how to convert string to date format. my problem is in excel i have given date ,after used in the ddt_val function ,it is not converted pls tell me how to convert string to date format urgent

1 Answers   CitiGroup,


What is the TSL function in WinRunner to connect to test director?

1 Answers   Scope International, Infosys, Kanbay,






What is the purpose of Wdiff utility?

1 Answers  


When you create GUI map do you record all the objects of specific objects?

1 Answers  


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

0 Answers  


How to Get data from database(table) to an excel sheet

2 Answers   iGate,


After saving the tsl script of winrunner in TestDirector, if suppose any changes made to the script in ur winrunner would it get updated in TestDirector also???????

2 Answers   Ness Technologies,


plz give me code or steps for pop up exception. or can u tell me how to pause test run for defining handler function?

0 Answers  


Write test scripts on a scenario where you have to transfer data from one table to another.

0 Answers  






Categories