Re: [wtr-general] Unable to access the elements in a page.

2013-08-05 Thread Chuck van der Linden
On Monday, July 22, 2013 2:22:07 AM UTC-7, Željko Filipin wrote:

 On Mon, Jul 22, 2013 at 10:24 AM, Sachin Uplaonkar 
 up.s...@gmail.comjavascript:
  wrote:

 irb(main):008:0 b.text.include? suplaonk
 Selenium::WebDriver::Error::
 **NoSuchElementError: Unable to find element with tag
 name == body

 irb(main):036:0 b.text.include? suplaonk
 Errno::ECONNREFUSED: No connection could be made because the target 
 machine acti
 vely refused it. - connect(2)


 Can you provide more relevant code? Is the site you are testing public? 
 (Please provide it's URL in that case.) If it is not public, can you 
 reproduce the error with a public site?

 Željko
 --
 https://leanpub.com/watirbook


Is the login page opening a new window?  or changing security context?  the 
behavior you are seeing is a bit like the browser object is no longer 
pointing to an instance of a web browser. 

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
Watir General group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [wtr-general] Unable to access the elements in a page.

2013-07-22 Thread Željko Filipin
On Mon, Jul 22, 2013 at 10:24 AM, Sachin Uplaonkar up.sa...@gmail.comwrote:

 irb(main):008:0 b.text.include? suplaonk
 Selenium::WebDriver::Error::
 **NoSuchElementError: Unable to find element with tag
 name == body

 irb(main):036:0 b.text.include? suplaonk
 Errno::ECONNREFUSED: No connection could be made because the target
 machine acti
 vely refused it. - connect(2)


Can you provide more relevant code? Is the site you are testing public?
(Please provide it's URL in that case.) If it is not public, can you
reproduce the error with a public site?

Željko
--
https://leanpub.com/watirbook

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
Watir General group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.