[wtr-general] How to handle a pop up (google chrome)

2010-06-15 Thread NumOi3
Hi All,
I am working with web-driver for test  google chrome  browser.
and there's  pop up is generated after clicking on a button.
i need to click OK button and get text form pop up.
How can i access these popup.

Please help ...

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

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


[wtr-general] Re: How to insert a blank value from spreadsheet into a textbox on webpage.

2010-06-15 Thread George
I've been using the Excel interface class, and am able to insert
blanks into a text field if a cell is blank:

http://wiki.openqa.org/display/WTR/Excel+interface+class



On Jun 13, 11:34 pm, Chandu80 chandu.she...@gmail.com wrote:
 Hi All,
 I have written a script which requires me to insert a blank value into
 a textbox on webpage.
 The script should take this blank value from the  spreadsheet and then
 insert it into the textbox.(As this is a part of the negative test
 scenario)
 When I leave a column in a spreadsheet blank and try to run the
 script,
 I get the following error.

  c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
 input_elements.rb:390:in `
 limit_to_maxlength'c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/
 watir/input_el
 ements.rb:338:in `set'C:/Lmg_test/ruby/11.06.2010/driver/
 cfg_snmp_access2.rb:84

  undefined method `length' for nil:NilClass

 Kindly let me know how to deal with this and how blank value can be
 taken as an input from the spreadsheet without error.

 Thanks in Advance

 Regards
 Chandrika

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

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


[wtr-general] Re: How to handle a pop up (google chrome)

2010-06-15 Thread orde
I generally test using IE, but this is the link to the FAQ:

http://wiki.openqa.org/display/WTR/Pop+Ups

Hope it helps.

On Jun 14, 9:20 pm, NumOi3 numobjaka...@gmail.com wrote:
 Hi All,
 I am working with web-driver for test  google chrome  browser.
 and there's  pop up is generated after clicking on a button.
 i need to click OK button and get text form pop up.
 How can i access these popup.

 Please help ...

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

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com