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
Fetching total number of records inside a webtable
|
Please clarify me howz ur pagination looks like is it a drop down or
123456789... after clicking ...11 12 13 14 15 16 Because it is bit hard way to count records using pagination for the above html view.
Hi,
By default the pagination is in 1 you will get the record count for that page u need the increment the link by 1 and should start the loop again and store the first page and second page link count in a dynamic array... You will get total count of the webtable in all pages. The pagination link will be spyed as webtable try to spy correctly(This is main part of the program) snippet. Code: //For pagination it will act as link //Try use the above snippet and modify hope it works.. Happy scripting |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Best method to use for automating 1000 records | shuhale | 0 | 1,205 |
07-21-2021, 11:42 PM Last Post: shuhale |
|
Read Content inside PDF | kotaramamohana | 0 | 1,288 |
09-02-2020, 05:49 PM Last Post: kotaramamohana |
|
does WebTable Object provides a method to get column number | umer830 | 4 | 13,225 |
07-06-2018, 09:32 AM Last Post: vijaychourasiya0109@gmail.com |
|
![]() |
Find specific records in a SwfTreeView on different node levels | lotos | 0 | 2,483 |
10-06-2017, 05:14 AM Last Post: lotos |
Link in a webtable in a webtable | Soulwalker | 1 | 2,927 |
07-19-2017, 01:44 PM Last Post: Ankur |
Users browsing this thread: 1 Guest(s)