Vidya, does the 1,2,3 page links also have a Next link?
I've done something like this in the past
rCount = Browser("X").Page("Y").WebTable("Z").RowCount
While Browser("X").Page("Y").Link("innerText:=Next").Exist
Browser("X").Page("Y").Link("innerText:=Next").Click
Browser("X").Page("Y").Sync
rCount = rCount + Browser("X").Page("Y").WebTable("Z").RowCount
Wend
Mark Smith
On Sunday, May 31, 2015 at 2:56:04 PM UTC+1, vidya Bose wrote:
>
> Hi All,
>
> I am trying to find the total count of records which are displayed inside
> a webtable. The webtable has page number links(1,2,3,....) and i want to
> know the total from all the pages. please help me with the QTP code. Note:
> I tried with rowcount() but it retrieves only one page record not all
> pages. please help...!!!!
>
--
--
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 Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.