2

Is there way to tell if an automated logon to a virtualbox windows guest has completed?

I'm currently using virtualbox machines as part of a test process on windows, but at the moment I have to manually wait for login to complete. Is there a way to script this? Perhaps a command I could use in association with VBoxManage guestcontrol?

2
  • 1
    Are you certain you need "automated logon"? I am currently using 'vboxmanage guestcontrol' to execute code on guest as part of my own test process. I am simply manually waiting time for the guestcontrol logon to complete until my automated tests execute. although: this may not work for you if a desktop dession / gui is required for your test suites.
    – JohnZaj
    Dec 26, 2011 at 18:04
  • Unfortunately, as you suggested, this is a problem because it does relate to GUI testing Dec 26, 2011 at 20:02

1 Answer 1

3

Note: I haven't tried this myself.

Could you not have a logon script in the guest that does VBoxControl guestproperty set LogonCompleted true and then do VBoxManage guestproperty MyVM wait LogonCompleted on the host to detect when this has run?

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .