suppose my page contains two web buttons submit and cancel. while recording if i click on submit, i cannot change that to cancel in expert view after recording, it says cancel webbotton object was not find in the object repository.
same thing happens for the links also.
can anyone tell how to identify all web buttons irrespective of clicking on them...
Re: how to idetify changing no. of objects on a page
If u r using QTP 6.5 ..u can easily add it using Tools - > Object Repository dialog-> Add New Object . Select this option ....
Point to any object on the Page. In the Object selection hierarchy, select the Page object and int he Next popup opt for "Selected object and all its descendants".
This will identify all the objs. of the page into the Repository..so that u can work on any object on the corresponding page.