Mercury Tours: Cannot identify the object "HPE MyFlight Sample Application
I am using UFT 14.0, I exicute Flight API, and HPE myflight sample application (Flight.GUI), When I run the script that shows me an error like "Cannot identify the object "HPE MyFlight Sample Applicatio" (of class Window).
Verify that this object's properties match an object currently displayed in your application.
Line (1): "Window("HPE MyFlight Sample Applicatio").Click 192,220".
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.
Then I run the script in Maintenance Run Mode , but still the problem was not resolved.
You should have made this a separate post rather than a reply as it is completely different from the original post.
You can find the solution here: http://eyeontesting.com/questions/14337/uft-not-recognizing-sample-flight-application-obje.html
Is this a GUI test ?
For FlightsGui you will need to use WPF addin.
Your line :
Window("HPE MyFlight Sample Applicatio").Click 192,220
WpfWindow ("HPE MyFlight Sample Applicatio").Click 192,220
Try to remove it and recorded again, and make sure the object you are using is available in Object Repository ( local or shared)