Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not able to record Compose Mail WebElement from Gmail.com
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Hello All,

I achieve the same one,


Code:
Dim NumberOfEdits, webElementToSearch
webElementToSearch="<B>Compose Mail</B>"
Set oDesc = Description.Create
oDesc("html tag").Value = "B"
oDesc("micclass").Value = "WebElement"
oDesc("innertext").Value = "Compose Mail"
oDesc("outertext").Value = "Compose Mail"
oDesc("innerhtml").Value = "Compose Mail"
oDesc("outerhtml").Value = "<B>Compose Mail</B>"

Set EditCollection = Browser("title:=Gmail").Page("title:=Gmail.*").ChildObjects(oDesc)

NumberOfEdits = EditCollection.Count


For i = 0 To NumberOfEdits - 1
    If EditCollection(i).GetROProperty("outerhtml") = webElementToSearch Then
      EditCollection(i).Click
    End If

Next

Thanks
Mahesh
Reply


Messages In This Thread
RE: Not able to record Compose Mail WebElement from Gmail.com - by upadhyay40 - 11-23-2009, 02:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  GMAIL Object Identification sidqtp 2 3,609 11-08-2014, 10:12 AM
Last Post: vinod123
Rolleyes Urgent help with Gmail Sending mail feature nidhitaneja 2 2,912 03-05-2014, 09:39 PM
Last Post: nidhitaneja
  How To pick up the particular mail in Post Login Gmail page and click on Checkbox akhandesh 0 2,838 12-02-2013, 01:35 PM
Last Post: akhandesh
  Query for configuration of Mail Body section through VB/QTP prasanna.rathinam 1 3,062 09-19-2013, 12:03 PM
Last Post: ssvali
  Object doesn't support this property or method: 'mail.unread Line(2929):"". kotaramamohana 0 2,435 09-28-2011, 06:19 PM
Last Post: kotaramamohana

Forum Jump:


Users browsing this thread: 3 Guest(s)