10-07-2008, 01:34 AM
sample flight application (only login part)
with some data in the Action sheet of data table
like
AgentName Password
Agent1 mercury
Agent2 mercury
Agent3 mercury
This works for Global sheet and behaves different for Action sheet.
Thank you Ankur
Goldy
Code:
invokeapplication "D:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe"
Dialog("Login").WinEdit("Agent Name:").Set DataTable("AgentName", dtLocalSheet)
Dialog("Login").WinEdit("Agent Name:").Type micTab
Dialog("Login").WinEdit("Password:").Set DataTable("Password", dtLocalSheet)
Dialog("Login").WinButton("OK").Click
Window("Flight Reservation").Close
with some data in the Action sheet of data table
like
AgentName Password
Agent1 mercury
Agent2 mercury
Agent3 mercury
This works for Global sheet and behaves different for Action sheet.
Thank you Ankur
Goldy