I am practicing recording and replaying the script. I recorder the SystemUtil to open the sample flight application, created and inserted an order for 1 passenger.
and clicked on new order button. Now stopped recording.
I need to use data table and add about 4 passenger names and run the script.
When I do this, the script opens 4 seperate flight application and trys to create orders for the passengers.
I dont want it to open 4 separate applications.
How to have all 4 orders created on only 1 application.
Sorry for length explanation [img]/images/graemlins/smile.gif[/img]
Thanks for this tip. It was helpful.
I am basically learning thru the sample flight programs (shipped with qtp)
My requirement :
I have recorded a script for 1 flight reservation with System.Util openning the application, Closing the application after inserting an order.
I wanted to insert a loop inbetween to create 3 reservations (3 names from data_table) before closing the application
I have studied the help file for inderting a Loop.
Went into the expert view and inserted loop function.
THe loop would not take the second name (completes the first)Instead still has the first name, and waits for update order.
How to have loop choose the next name from data_table?