QTP10
IE8
XP
I apoligize for opening a new thread, as I'm just trying to get this datatable understood. I've created, what I hope will be an easier method to explain:
Now here we loginto the flight reservations system and select a rate. We seem to be bound to perform an next step from here. We can use a datatable with multiple signins & passwords.
What I need to be able to do is signin ONCE. Use an App (like to ck the status of a flight, and then another and another (which would be like in a datatable; but I don't want to logout each time.
I've tried to split this action into two, one for login and one for performing the flight; but as it goes through the datatable it wants to log back in. As I said, that was under the action that I split.
This is getting very discouraging.
Overall-once user logs in I want to stay in the App.
IE8
XP
I apoligize for opening a new thread, as I'm just trying to get this datatable understood. I've created, what I hope will be an easier method to explain:
Now here we loginto the flight reservations system and select a rate. We seem to be bound to perform an next step from here. We can use a datatable with multiple signins & passwords.
Code:
ystemUtil.Run "D:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe","","D:\Program Files\HP\QuickTest Professional\samples\flight\app\","open"
Dialog("Login").WinEdit("Agent Name:").Set "cocojava"
Dialog("Login").WinEdit("Password:").Set "mercury"
Dialog("Login").WinButton("OK").Click
Window("Flight Reservation").WinObject("Date of Flight:").Type "111110"
Window("Flight Reservation").WinComboBox("Fly From:").Select "Frankfurt"
Window("Flight Reservation").WinComboBox("Fly To:").Select "London"
Window("Flight Reservation").WinButton("FLIGHT").Click
Window("Flight Reservation").Dialog("Flights Table").WinList("From").Select "11121 FRA 03:48 PM LON 04:31 PM AA $111.00"
Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click
What I need to be able to do is signin ONCE. Use an App (like to ck the status of a flight, and then another and another (which would be like in a datatable; but I don't want to logout each time.
I've tried to split this action into two, one for login and one for performing the flight; but as it goes through the datatable it wants to log back in. As I said, that was under the action that I split.
This is getting very discouraging.
Overall-once user logs in I want to stay in the App.