Hot answers tagged

14

I like using modern.ie (by Microsoft) because they carry all IE browsers from IE6 to IE11 and it's free. You basically choose which version of IE you want and it comes prepackaged with its own virtual machine so you don't have to install anything. Just run and test. The downside is the virtual machines are time limited and expire after a certain amount of ...


7

I have this code running always when I instance IE8 on my tests. Works fine for me. #region SSL workaround for IE if (driver.GetType() == typeof(InternetExplorerDriver) && driver.Title.Contains("Certificate")) driver.Navigate().GoToUrl("javascript:document.getElementById('overridelink').click()"); #endregion


6

Yes , I have tested a responsive site into the Different browser. In Google Chrome Browser to test the Responsive view press F12.-> Click on 'Toggle Device Mode' , Using this option we can select the different type of device mode. Another option is we can add app which is "Responsive Web Design Tester", using this on right click menu Responsive Web Design ...


3

Use contains() or starts-with() function in XPath: Solution : With contains(): //*[contains(@id,'IPS')] With starts-with(): //*[starts-with(@id,'IPS')] Where * means any element. Let me know If any query.


3

You can also use http://www.browserstack.com/ where you can not only get older versions of IE but pretty much any browser you want.


3

This is as designed, so there is nothing to worry about. You can then start opening your website using driver.Navigate().GoToURL() method.


2

driver.ExecuteScript(string.Format("document.getElementById('cred-password-inputtext').value='{0}';",password)); This solution has resolved my problem.


2

You should use xpath. If your text 'IPS' is the text inside tag use this: //*[contains(.,'IPS')]. If 'IPS' is for example part of @class atrribute use this: //*[contains(@class,'IPS')]. If 'IPS' is always at the begginig of the text you can use starts-with command instead of contains. Unfortunately web browsers dont support Xpath 2.0 which provides ...


1

if you wanted to test what the filtering was doing to your site then you would need to run some browsers in china. You could do this with a selenium grid hosted in china driving OSes in vm guests. if you just wanted to check how your site works on degraded bandwidth you could use something like wanem to simulate various types of issues. http://wanem....


1

Update:You can use inbuilt mode in chrome browser for responsive design testing. With help of device mode you can do following: Test your responsive designs by emulating different screen sizes and resolutions, including Retina displays. Evaluate your site's performance using the network emulator, without affecting traffic to other tabs. Visualize and ...


1

Create a desktop background with overlapping boxes at the resolutions you need. Resize the browser windows to match those boxes as needed. Sometimes a lo-fi solution is the best.


1

Try to upgrade to the latest IEDriverServer: 4.43.xxx: http://selenium-release.storage.googleapis.com/index.html?path=2.43/ Also you can try both x86 and x64 versions.


1

The same issue occurs when you didn't configure IE properly according to manual: InternetExplorer configuration Make sure: Zoom is set to 100% Protected Mode settings for each zone have the same value


1

In IE, this will usually show as the default page at the start of a test, until you provide it with a valid URL to navigate to. Especially if you attempt to do something to the present (empty) page, it may cause an exception or problem - for example, trying to maximise the window with javascript causing this issue. The first thing your test should do is ...


Only top voted, non community-wiki answers of a minimum length are eligible