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

I want to record Compose Mail WebElement from Frame v1, but i tried a lot but i am not able to record Compose mail, even i write some descriptive programming but it shows Frame v1 is not found, i save Frame v1 in object repository, so can anybody please help me out, hoping for cooperation

Thanks
Mahesh
Hello All,

I want to record Compose Mail WebElement from Frame v1, but i tried a lot but i am not able to record Compose mail, even i write some descriptive programming but it shows Frame v1 is not found, i save Frame v1 in object repository, so can anybody please help me out, hoping for cooperation

Thanks
Mahesh
Reply
#2
Solved: 11 Years, 4 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


Possibly Related Threads…
Thread Author Replies Views Last Post
  GMAIL Object Identification sidqtp 2 3,633 11-08-2014, 10:12 AM
Last Post: vinod123
Rolleyes Urgent help with Gmail Sending mail feature nidhitaneja 2 2,943 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,870 12-02-2013, 01:35 PM
Last Post: akhandesh
  Query for configuration of Mail Body section through VB/QTP prasanna.rathinam 1 3,102 09-19-2013, 12:03 PM
Last Post: ssvali
  Object doesn't support this property or method: 'mail.unread Line(2929):"". kotaramamohana 0 2,467 09-28-2011, 06:19 PM
Last Post: kotaramamohana

Forum Jump:


Users browsing this thread: 1 Guest(s)