it may be the difference between "http://www.google.com" and "http://www.google.com/"
if you're typing it by hand each time it's easy to miss that "/" On Jan 13, 5:47 am, Chandu80 <chandu.she...@gmail.com> wrote: > Hi, > When I type in the lines of code as you mentioned,I am able to see the > correct url. > Today I even the code ran without error i.e I am able to attach to the > existing window successfully.However i haven't touched the code or > modified it,so what could be the reason for the change in the results? > > Thanks & Regards > Chandrika > > On Jan 12, 5:04 pm, Krishna saradka <krishna.sara...@gmail.com> wrote: > > > Try printing the URL of the loaded page, just to confirm that the page still > > has the same URL and is not changed on page load. You may print the URL soon > > after the page load to confirm this. > > > urlNew = $ie.url > > puts "URL confirmation : "+urlNew > > $ie = Watir::IE.attach(:url, urlNew) > > > add them before the code > > $ie = Watir::IE.attach(:url, test_site) > > > Thanks & Regards, > > KK > > > On Tue, Jan 12, 2010 at 3:50 PM, Chandu80 <chandu.she...@gmail.com> wrote: > > > Hi, > > > I have checked and found the browser url ashttp://www.google.com. > > > > Regards > > > Chandrika > > > > On Jan 11, 7:49 pm, Željko Filipin <zeljko.fili...@wa-research.ch> > > > wrote: > > > > Did you check that browser url is google.com? When I navigate to > > > google.com, > > > > it actually opens google.hr (because I am in Croatia)? > > > > > Željko > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "Watir General" group. > > > To post to this group, send email to watir-general@googlegroups.com > > > Before posting, please read the following guidelines: > > >http://wiki.openqa.org/display/WTR/Support > > > To unsubscribe from this group, send email to > > > watir-general-unsubscr...@googlegroups.com > > > For more options, visit this group at > > >http://groups.google.com/group/watir-general
-- You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general