[Wtr-general] How to capture current page in a variable?

2005-11-16 Thread Beaton, Malcolm
This is probably a really simple question (but I have only been using ruby/WATiR for 2 days) I am trying to test site navigation to each site portal using an array and an iterative select and go command. (see below) PortalArray.each do | x | puts 'Step 2.'runNumber' : Select ' x

Re: [Wtr-general] How to capture current page in a variable?

2005-11-16 Thread Zeljko Filipin
: [Wtr-general] How to capture current page in a variable? This is probably a really simple question (but I have only been using ruby/WATiR for 2 days) I am trying to test site navigation to each site portal using an array and an iterative select and go command. (see below) PortalArray.each

Re: [Wtr-general] How to capture current page in a variable?

2005-11-16 Thread Beaton, Malcolm
Hi Zeljko Basically I want my browser to 1 pick a site from an array 2 enter it in the drop down 3 press go (Thus loading the portal for that country) 4 verify the correct site loaded I can do all that except 4. So I thought if I can grab the URL from IE I can compare that

Re: [Wtr-general] How to capture current page in a variable?

2005-11-16 Thread Zeljko Filipin
, November 16, 2005 2:28 PMTo: wtr-general@rubyforge.orgSubject: Re: [Wtr-general] How to capture current page in a variable? Hi Zeljko Basically I want my browser to 1 pick a site from an array 2 enter it in the drop down 3 press go (Thus loading the portal for that country) 4 verify