Hi,
Greetings.
I have a click image activity which is clicking an arrow to show a drop down list. But here the problem is I have same size arrow 3 place in the screen. and it is clicking to the arrow which I don’t want. How can we set the activity to click on the particular arrow where we want to click?
That may be because there are two matches in your image region. If your variable is IEnumerable<UiElement> then you want to check which element is being detected and clicked on and choose the right element from the IEnumerable<UiElement> variable.
If this is not the case, try @J0ska’s suggestion of using an offset property for clicking, but also ensure you use hover activity just before the click activity.
But why use a hover?
The click image activity sometimes can be really quick and if your cursor is farther away from the target / offset UiPath will just click first before moving the cursor to the correct position. Using a delay is not a good way of handling such failures so a hover activity before the click is a robust way to click on images.
I Tried the offset to bottom left, top left, top right but the click is not at all happening and error also not showing. how can i finds the X,Y axis to enter the offset manually in offset X and offset Y?