34 votes

How can Internet Explorer 5 be emulated in 2020?

Why test in IE5 if the customer isn't using it? It doesn't sound like they actually want IE5 support. They just want it to work. Test in IE11 Compatibility mode, as that's what they use.
Maaark's user avatar
  • 441
20 votes
Accepted

How can Internet Explorer 5 be emulated in 2020?

Given that the customer insists, I'd recommend using a virtual environment with IE5 installed, and then search for automation solutions that can work in that environment. This will be a challenge: you ...
Kate Paulk's user avatar
  • 31.5k
18 votes

How can Internet Explorer 5 be emulated in 2020?

Another approach (or part of one). Before proceeding ask for a sign-off on a document that clearly states the security risk this presents to the organization and its customers and that they ...
Michael Durrant's user avatar
14 votes

How can Internet Explorer 5 be emulated in 2020?

Look around on the internet, e.g. ebay, for Windows machines that are 15-20 years old. I don't like this answer but given the crazy situation I am suggesting it.
Michael Durrant's user avatar
9 votes
Accepted

Is Cypress set to replace Selenium as the preferred tool for automating web applications?

In our last project we also evaluated different tools among these were also Cypress and Selenium. At the end we decided for Selenium, because we were testing front end applications and for us Cross-...
Daniel Boehm's user avatar
  • 1,173
7 votes

How do you block Google Analytics from Selenium automated visits?

It's not very well documented, but you can also implement request blocking by passing the host-resolver-rules option to chrome and mapping the domain to localhost or an invalid IP. Something like this ...
David Lumpkin's user avatar
7 votes
Accepted

How can I bring Chrome browser to focus when running a Selenium test using ChromeDriver on Mac?

If you're talking about bringing the browser's window within the OS to the foreground. Selenium cannot do that. You need to introduce a library that is able to automate actions on an OS level. ...
Julian's user avatar
  • 894
7 votes
Accepted

Selenium Web driver and Mozilla Firefox Compatibility

According to The WebDriver Sampler: Your Top 10 Questions Answered article the information can be obtained from Selenium Changelog, for instance for Java client libraries: v2.52.0 ======= ...
Dmitri T's user avatar
  • 13.4k
7 votes

How to automate UI testing of an app using a Google login

We have found that dealing with third party software in CI/dev environments was a great source of intermittency/failure and pain. So in our CI environments, we always create stub services for third ...
user3557137's user avatar
7 votes

How to switch from one tab to another tab in chrome

Steps to work with tabs in the same browser: Open a new tab using Ctrl + t Driver control automatically switches to the newly opened tab Perform the required operations here. Next switch back to the ...
Bharat Mane's user avatar
  • 6,785
7 votes
Accepted

Check if password field displays masked characters (Selenium + Python)

You are not checking if the password is masked, but if it there is an input of type password. Which is good, because you do not want to test browser behaviour, but the implementation by the developers....
Niels van Reijmersdal's user avatar
7 votes

Is Cypress set to replace Selenium as the preferred tool for automating web applications?

Probably not, mainly because: WebDriver is a W3C Spec WebDriver supports all major programming languages WebDriver is supported by all major browser vendors WebDriver is 100% open-source Cypress ...
Niels van Reijmersdal's user avatar
6 votes

Handling hidden elements in Selenium

To click on a hidden element, you can use execute_script with the parameter "arguments[0].click();" Code example: element = driver.find_element_by_xpath("//input[@id='firstname']") driver....
BorisHajduk's user avatar
6 votes
Accepted

Selenium alternatives

Selenium webdriver is W3C standard for browser automation, so any "better alternative" is a niche solution. "Record and play" tools may generate "tests" for you. Of course you will lose all the ...
Peter M. - stands for Monica's user avatar
6 votes

What are the things that one must consider while learning Selenium Webdriver Automation framework?

This is going to be blunt. I don't know a not-blunt way to say this. First, learn to code. Working with Selenium, no matter what your toolkit happens to be, is writing code. If you don't understand ...
Kate Paulk's user avatar
  • 31.5k
