Anchor Base slows my project down find the text position of a string and click the check box

Hi,

While using an anchor base to find the text position of a string and click the check box next to it, it takes 30-45 seconds to click the checkbox. I have tried different waitforready properties, different click properties, check activity, anchor base position, etc. all with the same issue.

I tried restarting the UiPath and the application I use but the outcome is the same.
Uipath Studio Version 2020.4.1 (Enterprise Version)

Regards,
Bala.S

Hello @BALASUBRAMANIAN!

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
Forum_Staff

Hi @BALASUBRAMANIAN,
Any possibility to build click activity without anchor by precising the selector?

Hi @Pablito

I want to select in Return Order Not Received- Don’t Expect Physical Delivery (Check box )

Note: according to user input we have the select the check box

I don’t think so we can able to do by click activity.

Please find a screenshot for reference

image

Regards,
Bala.S

If it’s the website form and have proper classes defined I think there will be still way to make it without an anchor. But it’s hard to prove it as I don’t have a way to see it.

Hi @Pablito,

It is a website form only

It has a common class but every time his IDX is changing According to user input and if you want i can share my screen for your better understanding

image

@BALASUBRAMANIAN… Give it a try by inspecting element on your browser… If you find any unique property for that Check box add that to your selector… else try with check activity or try with Click text activity…

Hi @ManiPrajwal_K,

only the IDX is a unique property for the check box that also is dynamically for every input

Regards,
Bala.S

Hmm… yes usually idx will be the unique one…
Usually, we have to avoid adding up “idx” to our selector XML fragment. But here that makes the object unique. What element is highlighting if you replace idx value with * (wildcard)?
Another one, If you press enter after typing will it select the box? If yes you can go with type into + keystrokes.

Exactly like @ManiPrajwal_K said. You can check more inside inspect element but what most important you can check this selector using UI Browser in Studio and then you have possibility to build selector based on any additional element from previous divs, uls or anything else.

1 Like

Hi @ManiPrajwal_K,

From the UI explore I have take a unique selector.

I have tried with replaced with wildcraft , it is highlighted first available check box.

image

First available check box you mean “order & delivery” right?

In thay case can u switch the control with “Tab” ?

You won’t want to use IDX in your situation, cause of how they dropdown and how the placement is dynamic.

I suggest looking for a ‘name’ or ‘text’ or ‘innertext’ attribute. You might need to manually type it in, though. Need to see everything you have available though to make a better suggestion.

The right side are attributes you can look over. But, the left side properties can be used as well, I believe.

Hi @ManiPrajwal_K,

By the way, I want to click on the third one “Return Order Not Received- Don’t Expect Physical Delivery”

According to user input, Every time the check box position will change.
ex : in next time it will come to the fifth position bot have to click on the fifth check box

Hi @BALASUBRAMANIAN

Try with css selector

@BALASUBRAMANIAN Have you found any workaround?

Hi @BALASUBRAMANIAN if you go with css selector it will select the particular field based on unique attributes it had

So I suggest to go with css selctor

Hi @NIVED_NAMBIAR,

I have tried with CSS selector but not working

Regards,
Bala.S

Hi @ManiPrajwal_K,

No isuue still persit

Regards,
Bala.S

1 Like

Hi @BALASUBRAMANIAN,

Can you paste the UiExplorer window snap by doing this so that we can help…

  • open UiExplorer and use Indicate on Element and Click on Check box first and use Indicate Anchor and click on the Return Order Not Received- Don’t Expect Physical Delivery

Cheers
@BALASUBRAMANIAN