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.
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,