Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WebElement("obj").click is not working
#1
Solved: 10 Years, 8 Months, 4 Weeks ago
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
Reply
#2
Solved: 10 Years, 8 Months, 4 Weeks ago
This has been discussed many times, Try searching this forum.

Reply
#3
Solved: 10 Years, 8 Months, 4 Weeks ago
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Click after CheckProperty to a WebElement passed via Function argument fails naruoga 0 1,021 02-28-2019, 11:46 AM
Last Post: naruoga
  Unable to click on dynamically changing webelement preeti 0 1,689 04-29-2017, 08:50 PM
Last Post: preeti
Exclamation WebElement("WebElement").Click is not working sia sharma 7 23,192 09-28-2016, 08:58 PM
Last Post: supputuri
  webelement click idtestingking 1 3,024 08-13-2013, 12:12 PM
Last Post: tanyamrz
  Right Click On a Image and Click on a Link in WebElement RameshKrishnan 4 5,140 07-10-2013, 04:13 PM
Last Post: RameshKrishnan

Forum Jump:


Users browsing this thread: 1 Guest(s)