How to check webapp with different versions of IE from one window?

I need to test a web application in different versions of IE (IE9, IE8 and IE7).

I found that IE9 provides a compatibility view for IE8 and IE7, so I installed IE9 on my test system.

There is one header for the X-UA-Compatible META tag with which you can set the compatibility view. But in my case, we do not have access to the source files.

If any of selenium or in any other way, if we can dynamically set the tag "X-UA-Compatible", then it can solve my problem. Please let me know if there is a good way to test WebApp on a different version of IE (7.8 and 9) from one window / instance of Windows.

Any suggestion would be appreciated.

Please share your experience with this.

Thanks.

+4
source share
4 answers

To test your web application in a different version of IE, you can use the online testing tools, IETester , IECollection , Microsoft TestDrive, or in IE 8 and 9, press F12 and select the IE version from the browser mode menu

+4
source

You are talking about compatibility mode. Not sure if you know about it, but if you don't, press F12 in IE 9 to open the developer tools. From there, you can install the rendering version. This is how I test different versions of IE.

From an official source:

Another solution, you can try spoon.net/ , which is an online browser simulator. You can select different browsers and versions there. You can also find another similar online simulator.

+1
source

Microsoft provides virtual machines for different versions of IE at http://modern.ie . Thus, on one machine, you can have several test versions of IE by running your tests on a virtual machine.

+1
source

Nov 2014 Update: There is now a way to achieve this.

Spoon has a selenium grid that runs all versions of IE (Chrome and Firefox too) on the same Windows dev machine. To achieve this, the Spoon virtual machine is used by virtualizing the selenium settings, including all browser nodes.

Its 100% compatible with your existing selenium tests. You do not need to start the nodes earlier, they start on demand, when the test code requires a specific browser / version through features.

Disclaimer: I work at Spoon and helped in creating this.

0
source

Source: https://habr.com/ru/post/1444982/


All Articles