Forum Discussion

Naynab's avatar
Naynab
Occasional Contributor
12 months ago

Regarding URL change in Existing keyword recording

Hi,   Recently our applications URL has been change little bit so we would like to change it with new one and use the existing recording. How do we change or update the URL in existing recording of...
  • Marsha_R's avatar
    Marsha_R
    12 months ago

    Create a variable that holds the URL that you need. Use that variable in the keyword test instead of the actual URL. If you give me an example of a keyword test where you use the URL, I can show you how to change it.

  • Marsha_R's avatar
    Marsha_R
    12 months ago

    create a variable called URL and assign it your new value

    in your Operation Parameters, for the URL entry, use the three dots at the end of the Value box to choose this variable instead of entering the URL itself

    your test will now pull the value from the variable to use as the URL

     

    do this everywhere you use the URL in your tests and you will only ever have to change the variable value in one place and not in every script