Sunday, 2 September 2012

Initially report button is enabled in flight reservation window and opens reports file


SystemUtil.Run "C:\Program Files (x86)\HP\QuickTest Professional\samples\flight\app\flight4a"
Dialog("Login").WinEdit("Agent Name:").Set "sabeer"
Dialog("Login").WinEdit("Password:").SetSecure "510737345f6c4de59ea286706d40499b4428a037"
Dialog("Login").WinButton("OK").Click
Window("Flight Reservation").WinButton("Button_5").Check CheckPoint("Button_5")
Window("Flight Reservation").WinButton("Button_5").Click
Window("Notepad_2").Check CheckPoint("Notepad_2")
Window("Notepad_2").close
Window("Flight Reservation").Close

No comments:

Post a Comment