Micro Focus QTP (UFT) Forums
WebElement("obj").click is not working - 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("obj").click is not working (/Thread-WebElement-obj-click-is-not-working)



WebElement("obj").click is not working - Swethar - 01-19-2011

Hi Friends,

I am new to QTP. Practising it by automating gmail.

I encountred below porblem, please help me in this regard.

I would like to click on compose mail button available in gmail to create new mail. Wrote below code, but while running QTP doesn't click compose mail webelement.

Code:
Browser("Gmail - Inbox(1781)-").Page("Gmail - Inbox(1781)-").Frame("name").Webelement("Compose mail").Click

QTP is identifying the object without any problem, but does not perform the above step.

Please let me know how to troubleshoot this issue.

Also, Can we identify multiple browser with single object (without using DP). For Gmail QTP is identifying two browsers
one as Browser("Gmail: Email from goole")
and other browser as Browser("Gmail - Inbox(1781)-").

Is there a way using one object in ORwe can identify these two browsers

Thanks,
Swetha


RE: WebElement("obj").click is not working - Saket - 01-19-2011

This has been discussed many times, Try searching this forum.


RE: WebElement("obj").click is not working - amitspandey - 01-20-2011

Hi,
ur OR has learned the browser as: Browser("Gmail - Inbox(1781)- and Page asTongueage("Gmail - Inbox(1781)-").

these valus might have changed thats why ur facing this issue.