Monday, January 10, 2011

Testing in Internet Explorer (IE6, IE7, IE8) on Mac OS X

There are some great blog entries on ie6, ie7 and ie8 on mac os x step by step and Install Internet Explorer on OSX using VirtualBox, but they are a bit out of date, so since I can't update those entries, I'm writing my own. But I'm standing on the shoulders of others.

What you'll need
  1. Virtual Box - free download from Oracle
  2. Virtual machine images of Windows with IE - free downloads from Microsoft
  3. A network driver - free download from Redhat
Steps

1.  Download and Install Virtual Box (from Oracle).

I installed version 4.0.0, current as of Jan 2011.

2.  Download the Virtual PC disk image (from Microsoft).

For instance, let's start with IE8-on-XPSP3.  You'll need an app to open the self-extracting archive (IE8-on-XPSP3.exe) file that you downloaded.

If you don't have Unarchiver, UnRarX or Zipeg, then download Unarchiver.  Double-click on the TheUnarchiver .zip file and it will extract the application.  Move the The Unarchiver to Applications.

Then find the .exe file and right-click on it and go to Open With -> Other... and scroll down and select The Unarchiver. That will create a folder called IE8-on-XPSP3 and inside will be the the .vhd file that you'll use in Virtual Box and a ReadMe.txt that will say what the login password is for the virtual machine.

3.  Down the Paravirtual (virtio) Driver (from Redhat)

Download the .iso file which you will be able to mount in a Virtual Box machine.

4.  Create a new virtual machine in Virtual Box

Start Virtual Box.  Go to the File menu and click Virtual Media Manager.  Find the .vhd file (from Step 2 above) and drag and drop it into the Virtual Media Manager window.  Click OK.

Click the New button on toolbar in Virtual Box.  Enter a name (i.e. "IE8 on WinXP").  Make sure Operating System is "Microsoft Windows" and Version is "Windows XP" and then click Continue.

Leave Memory at 192MB. Click Continue.

Click "Use existing hard disk" and select the .vhd file name. Click Continue. Click Done.

Important: Before starting the virtual machine, set the Network adapter.  Select the new virtual machine in VirtualBox (click Details tab, if not already selected).  Scroll down to the Network section and click on the word Network.  Click the right arrow next to Advanced and set Adapter Type to "Paravirtualized Network (virtio-net)".  Click OK.

Start the virtual machine by clicking the Start button in the toolbar. Login with the password mentioned in the ReadMe.txt file (step 2 above).

Click Activate Later.  You can't activate until you have the network driver installed.

Click Cancel on all the 'Found New Hardware" dialog boxes that appear.


5.  Install the Guest Additions

This step isn't necessary, but it will make your life easier by making the mouse-handling in the virtual machine natural.

Inside the newly booted virtual machine, press the left Command key to release the mouse and go to the Devices menu (top of Mac screen) and click Install Guest Additions.  This mounts a CD drive in the virtual machine and the autorun on the CD prompts you to install software.  Ignore the warnings about unvalidated software and install everything.  At the end click Reboot later. You can reboot now, but it's faster to install the Network Driver first.

6.  Install the Network Driver.

Press the left Command key again and got to the Devices menu and move to CD/DVD Devices and move right to "Remove disk from virtual drive".  Go back to the Devices menu and move to CD/DVD Devices and move right to "Choose a virtual CD/DVD disk file...". Locate the virtio-win .iso file you downloaded in step 3 above.  Select the filename and click Open.

In the virtual machine, click on the Start menu and then right-click on My Computer and then click on Manage.  Click on Device Manager in the left panel.  In the right panel under Network Adapters right click on Network Controller and click "Update Driver...".

Click radio button for "No, no this time".  Click Next.  Click Next again. Click Okay to the warning about unverified driver.

You should now have a network and can activate Windows.  After activating your virtual machine should be good for 30 days.

You can now reboot your virtual machine.

Notes

I recommend not using the Q app to convert the .vhd file to a .vdi file. This will allow you to run multiple virtual machines at the same time, but I believe it violates the EULA for the virtual machine from Microsoft.  See the VPC_EULA.txt file that you downloaded in Step 2 above.

I also recommend against using AntiWPA instead of activating Windows because this also probably violates the EULA.



