09-07-2009, 11:05 AM
I doubt the applicationis not open at the time you are running your script, thats why the error is
Can you check the following,
1. you have open flight reservation application after launching QTP
2. you have object there in the repository
also can you try this in your script and let me know
Can you check the following,
1. you have open flight reservation application after launching QTP
2. you have object there in the repository
also can you try this in your script and let me know
Code:
msgbox Window(Flight Reservation).Exists