rsr.chandu
(Rsr Chandu)
October 26, 2022, 10:47am
1
Please find the attached screenshots
I am using click activity to select item , While using Dynamic variable getting like this but variable scope is under For each Row only!
Kindly, Help me out
Thanks in advance
ppr
(Peter Preuss)
October 26, 2022, 11:32am
2
we saw in the past often this(misleading) issue when there was no default value was set for variable
so just go to variable panel and set a defualt value with a value matching your current state from the development / application context
When opening your XAML we saw this:
[grafik]
And clicked on the number variable block from selector;
[grafik]
we clicked on cancel
entered “13” as default value on the variable number on variable panel
checked again on the selector and issue was gone
[grafik]
Maybe the error message is wrong or misleading. But can check similar at your end?
@rsr.chandu
Please check whether any unwanted spaces are there in the variable"value" if yes, you need to remove them using the Trim method before using it in the selector.
YourVariable.Trim
Thanks
hI @rsr.chandu
Can you check whether the variable value is returning any value in message box
Checkout this too!
Hello Everyone,
Checkout this tutorial for knowing about a Dynamic Selector.
What is a Dynamic Selector?
Here are the Steps
In this example i am using a dynamic selector with the text attribute , you can use what ever the attributes based on your project needs
Step1:
Add Assign Activity and use the text in which you need to use in your dynamic selector
[image]
Step2:
Open UI Explorer in Click Activity or any that represents a action in the ui element and indicate on screen and check…
Regards
Sudharsan
Gokul001
(Gokul Balaji)
October 26, 2022, 12:35pm
5
Hi @rsr.chandu
Check out the Uipath Official documentation
A dynamic selector uses a variable or an argument as a property for the attribute of your target tag. This allows the selector to easily identify a target element based on the value of the variable or argument, and not an exact string, which might...
Regards
Gokul
And also check that the value variable is duplicated in the variables panel like this @rsr.chandu
Regards
Sudharsan