23 comments:

  1. Have you looked into using one of these cross-platform browser screenshot websites, such as browsershots.org or crossbrowsertesting.com ? Your VM solution definitely gives you the most flexibility, with being able to test more than just the static look of a page, but these other services have great breadth across browsers and OSes.

    ReplyDelete
  2. This is so interesting and use full blog for Testing in Internet Explorer (IE6, IE7, IE8) on Mac OS X network. I like well this seo blog. Your VM solution definitely gives you the most flexibility, with being able to test more than just the static look of a page. Thanks share this good think post at this site. Thanks for sharing the wonderful information. This blog is very informative for getting ranked in google search engine.
    seo melbourne

    ReplyDelete
  3. Brilliant concept to encourage Testing in Internet Explorer. The post is informative and impressive..! I feel your blog really useful and inspiring me. Thank you.
    SEO

    ReplyDelete
  4. I like well this seo blog. Your vm solution definitely gives you the most flexibility, with being able to test more than just the static look of a page. I like concept of your post. Very creative post. Best of luck and waiting for some new ideas.
    marketing solutions

    ReplyDelete
  5. This is something special! never seen this before! thank you!!!
    dissertation-topics-examples.info

    ReplyDelete
  6. Technology growth giving us the opportunity to built our career and making future in this highly fast developing world. You can get here best writing service Essay Warriors can deliver you a trusted thing which you always desire.

    ReplyDelete
  7. A great reputation can take years to establish. A negative blog post or article can undo years of hard work in an instant. That's why you need tools like this at your disposal so you can keep track of what is being said about you and your products and nip any potential problems in the bud.
    check here

    ReplyDelete
  8. Norton antivirus is one in everything about premier most loved and trusty antivirus programming framework all through the planet. it's basically as an aftereffect of it gives remarkable assurance against infection assaults all together that the prosperity of your portable PC is guaranteed. https://how-to-remove.org/malware/adware-removal/wawsearch-com-removal/

    ReplyDelete
  9. The increasing importance of technology in every industry continues to drive the need for a diverse group of qualified professionals to manage the implementation and changes in technology. This

    ReplyDelete
  10. Licensing of the innovation during the usable duration of time that the producing company benefits for the technology introduces a difficult benefit and cost appropriation concept that requires a mathematical approach.
    voiptones

    ReplyDelete
  11. Look at in the event that you can go for overdraft security on your financial records? In the event that you are a standard most or the greater part of the assets in your record client so then on the off chance that you commit an error in your checking account record or records, overdraft security can help with shielding you from further credit issues. Cash Advance San-diego

    ReplyDelete
  12. Get email technical support to resolve any kinds of complicated issues of email accounts.
    http://www.emailcustomerservice.co/

    ReplyDelete
  13. From installing new software to repairing the damaged hardware all the instruction will be given by the tech support team online and your problem will be fixed in a short period of time.Techwitty

    ReplyDelete
  14. When you start examining this, you can't stop without completing it. That is the sum you get devoured into it. check my ip

    ReplyDelete
  15. Very uncommon to discover such a sublime blog, I feel fortunate perusing this. Whois lookup

    ReplyDelete
  16. Rather than being mislead by the technology, get tracking apps and keep a close eye on the near and dear ones and stay assured.http://www.iphonetrackingapps.com/can-someone-hack-into-my-imessages-from-another-iphone/

    ReplyDelete
  17. which have proved to be the hub of IT industries. With the elevation of the demand of new innovations and enhancement of the IT field. Tor Proxy

    ReplyDelete
  18. Computers have become an inevitable part of our lives. It can also be termed as the lifeline of this fast pace life and has its deep contributions in the corporate world. The Best in Tech

    ReplyDelete
  19. To help with this issue, organizations offer payday advances to the individuals who are in urgent need of money. Sadly, these sorts of credits regularly require printed material and archives.
    Payday Loans san diego

    ReplyDelete
  20. Estimate found the site and now I sit here all my free time thinking about working out. Interesting? Okay, share a link topnotch casino You can not thank

    ReplyDelete
  21. Great post, exactly what I was looking to do! Really boiled it down and although I was aware of the subst command you took it to the logical extension. Network drives

    ReplyDelete
  22. This comment has been removed by the author.

    ReplyDelete