Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create table a check point? --- Ankur's article
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
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 <<
Code:
("Inbox").getroproperty("rows") = "Unread"
>>> is it correct method??

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
Reply


Messages In This Thread
How to create table a check point? --- Ankur's article - by Akhila - 11-11-2008, 02:32 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  To check table is sortable or not. Zalavadia86 0 1,113 10-13-2016, 06:48 PM
Last Post: Zalavadia86
  QTP standard check point Error? Ramadas 0 2,167 10-31-2013, 01:23 PM
Last Post: Ramadas
  Error Can't Create Data table jsayre 0 2,657 10-01-2012, 11:20 PM
Last Post: jsayre
  Synchronization point vasanthibv@gmail.com 2 3,359 08-08-2012, 05:54 PM
Last Post: pradeep singh
  Synchronization point vasanthibv@gmail.com 2 2,966 08-07-2012, 03:26 PM
Last Post: Tarik Sheth

Forum Jump:


Users browsing this thread: 1 Guest(s)