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 the function key to toggle a breakpoint

1 Answers  


How do you suppress a regular expression?

0 Answers  


what is the use of _set_window in winrunner?

11 Answers   Wipro,


what is the extension of default,custom check points ?

2 Answers   FCG,


how can u do web testing?exactly what is the process for web testing?

1 Answers   IBM, Keane India Ltd,


In my application I was supposed to test two columns.The first column1 belongs to one module and the other column2 belongs to other module.The content in both the columns is same.I supposed to check whether the data present in the column1 is same as the one in column2. Each column contains number of rows.So checking each row manually is diificult.Is there any option available in WinRunner or QTP to check the column data.These two columns are available in Data Base Tables. One way is that I can just number of rows in each column so that I can get rows count of both the columns,but apart from that I was supposed to check whether the data is also same in both the tables. Can anybody suggest me how I can go about this.

1 Answers  


What are the reasons Winrunner fails to identify an object in the GUI?

3 Answers   Bristle Cone, Logica CMG,


Name the two modes of recording?

0 Answers  


How you used WinRunner in your project?

1 Answers  


what is software metrics

1 Answers   IBM,


What is database check points? how many types are there?Explain?

5 Answers   Second Foundation,


Is it possible to run a WinRunner script without using GUI Map file? If yes how?

3 Answers   Relq,


Categories