Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
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. –  jJack Dec 26 '11 at 18:04
    
Unfortunately, as you suggested, this is a problem because it does relate to GUI testing –  Andrew Walker Dec 26 '11 at 20:02

1 Answer 1

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?

share|improve this answer
    
Thanks, I'll look into this –  Andrew Walker Jan 6 '12 at 3:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.