Micro Focus QTP (UFT) Forums
Problem in Playback - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Problem in Playback (/Thread-Problem-in-Playback)



Problem in Playback - alok.mahajan - 08-25-2008

Problem in Playback

Hi, i am recording an application and when i play it back it doesn't work properly

!)I open my web based application
2)It has 2 panes right and left
3)when i click on a node in left pane corresponding image opens in right pane
4)on right clicking the image a context menu opens
5) clicking entry on context menu open a window corresponding to entry selected in context menu

So i record the above procedure using qtp
When i play it back QTP doesnt perform action associated with click of context menu i.e s5

and throws the following error


Cannot identify the object "Window" (of class Window). Verify that this object's properties match an object currently displayed in your application.

Kindly reply


RE: Problem in Playback - myqtp - 08-26-2008

Hi Alok,
I've noticed this happens when -
1. Your application has changed between the time you recorded and the time you playedback.
2. The objects are not named properly or its properties are not captured referencing any form of identifying that particular object.
3. There could be many more reasons I'm not aware of.

Try to add the Object Properties that you think might help in recognising the object.