We will Know about how we use “Dynamic Selectors In UiPath”. UIPath selector is basically a plain text that is used to find a particular UI element among the running applications. It consists of an XML fragment specifying a few attributes of the UI element you are looking for and of some of its parents. In these tutorials, we will know about the dynamic selectors in UiPath.
Take an example. lets a site of Indian railway having a date picker activity then it should select the date dynamically.
Step 2: Click on Date picker button, it will display all the dates. Now select any dates, to do use the click activity in UiPath. Then observe the selectors, as below static format.
Step 4: Edit the above static selectors, let’s make dynamic by using variables that we have a dynamic date.
To change the aaname parameter which is having 10 to “”” + EnterDateNumber + “””
<webctrl aaname=””” + EnterDateNumber + “”” parentid=’divMain’ tag=’A’ />
I hope you liked this article about “Dynamic Selectors In UiPath”. I would like to have feedback from my blog readers. Your valuable feedback, question, or comments about this article are always welcome.