I am trying to automate a web page which has about 50 select buttons and here's an example
<input type="button" value="اختر" onclick="javascript:__doPostBack('ctl00$ContentPlaceHolder1$GridView1','Select$2')">
The part which is 'Select$2' is what changes from a button to another .. How can I specify the xpath of such a button? I could select all the buttons using this
//input[@type='button']
But I would like to select specific button.