Hi Ankur,
In your article "How to create a table check point?"
The loop for checking No.of Unread mails is not very clear in the video...
I was struck up with creating loop to check for Unread mails...I am wrote <<>>> is it correct method??
for my code below its not giving Unread mails count...
<<<<
>>>>
Can you please check where I am wrong?
Thanks,
Akhila
In your article "How to create a table check point?"
The loop for checking No.of Unread mails is not very clear in the video...
I was struck up with creating loop to check for Unread mails...I am wrote <<
Code:
("Inbox").getroproperty("rows") = "Unread"
for my code below its not giving Unread mails count...
<<<<
Code:
rows = Browser("Inbox (34) - Yahoo! Mail").Page("Inbox (34) -Yahoo! Mail").WebTable("Inbox").getroproperty("rows")
For i = 2 to rows
Browser("Inbox (34) - Yahoo! Mail").Page("Inbox (34) - Yahoo! Mail").WebTable("Inbox").getroproperty("rows")
If Browser("Inbox (34) - Yahoo! Mail").Page("Inbox (34) - Yahoo! Mail").WebTable("Inbox").getroproperty("rows") = "Unread" Then
counter =counter + 1
End If
Next
msgbox counter
Can you please check where I am wrong?
Thanks,
Akhila