People who code: we want your input. Take the Survey

Hot answers tagged

46

It depends on your user base. Either check your statistics or do market research. W3schools shows that IE11 is still 0.4% of their population Netmarketshare says 5.5%. I once had a client that used an older version of internet explorer on their terminal stations in their physical stores. We asked an extra yearly fee (100k dollars) to test the application ...


28

Older IE is still widely used in corporate networks since it has more integration with windows security and networking mechanisms as well as with ms office suite. Big corporations often have large lag in new technologies adoption since they would need to test numerous corporate applications for compatibility with new browsers. So I wouldn't exclude from ...


10

Check this code. It works properly in IE. All you need to set some capabilities. DesiredCapabilities ieCapabilities = DesiredCapabilities.internetExplorer(); ieCapabilities.setCapability("nativeEvents", false); ieCapabilities.setCapability("unexpectedAlertBehaviour", "accept"); ieCapabilities.setCapability("ignoreProtectedModeSettings", true); ...


9

IE is (unfortunately) still around. It is not unusual for large government companies to have a deal with their hardware/software vendor that specifically mentions Microsoft products, including IE. They often require all their software to be compatible. Government organizations, by inertion, will continue using IE until the contract runs out and they all get ...


7

As shown in the other answers, it really depends on your user base. If you are targeting developers and high-end users, you probably won't have many (or any) using IE. If you are targeting corporate or government environments, many may still be using IE (or obsolete versions of Chrome). Any update of the browser used by default on user's computers may break ...


5

Until a few weeks ago I would have said "maybe", because people who are still using Windows 7 and don't want to install a non-Microsoft browser (for whatever reason) were stuck with IE11, and couldn't install Edge. They probably make up the bulk of the 0.4% IE users mentioned in another answer. But recently Microsoft has created a new version of ...


3

Microsoft bids farewell to Internet Explorer. As per latest information from Microsoft, Microsoft To End Support For Its Ageing Browser Internet Explorer In 2021(News here). But still most of the client required the Internet Explorer. Because they are still using the Older version due to some reason with security integration with Microsoft tools.


2

Personally I would put a wait and in the wait try to click and then verify the popup exists, catch the error and try to click and verify again. That way as soon as it's ready it will return and you aren't using a timer. That is good practice anyway to not just wait a specific time, but wait for a particular event to take place and then move on. c# ...


2

IE 10 had some issues and so did IE 11 at the start. The new IE driver has fixed some of those, but I'm not sure what version of things you are running. The work arounds include setting capabilities of the browser when starting it. Try the below settings and see if it works to help it stay focused on the newly opened window. capabilities = new ...


2

"StaleElementReferenceException" is throw when the webelement is no longer available(deleted) or modified from the DOM. This can happen due to page or a part of it has refreshed due to AJAX, Javascript, etc. To handle this exception you will have to re-intialize the webelement for which you are getting the exception. You can also try to use "try catch" to ...


2

Depends on your audience, but if you need stability, YES. Real life example: Last year(2019) I made a web application to be used by professors, I was later informed that they were unknowingly bypassing a validation and causing a bug (validation on the front-end, my mistake, granted), but wouldn't you know it. Not only were they using IE, they were using IE, ...


2

