Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

what is qtp licence

0 Answers  


What is the disadvantage of loading the GUI maps through start up scripts?

0 Answers  


How to get the system date and time in winrunner?

2 Answers   Accenture,


What are Optinal Properties and Obligation Properties? please explain in detail.

2 Answers  


hi this is uday iam trying for testing job with 3+ yrs of exp if u have qtp faqs materil plz send me thanks in advance

0 Answers  


in which file Data of a Table is stored for further analysis

1 Answers  


If we send the bug report but the developer didnt understood the bug report then will the tester do?

1 Answers  


What is the purpose of Wdiff utility?

1 Answers  


what is contained in the GUI check list?

1 Answers   FCG,


You declared a constant in a main test..Later you want tried to reinitialize that constant..what will happened? i.e const i=10; -- --- i=20; what will happen?

2 Answers   Accenture,


how many license keys are there for winrunner in your company?

3 Answers   MBT,


If I dont have GUI spy on my machine how I do I manage to map my custom object properties

2 Answers  


Categories