IE9: Why setting “-ms-transform” works from css, but not with jquery.css()

The dash (‘-‘) in the property is invalid for use in scripting. You should use msTransform instead. By the way: though a number of browsers do understand and parse css like style[‘background-color’] from scripting, afaik Firefox doesn’t. Furthermore I think JQuery .css(…) transforms properties like ‘background-color’ to their DOM-scripting equivalent (‘backgroundColor’ in this case) before … Read more

Difference between “Browser Mode” and “Document Mode” in Internet Explorer

Document Mode is what the browser uses to render the page: IE9, IE8, IE7 or Quirks. Browser Mode sets how the browser identifies itself to the web server and to JavaScript. From a testing standpoint, it seems unnecessarily confusing that these are two separate options and you usually want to change both, for example, set … Read more

How to test file download with Watin / IE9?

File download dialog doesn’t work in IE9 (Windows7) NetFramework 4.0. Following code snippet might help you resolve the issue: First you must add references UIAutomationClient and UIAutomationTypes to your test project. After In Ie9 Tools -> View Downloads -> Options define path to your save folder. The next method extends Browser class public static void … Read more

Selenium 2 Webdriver and IE 9 Security Certificate

Okay I just got it working under IE9 using C# and the following code: IWebDriver driver = new InternetExplorerDriver(); driver.Url(YOUR_URL); driver.Navigate().GoToUrl(“javascript:document.getElementById(‘overridelink’).click()”); And now it will go to the intended page. For Java it’s as simple as: WebDriver driver = new InternetExplorerDriver(); driver.get(YOUR_URL); driver.get(“javascript:document.getElementById(‘overridelink’).click();”);