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

How to test Fonts and its size thru "Font Expert" in Win Runner.

1812


Which function to use to compare the application date with system date?

1473


What are the three modes of running the scripts?

567


what is mean by release in quality center and who will perfom?

2465


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

1158






How do you execute your tests from windows run command?

1451


Dear all i am new to testing my company using vb.net and we are developing web based application. How i can test those application with winrunner if any one have some good tutorial or link kindly provide thanks u.

1561


How do you copy and move objects between different gui map files?

648


How do u check FONTS in Login Window?

1717


Explain data parameterization in winrunner?

601


what are the differences you see in e-commerce and banking domain in testing point of view Thanks in Advance

1037


by useing qtp where the maximum people feeling difficult

1395


Have you ever created a start-up script?

682


What is the purpose of a gui spy?

704


What all are the different databases winrunner can support?

1479