Setting up IE virtual box envs

×

Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in _menu_load_objects() (line 569 of /homepages/46/d762693627/htdocs/dc/includes/menu.inc).
Setting up IE virtual box envs

Microsoft provide free virtual machines for testing on their OS and IE/Edge. These can be seen and downloaded here: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/

You'll need to use this if you have to test on IE/Edge and are using a mac. For this page I'm assuming virtual box is used and your local env is set up as per Vagrant local (mac) environment notes

To get an IE virtual box up and running:

  1. Visit https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
  2. Select the virtual machine you wish to run, and the platform as VirtualBox:
  3. Download the zip button and wait for it to download (might be a good time to grab a cup of tea/coffee)
  4. Unzip it
  5. Click on the resulting .ovf file

    This will open Virtualbox and ask you to confirm setting up the VM
  6. Click on 'Import'

    This will import the virtual machine. Again, a good time to grab a tea/coffee.
  7. On VirtualBox click on VirtualBox > Preferences > Network > Host-only Networks. If you haven't already got a network called "vboxnet0" click the plus icon on the right hand side to add and click the OK button.
  8. Click on the IE virtual machine you just and click the Settings cog > Network
  9. Leave 'Adapter 1' as is. Click on Adapter 2, check the enable checkbox, change the attached to dropdown to 'Host-only Adapter' and select vboxnet0 under name.
  10. Click ok and boot up the machine (double click it) and if you're lucky it'll boot up without having to install updates.
  11. Edit the windows machine hosts file (C:\Windows\System32\Drivers\etc) and add the same hosts file config from Vagrant local (mac) environment notes 
    1. Ensure you're editing the hosts file as an administrator or make the 'Users' user an admin to be able to save the file after editing.
    2. You can copy paste into the VM by clicking on the virtualbox settings cog > General > Advanced and change 'Shared clipboard' to Bidirectional - Note you'll need to right-click paste in the windows box.
  12. Save.
  13. Open IE/Edge
  14. Navigate to atd.dev/atd-d6phx.dev etc as normal to test and beg forgiveness from the IE Gods.