Thursday, February 7, 2013

QTP unables to identify pop up window


There are couple of scenarios where we perform some operations in a application, where a pop up window will appear like:
1. When you delete a user/emp, it will display a pop up saying "Do you want to Delete the user?"
2. You choose some pop up menu option, then a pop up window may be displayed with the selected items functionality.

For sometimes, even though you have the correct recorded script, it may throw you an error saying the object does not exist.

Ex: B("XYZ").Dialog("Delete User").WinButton("Ok").click    may throw error saying "Object not visible".

How to overcome this error?

Cause: The "visible" property of the Parent object may not enabled.

Solution: Goto Tools -> Object Identification -> Choose Environment type -> Choose the object class(in our case Browser is the parent to the Dialog box) -> Click on Add/Remove property -> select "visible" property.
After visibility property is configured, now re-record the steps.

Now QTP should be able to identify the pop up window.

2 comments:

Kaashvi mohan said...

A nice article here, i think that people who have grown up with the idea of using computers are showing more responsibility towards writing posts that are thoughtful, do not have grammar mistakes and pertinent to the post..
3D printing companies in Chennai
3D printing service Chennai
3D printing service in Chennai

zaferzalesky said...

Borgata Hotel Casino & Spa - DrmCD
Results 1 - 16 of 1131 의왕 출장샵 — Find 강릉 출장마사지 out why Borgata Hotel Casino & 안성 출장마사지 Spa has a very good reputation 양산 출장샵 as a one-of-a-kind entertainment venue offering over 1200 slot and 남양주 출장샵 video