Hello All. First you spy both the webcheck boxes, I mean read one & unread one, Then judge the property values for DP.
I hope this helps you partially. -- *Warm Regards, Vineeth 9916748196* On 7 August 2012 20:18, sachin mahajan <[email protected]> wrote: > Hi all, > > Can anyone tell me how to tick checkbox of only unread mails in gmail > application. > > I tried with following code ,but didn't work > > a=Browser("title:=Gmail.*").Page("title:=Gmail.*").Webtable("class:=th","html > tag :=TABLE","name:=t").RowCount > print(a) > > For i=1 to 2 > print(i) > Browser("title:=Gmail.*").Page("title:=Gmail > .*").Webtable("class:=th","html tag :=TABLE","name:=t").Webelement("Class > Name:=WebElement ","html tag:=B").Exist > Browser("title:=Gmail.*").Page("title:=Gmail > .*").Webtable("class:=th","html tag > :=TABLE","name:=t").WebCheckbox("type:=checkbox","name :=t","html > tag:=INPUT").Set "ON" > > Next > > > Please help me........... > > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
