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 compile module in WinRunner?

3 Answers  


Hi guys pls any one help me , I am facing this problem since last one week , my question is in there 1000 rows and 1000 coloums , i want to pick the one record , how ?

1 Answers  


Have you created test scripts and what is contained in the test scripts?

1 Answers  


what is wrun.ini file..what it consists?

3 Answers   Polaris, BeBo Technologies,


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

0 Answers  






What is toogle breakpoints? How does it differ from break points?

0 Answers  


What is the use of the "Find" Button in Gui Map Editor?

3 Answers   FCG,


kindly provide me test cases on browser and calculator.Its very urgent.

0 Answers   TCS,


You declared a constant in a main test..Later you want tried to reinitialize that constant..what will happened? i.e const i=10; -- --- i=20; what will happen?

2 Answers   Accenture,


How to convert Manual Test script into Automation Test Script?

1 Answers   Mind Tree,


Friends,while installing winrunner,after setup unknowingly without generating license i opened winrunner.it didn't work,then i uninstalled wr ,and again installed properly ,generated license,opened winrunner .error msg :TMP environemnt variable is set to invalid folder.it must be set to valied folder.TMP is not a directory ,Exiting........ so kindly suggest me the solution

1 Answers  


The title of the window consists of Date and Time.Tell me the Regular Expression to recognise that window as unique?

1 Answers   FCG,






Categories