Dear Members,
While assigning the variable in selector in click activity, it is not validating and unable to move on further in execution. Please let me know. Looking forward for this issue to be resolved.
Dear Members,
While assigning the variable in selector in click activity, it is not validating and unable to move on further in execution. Please let me know. Looking forward for this issue to be resolved.
You are using a dynamic selector and it will be validated automatically when you run the process
So run your process and check whether its working or not
Regards
Sudharsan
Hello Sir,
After assigning the variable in the click activity it’s not validating before and even while I run the process. It is reflecting as “Couldn’t find the element for this selector”…
How to proceed further?
Do you able to validate and highlight on the element before adding the variable to selector? @Ram_Shiva_Reddy
Hi @Ram_Shiva_Reddy ,
Could you maybe provide screenshots of your Implementation or of the Selector that uses the variable ?
To Validate the Element using the variable, you could set a Default value for the variable for which it the element is supposed to be Valid.
Let us know some details of the Selector/UiExplorer and implementation.
Hello @Ram_Shiva_Reddy
Welcome to UiPath community…!
Please check the below video to understand how to use the dynamic variable in a selector.
Thanks
This is because the variable doesn’t have a value for it to use to build the selector when validating. Don’t worry about it, it’s expected. Just debug your process and check that the selector works.
2 . Assign the default value of the selector
to that variable in variable pannel and check that that selector is valid or not.
Hope it will be validated.
While this will work, it’s important to note that you may not want to leave the default set. Depends on the process, and having a default value could impact other steps.
No sir. Selecting only particular block its validating and for the rest its not validating.
Can you send the link here? @Ram_Shiva_Reddy
Regards
Sudhrasan
And what do you need to click dynamically? @Ram_Shiva_Reddy
If you are selecting into those blocks
Checkout this workflow which will click on those blocks one by one you can use that click selctor in your workflow and change the name of yours in that selector
Here is the selector
<html app='chrome.exe' title='Mahatma Gandhi National Rural Employment Guarantee Act (MGNREGA)' />
<webctrl tag='TABLE' isleaf='0' idx='5' />
<webctrl tag='A' innertext='{{ClickSelector}}' isleaf='1' />
To be more dynamic you can use wildcard in the title something like
title='Mahatma Gandhi National Rural *'
Checkout the xaml file
DynamicSelector.xaml (12.4 KB)
Hope this Helps!!
Regards
Sudharsan
Hello Sir,
It’s working. Thankyou so much
Thats Great , Kindly like and Mark your solution and close the topic if your issue solved @Ram_Shiva_Reddy
Regards
Sudharsan
Kindly like and make the other post as solution in which i have explained you the steps and shared you a sample xaml @Ram_Shiva_Reddy
Buddy Mark this post which i have quotted, as solution @Ram_Shiva_Reddy
Regards
Sudharsan
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.