How to choose which button to click in a list
-
Hello Allan
I'm new to openRpa. I am trying to create an automation for filling and changing some values inside and ERP, that runs in chrome.
I'm facing some difficulty in identity and make a decision of which button to click.
I need to choose one of this buttons below according to an information that's in an excel table.For example: if in the excel is informed that we must to access the filial "200", how can I make a decision three that can find the button "200" and click on it ?
In addition, do you have any kind of training course with the step by step of openRPA ?
Thanks in advance
Everton Endres -
Hi, sorry for the late reply.
A low key solution would to add an a few if statements depending on filial and add a click for that button .. but if you have many buttons that is not going to be feasible.- You can grab each button and compare the value with what you need. ( use get element with max items to something high )
- If each button has something unique related to the filial, then you can inject variables into selector using {{ }} to just get the one you need.
So if you save filial into a string variable called filial then you can update the selector and use that value as {{filial}}
-