Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Delete Gmail email
#4
Solved: 10 Years, 9 Months, 3 Weeks ago
Here is one more piece of code and it will surely work ,I have tried on IE7,IE8,IE9.There is only one change from the above code i have added the Webelement Class as ar9.* and index:=1.I hope this will help.

Code:
Browser("micclass:=Browser","name:=Your.*").page("Title:=.*").webelement("class:=ar9.*","index:=1").Highlight
Browser("micclass:=Browser","name:=Your.*").page("Title:=.*").webelement("class:=ar9.*","index:=1").click
Set WShell = CreateObject("WScript.Shell")
WShell.AppActivate "Browser"
WShell.sendkeys("{ENTER}")
Set WShell = Nothing
Reply


Messages In This Thread
Delete Gmail email - by newqtp - 02-13-2013, 03:34 AM
RE: Delete Gmail email - by newqtp - 02-15-2013, 12:10 AM
RE: Delete Gmail email - by newqtp - 02-20-2013, 02:43 AM
RE: Delete Gmail email - by ursgaurav - 06-03-2013, 08:51 AM
RE: Delete Gmail email - by Staff - 07-05-2013, 02:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Send automatic email notification when test run started helmzshelmz 0 937 04-03-2020, 07:54 AM
Last Post: helmzshelmz
  Delete Firefox history and Cookies Anupama 0 1,330 06-18-2018, 11:57 AM
Last Post: Anupama
  How to attach HTML file to Email Naresh 0 2,754 04-06-2015, 02:04 PM
Last Post: Naresh
  How to delete particular mails in Gmail using QTP rajkumarsm 1 3,876 10-06-2014, 07:03 PM
Last Post: rajkumarsm
  How to delete the cookies (1000 records) akhandesh 1 2,515 09-03-2014, 09:57 AM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)