I am creating a process that read the excel data and check if the payment is available on the website. If the payment is available, it should tick on the entry box of the payment. I tried creating a dynamic click selector to click on the box of payment that matches the payment total and reference with the one on the excel. I am struggling. If anyone created an AS2 payment process, please let me know.
Show us the selector you’re using.
Also, you should use the Check/Uncheck activity not Click, if it’s an actual checkbox.
So have tried check/uncheck activity but it’s giving me that error. I am still new to UiPath and I am really struggling to create dymanic selector i think. Am practising on creating a process that check for a number from excel and check the column
Check Box Robot.zip (17.1 KB)
Kindly check my process. I am actually trying to create a process that checks for more than one thing, only that I can’t find the website to practice on that can check and uncheck. like total amount, reference number and company name
First as it is span check/uncheck might not work…but can still try…if does not work then try with click
Now coming to selector use something like below and also do this in strict selector
<webctrl tag='span' aaname='{{variblename}}' />
Assign your currentrow(“Columnaname”).ToString to variablename
Cheers

That is not correct. Copy the selector and paste it into notepad. You’ll get this…
"<webctrl aaname='currentRow("e;RankNumber")' tag='SPAN' type='' class='aDTYNe snByac n5vBHf OIC90C' />"
Change it to this…
"<webctrl aaname='" + currentRow("RankNumber").ToString + "' tag='SPAN' />"
And paste it back into the selector property of the activity. Notice I took out class. You generally should not use class in a selector as it can easily change on the page.
Thank you so much @Anil_G and @postwick . I managed to get it through. But I need help still. I wish there is a website to illustrate what I want to ask. Hope you will understand. How do I verify for instance a total amount, reference and account name before ticking in the checkbox.
The one you guys helped me solve was only one instance to verify. How about two or more? I am sorry for taking much of your time to educate from your busy schedule.
Can you be little elaborate…you mean there are multiple things you wnat to access? Then accoridngly the values would change in innertext or also …in ui explorer selector editor center top menu will help you
Cheers
You would use Get Text or some other method to get those values from the screen, compare them against your desired business rules, and then use an If or some other flow control to determine what is done next.
I see now. Thank you so much. That was helpful.
Thank you so much @Anil_G . That was really helpful.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.


