03-31-2008, 12:10 PM
You can check if the window "Flight Reservation" exists. If it does not then just exist the test.
Sample test code
Sample test code
Code:
If NOT Window ("Flight Reservation").Exist(5) then
message = "dialog 'Flight resrvation' is not displayed after 5 seconds"
exittest(micFail)
End If