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 to break infinite loop?

0 Answers  


plese tell me about vss?

3 Answers  


Have you ever created a test plan?

3 Answers  


what is add-in manager in WinRunner?

2 Answers  


What are the platforms that WinRunner can be used?

0 Answers   TCS,






what is cookies testing and what are the possible test case.

0 Answers  


what is the automation framework?

1 Answers  


What is the purpose of regexp_label property and regexp_msw_class property?

0 Answers  


Tell me the function to move to the next row in a data table?

2 Answers   Accenture, Landscape Technologies,


what is winrunner framework

1 Answers   Covansys,


what is difference between smoke & sanity testing?

19 Answers  


How to fetch a value which is in a particular cell in a html table?

1 Answers   BeBo Technologies,


Categories