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 / 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 |
What is the purpose of Wdiff utility?
I want to do smoke test in my application but i have learnt the application before recording but im getting an error class name not found while running the script.I want to check each links and each text in my application. Can anybody answer my quesion plz.If it is possible i want test script for Yahoo login form with "New User" Login.
WHAT IS THE MEANING OF AUT?
Whole application is taking as single html frame while recording and learning but i want to learn each textbox,text,links whatever the page have.If we click any link in one page that will show another page so i want to learn that pages objects also.I want navigation steps or guidence plz
what is the default mode of executing TSL Script
Difference between actions and functions
In WinRunner Compile Module doesn't support checkpoints Why?
Explain data parameterization in winrunner?
What is the difference between STATIC FUNCTION & STATIC?
how u can crate a database checkpoint in ur script?
What are the virtual objects and how do you learn them?
how do to stop the functionality of UDF