webctrl aaname=‘Adicionar Ficheiro’ parentid=‘dt_FormDocs_divForm’ tableRow=‘2’ tag=‘A’ /
webctrl aaname=‘Adicionar Ficheiro’ parentid=‘dt_FormDocs_divForm’ tableRow=‘18’ tag=‘A’ /
This is what i get when i record the first 2 buttons. The parentid is always the same, what changes is the tableRow and that is a dynamic value that always changes when i refresh the page.
Hmmm I’m no that much into HTML, but you could try make loop and inside the loop with use of Get Attribute activity somehow count how many buttons are listed there, and then press the the one which is needed (like 3rd from the top for example).
I’m using variable called Id_selector to which there are ascending numbers assigned from the table. The table in my case looks like this:
So I know that each element in my password (other words each password letter box) will have Id going like: f0,f1,f2 etc. So I’ve created a table with this, and for each element (row) in table I’m assigning the elements from second column to variable Id_selector and then with use of it I’m getting attribute of each lettex box during loop.