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 toogle breakpoints? How does it differ from break points?

0 Answers  


what are the different modes of executing TSL Script

3 Answers  


How do you clear a gui map files?

0 Answers  


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

0 Answers  


How to force wr to learn the sub-items on a menu?

0 Answers  






How to check the Back Ground Color of screen in Winrunner?

3 Answers   3i Infotech, Satyam,


What is the difference between a Defect & an Error?

3 Answers  


i would like to know the steps to write tsl exception and object exception with a simple example

0 Answers  


what is mean by test coverage?

1 Answers  


Have you used winrunner in your project?

0 Answers  


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

3 Answers   BeBo Technologies, Polaris,


what is qtp licence

0 Answers  


Categories