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

how u can crate a database checkpoint in ur script?

2 Answers   MBT,


What is the use of gui map and what happens when gui map file get loaded?

0 Answers  


what is the key combination to terminate script execution

2 Answers  


What is the use of gui map?

0 Answers  


i was getinng problem if i use the same test-data(data table) to script1 and script2. why it is so? and how it can be resolved?

1 Answers  






tell me the detailed exaplanation of different types of tesiting

5 Answers   Satyam,


How do you identify which files are loaded in the gui map?

0 Answers  


what is the automation framework?

1 Answers  


what are the default addin?s provided by WR

2 Answers  


How to carry out manual testing for a background process which does't have any user interface

1 Answers  


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

2 Answers  


regular expression differance in qtp and winrunner

1 Answers  


Categories