Dynamically select branches from list
-
Hello,
When i click on the button named "MerkezDB (1)" in the 1. screenshot, a list of branch names opens in the 2. screenshot. I cannot click on any branch name in this list.Can you help about this situation?My first method: I selected the relevant branch from the Selector tree structure. However, I had a problem when I was making dynamics in this way because it wanted x and y coordinates as input. How can I make the click action dynamic?
My second method: I wanted to take the x-y coordinate of the branch I want to click and give these values as input to the click activity. However, the coordinate values are empty.
-
@rpa-mlpcare
first method) But does it work "static"/with a hardcoded selector ? can it find and click a branch ? If that works, we can proberly find a way to make it dynamic after. For instance if you change 161 to something else, does that represent a branch ? are those numbers static, if you restart the application does each branch still have the same number ?second method) You lost me completly here, how is this a different method ? It looks like you got a specific item already ?
First of all, when you add Click Element inside an get element, it will always click that element. And ONLY when using "virtual click" set to false does cordinates matter, and in that case those are RELATIVE to the element it's clicking ... so normaly 5 for X offset and 5 for Y offset is fine ... -
@Allan-Zimmermann
I defined a variable for the branch name and making it dynamic.
Even though it clicks, it gets an error like this. "# The argument reason is null or empty."
-
@Allan-Zimmermann What solution would you suggest for this?
I experience the same situation at other steps of the process. "# The argument reason is null or empty." is getting error. -
@rpa-mlpcare Could you please answer my original questions ?
It makes no sense focusing on using dynamic selectors if it does not work without .... -
may I have overlooked your original question? Could you please ask again?
-
@allan-zimmermann said in Dynamically select branches from list:
does it work "static"/with a hardcoded selector ? can it find and click a branch ? If that works, we can proberly find a way to make it dynamic after. For instance if you change 161 to something else, does that represent a branch ? are those numbers static, if you restart the application does each branch still have the same number ?
this