fixed, did it recur, is my installation broken, ???
I've coded around it using element.attribute_value() but I really
wanted to use the xpath instead.
--Kevin White
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
5, 3:48 pm, Kevin White wrote:
> Here is a piece of code that doesn't work in FireWatir 1.6.2:
>
> require 'watir'
>
> Watir::Browser.default = 'firefox'
> browser = Watir::Browser.new
>
> browser.goto("http://www.google.com";)
>
> sea
I've noticed that my tests will fail sometimes because Firefox takes
too long to load. For example, I just went to launch a test for the
first time this day, and I received this error:
1) Error:
test_08_visiting_direct_links_goes_to_login
(TC_EWWC_StandardBasics_Login_FireFox):
Watir::Exception
I'm trying to test that a web application always redirects back to a
login page if you try to go to one of the application's pages when
you're not logged in.
First, I do:
browser.goto("http://www.pagethatredirects.com";)
Then, I look at the contents of @browser.url and I get "about: blank",
whi
m" "www.microsoft.com")
sites.each do
|url|
puts "going to website: #{url}"
browser.goto(url)
puts "Browser went to: #{browser.url}"
end
On Mar 26, 10:46 am, Kevin White wrote:
> I'm trying to test that a web application always redirects
quot;
> end
>
> On Mar 26, 8:50 am, George wrote:
>
> > Hi Kevin,
>
> > I did a quick check...I think you just need whitespace, not quotes to
> > separate your data using w{}. You'll also need to use {} instead of
> > ().
>
> > -George
>
>