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.
for reference see below image.
Step 1: Open the website “https://www.irctc.co.in/nget/train-search” use open browser activity and pass the URL — see below image for reference.
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 3: use the input dialog box activity to pass the date dynamically. let’s take that value in
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’ />
Conclusion
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.
Pretty! This has been an extremely wonderful article. Thanks for providing these details.|
Very quickly this website will be famous among all blogging people, due to it’s fastidious articles or reviews.