Navigation

    OpenIAP

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Dynamically select branches from list

    General Discussion
    2
    7
    38
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rpa mlpcare last edited by

      Hello,

      1.png
      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?

      2.png

      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?

      5e42bd7d-563c-4de7-9ad6-992cb775dd12-image.png

      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.
      1b455e32-8999-4d84-9fcd-5148e0b83112-image.png

      Allan Zimmermann 1 Reply Last reply Reply Quote 0
      • Allan Zimmermann
        Allan Zimmermann @rpa mlpcare last edited by

        @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 1 Reply Last reply Reply Quote 0
        • R
          rpa mlpcare last edited by

          @Allan-Zimmermann
          I defined a variable for the branch name and making it dynamic.
          5ecfaf00-211d-4538-afd3-4604999faf93-image.png

          Even though it clicks, it gets an error like this. "# The argument reason is null or empty."
          0e857af7-2a57-4af2-9060-5079718f3161-image.png
          9a8ffe35-a5d8-46ca-9f8b-f6103ba2095d-image.png

          1 Reply Last reply Reply Quote 0
          • R
            rpa mlpcare last edited by

            @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.

            Allan Zimmermann 1 Reply Last reply Reply Quote 0
            • Allan Zimmermann
              Allan Zimmermann @rpa mlpcare last edited by

              @rpa-mlpcare Could you please answer my original questions ?
              It makes no sense focusing on using dynamic selectors if it does not work without ....

              R 1 Reply Last reply Reply Quote 0
              • R
                rpa mlpcare @Allan Zimmermann last edited by

                @allan-zimmermann

                may I have overlooked your original question? Could you please ask again?

                1 Reply Last reply Reply Quote 0
                • Allan Zimmermann
                  Allan Zimmermann @Allan Zimmermann last edited by

                  @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

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post