lib/veewee/provider/core/box/vnc.rb in veewee-0.3.0.alpha6 vs lib/veewee/provider/core/box/vnc.rb in veewee-0.3.0.alpha7
- old
+ new
@@ -14,11 +14,11 @@
env.logger.info "Opening VNC #{host} on display #{display}"
vnc=Net::VNC.open("#{host}:#{display}",{:wait => 0.001})
sequence.each { |s|
counter=counter+1
- env.ui.info "Typing:[#{counter}]: "+s
+ ui.info "Typing:[#{counter}]: "+s
keycodes=string_to_vnccode(s)
keycodes.each do |keycode|
if keycode==:wait
@@ -27,11 +27,11 @@
send_vnc_keycode(vnc,keycode)
end
end
}
vnc.close
- env.ui.info "Done typing."
- env.ui.info ""
+ ui.info "Done typing."
+ ui.info ""
end
def send_vnc_keycode(vnc,keycode)