Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in RPA by (12.7k points)
edited by

I am new to UIPath tool. please accept my apologies if it's a poor question.

I need to click\sendKeys a web element, which is totally a dynamic element. The ID will keep change for every time when loading the page.

Login 1: <span id="x58Sn0-cnt" class="z-tab-text" uipath_custom_id="8">Update</span>

Login 2: <span id="nT9Tn0-cnt" class="z-tab-text">Update</span>

Note: Also we can't rely on class "z-tab-text" because so many other elements are sharing the same class.

1 Answer

0 votes
by (29.5k points)

I would recommend you to use ' Wildcards'  and IDX, this is because these selectors are used to help out with dynamic attributes. Wildcards are symbols that enable you to replace zero or multiple characters in a string. These can be quite useful when dealing with dynamically-changing attributes in a selector.

Related questions

0 votes
1 answer
asked Jul 4, 2019 in RPA by Abhishek_31 (12.7k points)
0 votes
1 answer
0 votes
1 answer
asked Jul 15, 2019 in RPA by Abhishek_31 (12.7k points)
0 votes
1 answer
asked Jul 10, 2019 in RPA by noah kapoor (5.3k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...