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 extension of gui map file?

0 Answers  


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

3 Answers   3i Infotech, Satyam,


Hi,i cleared the first round in Microstrategy and my second round(project manager) is scheduled so can any one tel me what r they asked and gv me some steps how i wil tel them?

1 Answers  


How to do text matching?

0 Answers  


When do you feel you need to modify the logical name?

0 Answers  


What is the difference between gui map and gui map files?

0 Answers  


How do you handle unexpected events and errors?

0 Answers  


how can we make use of virtual object wizard to identify similar object can u explain with an example

2 Answers  


What is the purpose of gui map configuration?

0 Answers  


How do you determine what to test?

6 Answers  


wat is mean by software testing,and what is mean by acid testing

1 Answers   Wipro,


How do you invoke a text file from winrunner?

6 Answers   BeBo Technologies,


Categories