Internet Explorer Errors when Launched with VBoxManage

Discussions about using Windows guests in VirtualBox.
Post Reply
dygerati
Posts: 1
Joined: 19. Nov 2014, 21:10

Internet Explorer Errors when Launched with VBoxManage

Post by dygerati »

I'm attempting to do some automated testing with Internet Explorer on my Mac. I'm using the Windows images provided by Microsoft (can't post links), but encountering some issues. I'm specifically using the VirtualBox image for IE10 that they provide.

I'm using the following command to open IE within the image at the specified address, which is actually addressing a server on my host machine.

Code: Select all

VBoxManage guestcontrol "IE10 - Win7" execute \
  --username "IEUser" \
  --password "Passw0rd\!" \
  --image "C:\\Program Files\\Internet Explorer\\iexplore.exe" \
  --verbose \
  -- "LINK_TO_HOST_MACHINE"
(I had to remove the actual link with LINK_TO_HOST_MACHINE since this is my first post)

However, when launched in this fashion I get errors on the console that I don't otherwise. For example, if you open the dev tools (F12) after it's launched in this way, and type "window.localStorage" it will give the following the following error:
An internal error occurred in the Microsoft Internet extensions
It behaves correctly if I just open it manually within the VM itself. Both open it under the exact same user, which has administrator privileges. The only difference I can figure out is that VBoxManage opens it in Guest mode, but I'm unsure of what that really means. If that is in fact the issue, are there any particular work-arounds to get IE to behave properly?

Thanks!
Post Reply