如何在Mac上的Microsoft Internet Explorer中测试我的网页? [英] How can I test my web pages in Microsoft Internet Explorer on a Mac?

查看:114
本文介绍了如何在Mac上的Microsoft Internet Explorer中测试我的网页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想测试我在所有现代版本的Internet Explorer(6,7和8 beta)中创建的网页,但我主要在Mac上工作,而且通常无法直接访问PC。

I want to test the web pages I create in all the modern versions of Internet Explorer (6, 7 and 8 beta) but I work mainly on a Mac and often don't have direct access to a PC.

推荐答案

更新:Microsoft现在为各种版本的IE提供虚拟机映像,可以在所有版本的IE上使用主要的OS X虚拟化平台( VirtualBox VMWare Fusion Parallels )。

Update: Microsoft now provide virtual machine images for various versions of IE that are ready to use on all of the major OS X virtualisation platforms (VirtualBox, VMWare Fusion, and Parallels).

从以下网址下载相应的图片: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/

Download the appropriate image from: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/

在基于Intel的Mac上,您可以在虚拟机中运行Windows。对于要测试的每个IE版本,您将需要一个虚拟机。

On an Intel based Mac you can run Windows within a virtual machine. You will need one virtual machine for each version of IE you want to test against.

以下说明包括免费和合法的虚拟化软件和Windows磁盘映像。

The instructions below include free and legal virtualisation software and Windows disk images.


  1. 下载一些虚拟机软件。我们将要使用的开发人员磁盘映像可以使用 VMWare Fusion 或< a href =http://www.virtualbox.org/ =nofollow noreferrer> Sun Virtual Box 。 VMWare具有更多功能,但成本为80美元,另一方面,Virtual Box更基本但对大多数用户来说是免费的(参见 Virtual Box许可常见问题解答了解详情。)

  2. 下载免费提供给Microsoft的IE开发人员磁盘映像: http://www.microsoft.com/downloads / ...

  3. 使用 cabextract 提取磁盘映像。 MacPorts 或作为源代码(感谢克林顿

  4. http://www.kju-app.org/ 并将其放入您的/ Applications文件夹(您将需要它将磁盘映像转换为VMWare / Virtual Box可以使用的格式)

  1. Download some virtual machine software. The developer disk images we're going to use are will work with either VMWare Fusion or Sun Virtual Box. VMWare has more features but costs $80, Virtual Box on the other hand is more basic but is free for most users (see Virtual Box licensing FAQ for details).
  2. Download the IE developer disk images, which are free from Microsoft: http://www.microsoft.com/downloads/...
  3. Extract the disk images using cabextract which is available from MacPorts or as source code (Thanks to Clinton).
  4. Download Q.app from http://www.kju-app.org/ and put it in your /Applications folder (you will need it to convert the disk images into a format VMWare/Virtual Box can use)

此时,该过程依赖于你正在使用哪种VM软件。

At this point, the process depends on which VM software you're using.

Virtual Box用户


  1. 在Mac上打开Terminal.app(您可以在/ Applications / Utilities中找到它)并运行以下命令序列,将 input.vhd 替换为名称您正在开始的VHD文件和 output.vdi ,其中包含您希望最终磁盘映像具有的名称:

  1. Open a Terminal.app on your Mac (you can find it in /Applications/Utilities) and run the following sequence of commands, replacing input.vhd with the name of the VHD file you're starting from and output.vdi with the name you want your final disk image to have:

/Applications/Q.app/Contents/MacOS/qemu-img convert -O raw -f vpc "input.vhd" temp.bin
VBoxManage convertdd temp.bin "output.vdi"
rm temp.bin
mv "output.vdi" ~/Library/VirtualBox/VDI/
VBoxManage modifyvdi "output.vdi" compact


  • 启动Virtual Box并创建新虚拟机

  • 选择刚刚创建的新VDI文件作为启动硬盘

  • VMWare融合用户


    1. 在Mac上打开Terminal.app(您可以在/ Applications / Utilities中找到它)并运行以下命令,替换 input.vhd output.vmdk 使用您正在处理的VHD文件的名称以及您希望生成的磁盘映像具有的名称:

    1. Open a Terminal.app on your Mac (you can find it in /Applications/Utilities) and run the following commands, replacing input.vhd and output.vmdk with the name of the VHD file you're working on and the name you want your resulting disk image to have:

    /Applications/Q.app/Contents/MacOS/qemu-img convert -O vmdk -f vpc "input.vhd" "output.vmdk"
    mv "output.vmdk" ~/Documents/Virtual\ Machines.localized/
    

    这可能需要一段时间(我的2.4GHz Core 2上的每个磁盘映像需要大约30分钟) Duo MacBook w / 2Gb RAM)。

    This will probably take a while (It takes around 30 minutes per disk image on my 2.4GHz Core 2 Duo MacBook w/ 2Gb RAM).

    这篇关于如何在Mac上的Microsoft Internet Explorer中测试我的网页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