Click a button which depends variable

Hello everyone,

I have a variable which may contain 5 different values, and ı need to use that variable to click specific button. When ı use click activity, selector can’t seperate the button values like rows. I think ıts because of website’s format. Is there any way to do it properly. Waiting for your answers ! Thanks.

@arif_samet_ipek,

Use Select Item activity.

Give the variable as vale to select. Like this

Thanks,
Ashok :slight_smile:

1 Like

@arif_samet_ipek

Use select item activty.In the dropdown you got all values.Then pass your variable.

1 Like

Hi @arif_samet_ipek

Use the Select Item activity, and pass the variable which contains the Value.

Hope it helps!!

1 Like

in general it is about selecting an item from a dropdown

  • usually done with select item

But:

  • HTML dropdowns can come along also in variations like:
    • text input field + datalist
    • OR: Webkit Constructs

So when to adress the latter mentioned variations we can do:

  • Click - expanding the drop down
  • Click - click on the item

For the second click we can use a dynamic selector:

1 Like

Hie @arif_samet_ipek if it is a dropdown then use the select item activity and inside that pass the value as an example if you want to pass the value of no 5 write 5 on the select item activity… cheers

1 Like

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