简体   繁体   中英

VMWare vix api - not logging in into Vitual machine

While powering up the virtual machine:

var virtualMachine = host.Open("myVM.vmx");
virtualMachine.PowerOn();
virtualMachine.LoginInGuest("Administrator", "myPass");

everything gets stuck in the log in screen of the VM. Is it possible somehow to start up the VM, and have the GUI loaded and ready, because automated tests require the GUI of the application to be present so the tests can fire off.

pass VIX_LOGIN_IN_GUEST_REQUIRE_INTERACTIVE_ENVIRONMENT to LoginInGuest.

See the remarks: https://www.vmware.com/support/developer/vix-api/vix17_reference/lang/com/functions/RunProgramInGuest.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM