Hi rashmi...
call the below line again to reload the object list again after clicking for the link for page number.
reason: qtp must identify objects again after page loading.previous page objects will be different from current one so u need to reload them again.
the solution manab provided will work .. since he is reloading the object list of links in a do while loop.
but it will start giving u prob if there are more page num links.
u can remove the object creation part from the loop.
call the below line again to reload the object list again after clicking for the link for page number.
Code:
Set LinkCnt = Browser("Bro").Page("page").Webelement("elm_PageNos").ChildObjects(oDesc)
reason: qtp must identify objects again after page loading.previous page objects will be different from current one so u need to reload them again.
the solution manab provided will work .. since he is reloading the object list of links in a do while loop.
but it will start giving u prob if there are more page num links.
u can remove the object creation part from the loop.