What should be done when the elements of the page change every time the page is reloaded when using typeinto activity

Learning UIPath and practicing on RPA challenges (Input Forms). On this page, the input fields change positions when the page is reloaded

As you probably guessed, I want to use typeinto, but I’m getting errors because the position hasn’t been fixed

I’m learning Classic UI Automation, so I’m indicating the anchors in the UI Explorer for every type, and the anchor is the label above each field.

What should i do

Hey! Welcome to community!

We can achieve this in the following ways…

  1. Finetune the selectors

Edit the selector and always choose the aaname=‘FieldName’

Example: We’re indicating on the firstname field

the selector should be like this aaname= ‘FirstName’

  1. Use AnchorBase activity in the classic design experience

Use anchor as Find Element and action as TypeInto

  1. Use the Anchor in selector it self … We can set the anchor to that particular field…

You can try any one of the approach even if the field or position of the field changes this will work for sure…

Try any one of the mentioned approach and let me know

Regards,
NaNi

2 Likes

Hi @indiedev91

Welcome to community

Try with Anchor Base

Inside Use Find Element Activity and Type into activity

Look into the thread and Video

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwjr6-a-3Nn5AhWa7zgGHVJHBzwQwqsBegQIBBAB&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D-2dK0B2nD3A&usg=AOvVaw1Cm153ThISJqP8xjW-shel

Regards
Gokul

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.