Forum Discussion

NisHera's avatar
NisHera
Valued Contributor
10 years ago
Solved

Result on page.URL

Hi ,

When I get result of "Sys.Browser.Page("*").URL"

It returns " http://localhost/....." since web server is in my local machine

How can I get result somethin like  http://mycomputername.my website.com.../.."
  • Hi Nishnatha,

     


    The URL property returns the page address specified in the browser:




     


    Thus, you need to open the page by using the URL you want to see in your test.


     

1 Reply

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)
    Hi Nishnatha,

     


    The URL property returns the page address specified in the browser:




     


    Thus, you need to open the page by using the URL you want to see in your test.