Micro Focus QTP (UFT) Forums
How to identify hidden objects - 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 hidden objects (/Thread-How-to-identify-hidden-objects)



How to identify hidden objects - shinoj123@gmail.com - 07-26-2015

Hi,
I am trying to automate the login process for the below webpage.
www.photobucket.com

I am unable to find the Username webelement under Login link in the above web page while recording/spying.
Can someone help me find the object, please?

Will I be able to hover over the object, check if the username box is existing and then set the login id in the username box? I am unable to put that in a piece of code.


RE: How to identify hidden objects - ADITI1992 - 09-13-2015

try with this:

Code:
val=Browser("name:=.*").GetROProperty("name")
print val
Browser("name:="&val).Page("title:=Photo.*").WebEdit("name:=username").Set "random"