Hello,
I am quite new to QTP. I tried to record and run the very basic flight reservation application test and i got the following error when i tried to run it.
Cannot find the "Agent Name:" object's parent "Login" (class Dialog). Verify that parent properties match an object currently displayed in your application.
Line (1):
Tip: If the objects in your application have changed, the Maintenance Run Mode can
help you identify and update your steps and/or the objects in your repository.
I suspect it is because QTP doesn't open flight reservation application on starting the run sequence, because it works when i open the flight reservation manually after i click run. My question is...how do i get QTP to open the flight reservation application itself and run the full sequence of steps. Can someone pls help in this regard?
I am quite new to QTP. I tried to record and run the very basic flight reservation application test and i got the following error when i tried to run it.
Cannot find the "Agent Name:" object's parent "Login" (class Dialog). Verify that parent properties match an object currently displayed in your application.
Line (1):
Code:
"Dialog("Login").WinEdit("Agent Name:").Set "agent1"".
Tip: If the objects in your application have changed, the Maintenance Run Mode can
help you identify and update your steps and/or the objects in your repository.
I suspect it is because QTP doesn't open flight reservation application on starting the run sequence, because it works when i open the flight reservation manually after i click run. My question is...how do i get QTP to open the flight reservation application itself and run the full sequence of steps. Can someone pls help in this regard?