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

Where exactly testing comes in to picture in S.D.L.C?

5 Answers   TCS, HP,

How to find the local host name using winrunner ?

0 Answers  

what is the difference between unit testing,integration testing and interface testing?

4 Answers  

What is GapAnalysis? i am not getting the coorct answer for this question still now.

3 Answers   Semantic Space,

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

0 Answers  

How many recording modes are provided by WR?

1 Answers  

i this is priya speaking, any 1 tell me project detail for NETBANKING and HELTHCARE pls send to this E-MAIL ADDRESS; ( qik, thank u once agajn.

0 Answers  

What is Diff. between Pause() ,report_msg() statements?

6 Answers  

How do winrunner connects to SQL database and what option is use?

3 Answers   SPC Systems,

whats spiral testing. give example

1 Answers  

How to carry out manual testing for a background process which does't have any user interface

1 Answers  

1,You have scripts in Qtp8.2 and some scripts 9.0 to handle ?

2 Answers   Ness Technologies,