How to click download button on specific text

Hello Everyone,

I have to click download icons which showed in image but there are similar icon but there is a column name as file name so i have to click download ocon where is the written Invoice Copy fron of icon so how i can do that and Invoice copy is editable not fixed.

Thanks

Click image classic activity is there you can use that

@suraj_gaikwad

Can you show some screenshot…click image is present in modern as well…but i believe there would be a better way too…we can suggest if you can show some screenshots

you can try checking the selector in ui explorer and find a unique one as needed

cheers

I tried both Modern, and click with anchor but I’m not able to get selector. invoice Copy

@Anil_G @jast1631

@suraj_gaikwad

you can use something like this

it looks like a table so

<webctrl tag='td' tablecol='1' innertext='Invoice Copy' />
<nav up='1' />
<webctrl tag='td' tablecol='5' />
<webctrl tag='button' name='download' />

the above is for illustration actual might differ a little…but idea remains same

Also its a table so you can use extract table data and then get the row number of invoice copy use it in the selector to click on download

cheers

Hi @suraj_gaikwad

Can you try with For each ui element activity

Regards,

Let me try

@lrtetala
@jast1631 @Anil_G

@suraj_gaikwad

  1. Tablerow should not be used as it can be on any row
  2. nav up means it will go one level above current selection and will try to see the child
  3. so basically what I wrote above is a combination of selector for column 1 using which column5 is identified usign nav up

As Per selector thsi is what you can use

<webctrl tag='input' tablecol='1' innertext='Invoice Copy' />
<nav up='2' />
<webctrl tag='td' tablecol='5' />
<webctrl tag='IMG' />

cheers

Issue resolved by used table extraction then for each row in data table the n getting each row once the invoice copy match then it’s clicking at right icon.

But i want try in single activity

@lrtetala @Anil_G @jast1631

Thanks guys

1 Like

@suraj_gaikwad

please check the above comment with sample selector

cheers

Hi anil
Above selectors is not working.

@Anil_G

Thank you

1 Like

I hope you’re working in modern, you should be. Then it’s easy to use an anchor to indicate the text next to the button.

That will work but it’s a lot of extra steps when all you really need to do is use an anchor.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.