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..?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Have you used winrunner in your project?

600


What is the purpose of regexp_label property and regexp_msw_class property?

677


How to check property of specific icon is highlighted or not?

580


write a compilemodule function for loginscreen.

1696


What are different types of checkpoints?

628






What is the purpose of set_window command?

719


How enviornment veriable can be included into my script. I want to include some information into my Excel file using Test run in WR. like User name of system? waht is function to be used? Please clarify.....

1760


what is qtp licence

1569


how can you explain your Real Estate Project in front of interviewer..? please step by step......

1158


What Framework is suitable to validate the Login screen.

1937


Could you anyone share me the path to download the automation tools which are having trial license version?

1693


What is the extension of gui map file?

736


What is a checkpoint and what are different types of checkpoints?

711


How do you find an object in an gui map.

785


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

628