I believe the answer is to be found in this URL: XBAP Support in IE Edge: As you can see, there are formats, supported by Internet Explorer, not being supported by Edge (Internet Explorer's replacement). As long as there are such formats (I know about XBAP, I have no knowledge about other formats), Internet Exlorer must still be tested (unless, of course, ...


1

I'll first copy and format your piece of code you posted in the comment section: *** Settings *** Library SeleniumLibrary Library Collections Library String Variables variables.py *** Test Cases *** My_Test Open browser example.com ie Maximize Browser Window ${home_count}= Get Element Count ${home} Run ...


1

As already said this really depends from your user base. In our case - the requirement was to run it on both: desktop version and mobile/tablet version, since our customers also used our application on all these items we had to evaluate which browsers/mobile browsers they are using (e.g. Opera, Internet Explorer, Safari etc.). So in our case we also made ...


1

As a Tester, you can surely deal with testing on IE 11. The decision is, however, not only up to you. Therefore, I'd try to find out what matters to other stakeholders: marketing team might have certain opinions about what browser customers use if the system is for internal users, the company might have some policies about what browsers their employees use (...


1

For Selenium 3.0.1, I setup as follow and it works for IE 11. InternetExplorerOptions caps = new InternetExplorerOptions(); caps.IgnoreZoomLevel = true; caps.EnableNativeEvents = false; caps.InitialBrowserUrl = "http://localhost"; caps.UnexpectedAlertBehavior = InternetExplorerUnexpectedAlertBehavior.Accept; caps....


1

I also had the same problem in clicking the segment under a page then on the elements but could not click. I have a solution that worked for me and hope the below answer will work for you as well. Add the code snippet. DesiredCapabilities caps = DesiredCapabilities.internetExplorer(); caps.setCapability("ignoreZoomSetting", true); // Setting attribute ...


1

While performing testing in software testing solutions, there are methods to maintain the sessions on the browser. A feature of Internet Explorer 8 called 'Private Browsing mode' gives us a completely independent session with no shared cookies and manage multiple accounts. In order to enable it, simply press CTRL+SHIFT+P from IE browser in your computer. ...


1

I managed to get this working following this advice - https://stackoverflow.com/questions/47388733/selenium-org-openqa-selenium-nosuchwindowexception-currently-focused-window-ha setting the internet options to enable protected mode is now interacting with the site, but the next issue the input is only writing one character every couple of seconds. Off to ...


1

You have to add kilinstances: true to delete everything at the end: export.config = { services: [['iedriver',{killInstances:true}]], // ... capabilities: [ { browserName: 'internet explorer', maxInstances: 1, timeouts: { "implicit": 5000 }, } ] }; http://v4.webdriver.io/guide/services/iedriver.html#killInstances


1

Since you are using the JSE you don't need to scroll to the element (JS can interact with elements not in the ViewPort). You could just use the JSE to click the search button. // declare JSE // run JS to click the `button` // (important) wait for the new page/element before proceeding OR you can just use your JSE to run Element.scrollTo() and then do the ...


1

Since I don't have the problem anymore, I'm going to self answer: I added some waits in the process, to make sure the page is fully loaded every time. I upgraded my driver from 3.14 to 3.15


1

It's been a long time since I've automated IE11, and forgot how much of a pain it is. Make sure you've followed the setup guide located here https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver#required-configuration which says: The IEDriverServer exectuable must be downloaded and placed in your PATH. On IE 7 or higher on Windows Vista ...


1

I ran into an issue while using the Microsoft WebDriver (for Edge) where if there was no RDP session, then the tests would fail and throw an exception that Selenium couldn’t get the window handle after opening the browser. Official issue ticket logged here. Solution Credit goes to Olena F. from the same issue ticket linked above. RDP into your Grid Node ...


1

The answer will depend on the version of Katalon you are using and the script. So if you are running a test and the script closes the browser, then the next script needs to open it. If however the IE window is open and it is not recognizing it then you may need your system to be reconfigured. Can you please provide more details so we can understand the ...


1

It might be an issue with the version of IEDriver. Try to downgrade to stable version and try again. Try the following commands: selenium-standalone install --version=2.47.0 --drivers.ie.version=2.53.1 selenium-standalone start --version=2.47.0 --drivers.ie.version=2.53.1 or the same but for webdriver-manager


1

I figured it out. I used pyautogui to click save when the small box appears. So first, I downloaded pyautogui in python3. Then, I got the position of my cursor to point to the save button and captured the coordinate using pos = pyautogui.position() then I used pyautogui.click(x=pos[0],y=pos[1])) and it worked.


1

Try to wait for visible attribute of the required HTML element. Mouse over event seems only changes the visibility of the element to true, so wait in selenium till it happens. So first you would set: driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS); Then do something like: wait.until(expected_conditions.visibilityOfElementLocated((By.ID, "...


1

Troubles with handling multiple windows is one of common traps. Elemental Selenium has great explanation (and more interesting articles about common traps). Catch is: order of windows is not guaranteed between browsers (it is not specified by standards). Google will give you many posts about this trap.


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