i'm performing a testing on a application where i need to test navigation of pages, on all the pages has 10 requests and every request has a view button, now i want to verify the data in every request which will be availbale to see after clicking view button but since there are more than one view button i have to first distinguish the view buttons in order to insert looping for verifing the data of all view buttons..
hope you understand the problem please reply me as soon as possible.
As Sathish804 suggested, use the find method. Check the buttons to see what properties they have. I seen situation in which the objects have the same IDs and Name but look at the values and sometime classIndex could have to distinguish the objects.