Micro Focus QTP (UFT) Forums

Full Version: How to see the data of a third page if it has multiple pages
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,
Scenario:
I have 334 results in web page and I can able to see 20 results per page, if I want to see a 302nd result data , I need to perform “ >(next)” button 15 times , does I have any option to go directly using QTP instead of performing 15 times
Please explain with the help of script.
Thanks,
Venkat.Batchu
No, There should not be any alternate way of doing this until unless interface provides facilty of doing so. If there is such thing provided on your page then only it is possible.
Hi,

in your application you might be have ">>" or Last buttons which will navigate to the last page.
OR you might have Page numbers in your web page like 1 2 3 .. same as in google.
Does this means,
1. If i want to see a 302nd data 302/20=15.-->16
2. For page=1 to 16
.click (link name i.e, >>>)
Next
3.Get the second row and second colum from the 16th page data

Is this the way u r telling Mr.King
Please suggest me if i am going in wrong direction.

Thanks,
Venkat.Batchu
Pagination is appearing as like this , i do not have any page numbers i could able to see only previous and next.
Please view the attached screen shot
Yes, you should do in that way only.