[wtr-general] Re: undefined method click_no_wait

2011-09-18 Thread Ivan Chung
Thanks for the reply. At the end i have gave up this click_no_wait and direct use the autoit = WIN32OLE.new('AutoItX3.Control') to send the {enter} key for the js popup -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

[wtr-general] How to send sudo su - using net/ssh

2011-09-18 Thread Ivan Chung
Hi, I am able to ssh to the server but having problem to become the root. Pls see below scripts and advise ssh = Net::SSH.start(host, user, :password =) ssh.exec!('sudo su -') ssh.exec!('password') Above scripts does not create any error but it does not switch to root -- Before posting,