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
Explain the purpose of gui map configuration?
Explain the purpose of different record methods?
Hiiiiiiiii This is lavanya.....At present i m working as a MATLAB developer at CMC(A tata enterprise)from about1 year .now i want to move to testing field as a fresher?Is this possible...can anyone give me a suggestion regarding d testing field.....
How to force wr to learn the sub-items on a menu?
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.....
What is the XML test cases creation?
Where do you found that you can't use winrunner for automation?
What do you verify with the gui checkpoint for single property and what command it generates, explain syntax?
Where did you learn winrunner and testdirector?
How do you make the configuration and mappings permanent?
What do you verify with the sync point for object/window bitmap and what command it generates, explain syntax?
What is the purpose of a gui spy?
What is the purpose of regexp_label property?
How do you suppress a regular expression?
what is the testing high level architecture