wirtl
(Wirtl)
June 4, 2020, 8:53am
1
Hi, im new to UiPath.
I get an input from the user store it in the variable “desiredYear”
For now the robot should list all amazon orders from a year, requested by the user.
Im stuck by selecting the exact year. The image below shows the div i would like to select. Already tried stuff like 'clickOCRText == “desiredYear” ’ but nothing works.
How to solve the problem?
ppr
(Peter Preuss)
June 4, 2020, 9:02am
2
@wirtl
welcome to the forum
this task is usually done with click or slecet item incase of you can work with selectors
Maybe you can share the link to this dropdown
1 Like
wirtl
(Wirtl)
June 4, 2020, 9:17am
4
So already opened the dropdown. But how to click on a dynamic variable?
ppr
(Peter Preuss)
June 4, 2020, 9:43am
5
@wirtl
currently cannot log in into Amazon, but can you share the selector. Bringing dynamics into the selector
have a look here:
This tutorial will teach you how to easily use variables in your selectors. In other words, we will be making dynamic selectors without the use of the old method of concatenating strings. How cool is that!
For the purpose of this tutorial, I will make 1 click in the Notepad app.
Feel free to also reference our documentation here .
Let’s begin!
1. First, we will indicate the element we want to click on. In this case, it will be File menu in Notepad:
[image]
This results in the…
2 Likes