Quality is delighting customers
Hello friends,
I make a script & i got a error that is [error] Timed out after 30000ms,i m also set his default to 120000 etc but this error is not resolve by me ,if any one know please help me.
thanks
Tags:
The timeout is generally caused by a WaitForPageToLoad command being fired when no page submission has happened, so there does not need to be a wait.
For example, if you click on a link using selenium, then you will want to execute a WaitForPageToLoad so that the next page can be fully loaded before test execution continues.
On the other hand, if you select an item from a select list, then you should not be executing the WaitForPageToLoad because there is no submission and thus, no need to wait for the next page to fully load.
hello,
i am try to install selenium Rc on my machineby follow this link
http://www.seleniumwiki.com/software-testing/selenium-rc/how-to-ins...
& i got this errorC:\selenium>ruby googlesearch.rb
Loaded suite googlesearch
Started
E
Finished in 1.009 seconds.
1) Error:
test_untitled(Untitled):
Errno::ECONNREFUSED: No connection could be made because the target machine acti
vely refused it. - connect(2)
c:/ruby/lib/ruby/1.8/net/http.rb:564:in `initialize'
c:/ruby/lib/ruby/1.8/net/http.rb:564:in `open'
c:/ruby/lib/ruby/1.8/net/http.rb:564:in `connect'
c:/ruby/lib/ruby/1.8/timeout.rb:56:in `timeout'
c:/ruby/lib/ruby/1.8/timeout.rb:76:in `timeout'
c:/ruby/lib/ruby/1.8/net/http.rb:564:in `connect'
c:/ruby/lib/ruby/1.8/net/http.rb:557:in `do_start'
c:/ruby/lib/ruby/1.8/net/http.rb:546:in `start'
c:/ruby/lib/ruby/1.8/net/http.rb:1044:in `request'
c:/ruby/lib/ruby/1.8/net/http.rb:854:in `post'
c:/ruby/lib/ruby/gems/1.8/gems/selenium-client-1.2.18/lib/selenium/client/pr
otocol.rb:89:in `http_post'
c:/ruby/lib/ruby/gems/1.8/gems/selenium-client-1.2.18/lib/selenium/client/pr
otocol.rb:12:in `remote_control_command'
c:/ruby/lib/ruby/1.8/timeout.rb:56:in `timeout'
c:/ruby/lib/ruby/1.8/timeout.rb:76:in `timeout'
c:/ruby/lib/ruby/gems/1.8/gems/selenium-client-1.2.18/lib/selenium/client/pr
otocol.rb:11:in `remote_control_command'
c:/ruby/lib/ruby/gems/1.8/gems/selenium-client-1.2.18/lib/selenium/client/pr
otocol.rb:19:in `string_command'
c:/ruby/lib/ruby/gems/1.8/gems/selenium-client-1.2.18/lib/selenium/client/ba
se.rb:85:in `start_new_browser_session'
googlesearch.rb:14:in `setup'
1 tests, 1 assertions, 0 failures, 1 errors
please resolve this issues if any one know
Thanks
© 2022 Created by Quality Testing.
Powered by