Here i am trying to delete from inbox 1st email.. But no luck
Any Suggestion will be appreciated.
I have also tried
Code:
With Browser("title:=Gmail.*").Page("micclass:=Page")
.WebTable("class:=F cf zt").ChildItem(1, 1, "WebCheckBox", 0).Set "ON"
Setting.WebPackage("ReplayType") = 2
.WebElement("innertext:=Delete", "index:=0").Click ' gives error here
Setting.WebPackage("ReplayType") = 1
End With
Any Suggestion will be appreciated.
I have also tried
Code:
If Browser("name:=Gmail.*").page("Title:=Gmail.*").webtable("class:=Bs nH iY").Exist Then
Browser("name:=Gmail.*").page("Title:=Gmail.*").webtable("class:=Bs nH iY").Webtable("class:=cf gJ").Image("class:=hA T-I-J3").Click
' Click delete this message on the fly out
'below line of code doesn't work
'Browser("name:=Gmail.*").page("Title:=Gmail.*").webtable("class:=Bs nH iY").webelement("class:=cj", "outtertext:= Delete this message").Click
End If