Navigation

    OpenIAP

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

    How to give xpath a dynamic variable?

    General Discussion
    xpath dynamic variables
    2
    5
    93
    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.
    • Z
      zesen.m last edited by

      I need to type the excel's datas into a webpage table. And I use the foreach row to do this, the first row is perfect, but how can I type into the rest rows. I have tried to give a variable in selector's xpath. And it not work. Can't us using the wildcard or dynamic variable in selector like Uipath?

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

        You can use * and ? for wildcard
        You can use {{myvar}} for variables

        Z 1 Reply Last reply Reply Quote 0
        • Z
          zesen.m @Allan Zimmermann last edited by

          @allan-zimmermann Thank you, Allan. It is work. And why do we need to use the format {{}} to pass the parameter? I confuse about it.

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

            Had to use something. So i decided on {{ }}

            Z 1 Reply Last reply Reply Quote 0
            • Z
              zesen.m @Allan Zimmermann last edited by

              @allan-zimmermann Got it. Thank you.

              1 Reply Last reply Reply Quote 0
              • Locked by  A az 
              • First post
                Last post