I have a screen where i need to click one or two records hyperlink but based on the variable that i set it.
For example;
The web page have two rows of data with hyperlink
Column A
Link 1
Link 2
Whenever i run the automation, this page will read the variable and will click either Link 1 or Link 2 based on the variable ive set in.
The problem is, i dont know how to do it.
I try to set selector like this
, but Activity Click still hit an error. i try to do some suggestion from forum , and still havent find the solution.
You need to make sure no other dynamic attributes are there in the selector.
If the aaname is a valid attribute then the selector which you have provided is correct. Better to share the full selector here.
i set the variable as strLimit=“ABC” as string
then inside selector i just put the variable inside aaname. but when u try to validate it still give an error saying it is invalid.
@user123mem did you right clicked and selected the variable or manually entered? Can you try to right click and click on variable and select the variable from there.