A
Arti Singh
Can I use uri to get the URL Of a web page?
I am opening a webapge by clicking on a link and I am flipping to this
new window after I have gotten the handle, I attach to the window after
attaching to this window, I want to use rio to save the webpage to a
file since I need to check it. I can not depend on having a static URL
since the system under test generates URLs dynamically
1 $ms=Watir::IE.attachtitle, htmlemailname)
2 rio($ms)>rio("C://TestResult//index.html")
Line 2 fails cause I think that rio wants
rio("www.webpage.com")>rio("C://TestResult//index.html")
Is there any way to get the URL of a webpage once it is opened?
I am opening a webapge by clicking on a link and I am flipping to this
new window after I have gotten the handle, I attach to the window after
attaching to this window, I want to use rio to save the webpage to a
file since I need to check it. I can not depend on having a static URL
since the system under test generates URLs dynamically
1 $ms=Watir::IE.attachtitle, htmlemailname)
2 rio($ms)>rio("C://TestResult//index.html")
Line 2 fails cause I think that rio wants
rio("www.webpage.com")>rio("C://TestResult//index.html")
Is there any way to get the URL of a webpage once it is opened?