Micro Focus QTP (UFT) Forums
How to identify pop ups in QTP - 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: How to identify pop ups in QTP (/Thread-How-to-identify-pop-ups-in-QTP)



How to identify pop ups in QTP - fariha - 11-24-2008

Hi
I am new in QTP. I wnt to know how i identify pop ups in web pages.

Scenario:-
When i click on login link, login pop up appear.

Recording:-
Code:
Browser("...").Page("...").Link("Login").Click
Browser("...").Page("...").WebEdit("WebEdit").Set "..."
Browser("...").Page("...").WebEdit("WebEdit_2").SetSecure "..."
Browser("...").Page("...").WebButton("...").Click

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

Please provide its solution:

Fariha


RE: How to identify pop ups in QTP - Ankur - 11-24-2008

This question has been asked atleast 20 times on this forum and blog. Use the search box above and you might get the answer.


RE: How to identify pop ups in QTP - fariha - 11-25-2008

I have got the answer from your Forum.


RE: How to identify pop ups in QTP - fariha - 11-25-2008

Your forum is very helpful for beginners.Keep it up.Good work..