i am having two buttons with same name in one page..
i have to click only one button ..
what is the DP for this requirement..
Thanks in advance
use the index property as well
Buy the NEW QTP Descriptive Programming Unplugged Book
** Download QTP Unplugged 2nd Edition eBook for FREE **
The requirement for DP is same as the one for object repository mode.
Find the unique property(which may be be index).
Dont go with precieved notion that DP is very different from normal mode of automation
-- Here to Learn and share ---
Thanks to all
Another way to do this without using the index is using the x and y coordinates to differentiate between the two objects.
Mike Sims J9 Technologies
coordinates are not static for each system.
As said by Tarun the same thing can be tried out as below also:
Set ObjWButton = Description.Create()