Quality Testing

Quality is delighting customers

What is the difference between an absolute and relative URL in SIDE?

Hi,

In Selenium Tool - What is the difference between an absolute and relative URL in SIDE? 


Can any one reply to this post plz?


Regards,

Usha

Views: 1381

Reply to This

Replies to This Discussion

thats correct
In SIDE.
http://automationtricks.blogspot.com
and
http://automationtricks.blogspot.com/2010/09/how-to-upload-file-in-...
Both are absolute path.

Let say you have set you base URL as http://automationtricks.blogspot.com
and you want to go to other page of it like
http://automationtricks.blogspot.com/2010/09/how-to-upload-file-in-...
or
http://automationtricks.blogspot.com/2010/10/how-to-verify-value-in...

then you dont have to type complete absolute path each time. use relative path like
/2010/09/how-to-upload-file-in-selenium.html
or
/2010/10/how-to-verify-value-in-drop-down-list.html

Once you set the base URL you dont have to pass the same URL for any of the page on that webpage.

First set the base URL in SIDE as http://automationtricks.blogspot.com then run below script.


Let me know if your are still confused or read this blog
http://automationtricks.blogspot.com
open /
open /2010/09/how-to-upload-file-in-selenium.html
open /2010/10/how-to-verify-value-in-drop-down-list.html

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2019   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service