Typing in the wrong field,

My bot interacts with the incorrect field since the fields in this app are near to one another and share similar characteristics. It enters the right value for the accounting period, but it types the treaty value under the accounting period. Please assist


Hi @pabaleloh,

Can you share the selectors used for both accounting and treat one?

You will need to ensure they are being referred differently. In my view, as its a table, most likely , tableRow would change for both of these, so ensure to include that attribute in your selector, otherwise it will by default go to accounting.

Use uiexplorer and explore its selector attributes, should help you find the attribute which differentiates between treaty and accounting.

Regards
Sonali

I think Using Anchor Base in UiPath, Using an Anchor ensures that the bot inputs the value into the correct field, especially when the fields on the screen are very close to each other and share similar characteristics.

Anchor Base will help the bot to find a more stable reference element (anchor) and then input the value into the target element, even if it is near another similar element. By using an anchor, you can ensure that the bot enters the value in the correct column or field.

Regards

Hey @pabaleloh okay so you are working with classic activity .so instead of simple using type into use achor base activity and inside that use find element and Look for attributes like name, id, aria-label, automation-id, or even text open uiexplorer and look for that kind of selectors.also enable the wait for ready-should be complete and enable the simulate.
cheers