Micro Focus QTP (UFT) Forums
webelement click - 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: webelement click (/Thread-webelement-click)



webelement click - idtestingking - 08-12-2013

i can't able click the web element.
Code:
Browser("name:=FMS - Login").Page("title:=FMS - Login").webelement("x:=276, y:=132").Click()

i'm using qtp10 and browser 9. it's kind of menu drop down. when i used object spy and checked its property. it is showing as web element using the property i tried a lot it is not clicked. please help me. Sad


RE: webelement click - tanyamrz - 08-13-2013

Hi,
there is syntax error in the above code, for using multiple identifiers please use double quotes "

Code:
Browser("name:=FMS - Login").Page("title:=FMS - Login").webelement("x:=276","y:=132").Click()

Thanks
-Tanya