6 votes
Accepted

Is the Page Object Pattern the ideal approach for browser automation for a website with a frontend that has nested frames?

Yes, Page Objects seem the right direction to encapsulate the frame in frames details from the test. Page objects are a classic example of encapsulation - they hide the details of the UI ...
Niels van Reijmersdal's user avatar
6 votes

Are test-specific selectors a good idea?

I would say it is always a good idea from the standpoint of automated tests development efficiency. Unused attributes (you call them tags but they are rather the attributes) cannot be really ...
Alexey R.'s user avatar
  • 11.6k
6 votes

Are test-specific selectors a good idea?

tl;dr: class="menu-link" Putting test-specific code in production adds complexity to the production code and only helps QA. Instead, use it as an opportunity to make the production code better ...
Schwern's user avatar
  • 161
6 votes
Accepted

How do I enable ChromeDriver to use browser cache or local storage with selenium python

Yes, you are right, from Chrome capabilities documentations Use custom profile (also called user data directory) By default, ChromeDriver will create a new temporary profile for each session. ...
akane's user avatar
  • 186
5 votes
Accepted

What language/protocol do web browsers use for accepting automation requests?

The JSON Wire Protocol is on it's way to becoming accepted as a W3C standard. This means that moving forward, the vendors behind browsers will have much more incentive to implement and maintain ...
Julian's user avatar
  • 894
5 votes

How best to test file download links using Selenium

Using chrome I automate downloading the file, and then open the chrome://downloads page to retrieve the downloaded files list from shadow DOM like this: const docs = document .querySelector('...
TiagoLr's user avatar
  • 151
5 votes

Can NUnit be used for Functional and Regression testing?

Yes, you can use NUnit for functional testing. But still it is a unit-testing framework. No, you are not creating unit-tests by using a unit-testing framework to write functional tests. A unit-test is ...
Niels van Reijmersdal's user avatar
5 votes
Accepted

how do perform menu list selection in web application using selenium?

You can use the Actions API for that, given that the browser you use supports it. The following should do the trick with Chrome: Moves the mouse over the "Admin" button Waits until the "User ...
ralph.mayr's user avatar
5 votes

Should I offer my client free code maintenance?

Does your competitor offer something similar and if not, why not? Really in business nothing is free. Charge extra upfront during develop to cover the costs longterm Offer a subscription on ...
Niels van Reijmersdal's user avatar
5 votes

Should I offer my client free code maintenance?

Assuming this decision is up to you, if you think you can easily maintain the existing scripts in the short term, 'free' might be reasonable to help build the relationship with this client. However, ...
Swagin9's user avatar
  • 476
5 votes
Accepted

How to verify if a web page has been properly loaded or not?

This is an incorrect assumption. A webpage loads as follows in generic terms: Server content is received by the browser. Rendering begins starting with objects and then styles from a layout as in ...
mutt's user avatar
  • 1,693
5 votes

Canonical way to define page objects/locators in big enterprise level automation projects?

It will depend on your circumstances. Generally I consider categories such as: common identifiers used throughout the application. Examples may include login, logout, help, submit button, etc. ...
Michael Durrant's user avatar
5 votes
Accepted

Which approach should be applied when automating stories? What are the approaches or methodologies for it?

Normal approach should we automate only functional flow not caring about the UI things like font of text, font type of text, color of text, background color, images, different panels on page etc. ...
Brian's user avatar
  • 584
5 votes

How can Internet Explorer 5 be emulated in 2020?

There is no way to automate this in a way comparable to your current method. This is due to the lack of comparable automation APIs and basic action feedback. It is possible to manually test this by ...
John Keates's user avatar
5 votes

How can Internet Explorer 5 be emulated in 2020?

Here's an idea: Install Linux. I recommend using a virtual machine such as VirtualBox, which can run on a normal Windows box, to install a popular, well-maintained and lightweight system such as ...
Paddy Landau's user avatar

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