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

What is the purpose of the temp GUI map file?

710


Explain the use of test director software?

617


what is the difference between toggle checkpoint and checkpoint?

4278


What is toogle breakpoints? How does it differ from break points?

1818


What is the difference between writing a function and writing a script?

774






Why don’t we normally load the gui maps through start up scripts?

643


How you integrated your automated scripts from TestDirector?

650


Name the two modes of recording?

623


What do you verify with the database check point custom and what command it generates, explain syntax?

630


write a compilemodule function for loginscreen.

1700


What is parameterizing?

652


How should we write and execute a user define function using WinRunner.

1646


What information is contained in the checklist file and in which file expected results are stored?

696


wat is the d/b windows 95&98&xp?could anybody give reply ?

1854


What is the usage of Test case Design Techniques,in Integration/System Testing?

2001