Studio X Chrome Targets and anchors

Hi all,
I am looking into Studio X to see if I can create a simple robot that would open our planning software (web based) and set up my planboard each morning. As it’s web based it typically takes a few minutes to do, I figure I can be busy doing something else. Also, its a simple proof of concept for RPA, or so I thought.

My issue is that the planboard is split into 3 sections. Top section is unplanned work, middle section is planned work and bottom is various resources.

To select what you want to see you pick from the drop down. When data returns into a kind of table or datagrid, you can then filter on the headers.

In the top section I am not filtering, but I need to filter on the Department in the middle section but both the top and middle sections have a column called Department.
Also, these columns orders can be moved around and I am trying to solve this for many users to introduce RPA as a tool for all. A robot for Everyone. :slight_smile:
I think I cannot rely on image view as I cannot guarentee other users will have the columns in the same order as myself.
I am trying to use target and anchor to latch on. I thought I had cracked it but I am now left to wonder how does target and anchor work?

I set the target as the field for Department. Its anchors were 2 drop downs one row below and to the left a few columns and a second anchor also one row below but a few columns off to the right.

It validated. Great. I saved and ran it… It failed to find… On edit this time it was showing 2 options despite validating first time round!
One of the options were in the top section. But here is what is weird. In the top the Department field has a drop down one row UP and a few columns left and a second drop down still one row UP but a lot more columns to the right.

So my set up for target was in the middle with an anchor a few columns left and right, 1 row down.
But it finds a potential target with 2 anchors 1 row up and a lot of columns off to the side.

I had assumed the anchors were being read for what they looked like, contained etc. But more specifically I had assumed the anchors had defined the pattern. Where they are in relation to the target.
How then does it find a target when the anchors are now above it when they are supposed to be below it?

So to my actual question… How does anchors work? What is their role in defining the location of the target, if as in my experience it does not matter if it finds anchors above or below.

So far, I have no joy in getting this to work as I cannot make the bot identify the correct field to filter on.

Any guidance would be appreciated.

Hello @steve.walls!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

  5. Meet us and our users on our Community Slack and ask your question there.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly