在旧版本的 Internet Explorer (IE) 中测试 javascript 书签的最佳方法
我正在开发一个 javascript 书签,需要在 IE 7 和 IE 8 中运行。但是我的系统上安装了 IE 9。除了运行安装了旧版本 IE 的单独 Windows 实例之外,我还可以选择哪些选项来测试 IE 7 和 IE 8 中的书签?我尝试过 IETester,但还没有找到“安装”书签的方法,因为没有可拖动的收藏夹栏。
I am developing a javascript bookmarklet that needs to be functional in IE 7 and IE 8. However I have IE 9 installed on my systems. Besides running separate instances of Windows that have older versions of IE installed, what are my options for being able to test a bookmarklet in IE 7 and IE 8? I have tried IETester, but haven't found a way to "install" a bookmarklet since there is no favorites bar to drag to.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以使用虚拟机,安装起来可能需要做很多工作。我个人使用工具跨浏览器测试。这是确保它适用于每个浏览器的最佳方法。
它有两种类型的测试,截图和远程控制。在您的情况下,您可能想要远程控制虚拟机并对其进行测试。
You can either use virtual machines, which can be kind of a lot work to install. I personally use the tool Cross Browser Testing. It's the best way to make sure it will work in every single browser.
It has two types of testing, screenshots and remote control. In your case you might want to remote control a virtual machine and test it out.
在跨浏览器进行“手动”测试时,我发现使用虚拟机运行具有不同操作系统和浏览器组合的 Windows 实例是最好的方法。
有些人可能会说在 3 个不同的虚拟机(XP、Vista 和 7)中运行 IE8 太过分了,但我通过这样做发现了差异,当您无法灵活地说“只需升级”时,您就没有很多选择。
Using virtual machines to run instances of windows with different combinations of the OS and the browser is the best that I've found when it comes to "manual" testing of things across browsers.
Some may say that running IE8 in 3 different VMs (XP, Vista, and 7) is overkill but I've found differences by doing this and when you don't have the flexibility to say "just upgrade", you don't have much choice.
您还可以使用 BrowseEmAll,它可以在本地计算机上运行 IE 7、8、9、10 和 11。
You could also use BrowseEmAll which can run IE 7, 8, 9, 10 and 11 on your local machine.