While testing one of my Internet Explorer setups within Browserstack (Win10, IE11, Selenium 3.10 – all are latest production versions), I’ve noticed that after my tests just started I would randomly get: Exception in thread “Thread-4” org.openqa.selenium.UnsupportedCommandException: Error 404: Not Found Not Found Command duration or timeout: 32 milliseconds […] Driver info: org.openqa.selenium.ie.InternetExplorerDriver Capabilities [{platform=WINDOWS,…
Adobe Experience Manager test automation frameworks overview
Over the past year, I’ve been working with some various automation frameworks (for front-end testing) that are dedicated for AEM. Here is a short list that I’ve found: – Bobcat : https://github.com/Cognifide/bobcat – Hobbes.JS : https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/test-api/index.html Both frameworks have advantages and disadvantages and I encourage you to test them both out. Of course, you can…
Firefox Quantum and Selenium Webdriver
So last month, Firefox Quantum was released – as I previously announced. After 3 weeks of extensive testing, we can safely assume that is it SAFE for the most common operations and actions that are available in the Selenium JAVA library. If you are feeling brave, you can update to the latest production versions (at…
Selenium WebDriver and IE11
I was running Selenium WebDriver 3.5 on Windows 8.1 and using Internet Explorer 11. The test was just opening the google web page. Internet Explorer opened correctly and displayed the google page but then the test failed with the error: OpenQA.Selenium.NoSuchWindowException : Unable to get browser It turns out this is an issue with Internet…
Regular Expressions (regexp) helper and Generator
I’ve just came across a new tool that you might find handy: https://regexr.com/ – a nice online tool for generating regular expressions 😉 Keep in mind while using this: While the core feature set of regular expressions is fairly consistent, different implementations (ex. Perl vs Java) may have different features or behaviors. RegExr uses your…
Operating System Detection in Java
Here is the code snipped of the day: if you want to do a basic Operating System detection in Java (for some specific Selenium routines, let’s say), you can use a simple class like the one below. public final class OSDetection { public static String OS = null; public static String getOsName() { if (OS…
Command line tools for data processing (CLI tools)
I’ve recently came across an excellent list of command line tools from Jeroen Janssens blog. You can use them to sort / list / organize your test results in order to store them in almost any reporting tool. BigMLer crush-tools csv2sqlite csvquote data-tools repository feedgnuplot Grinder repository HDF5 Tools littler mallet RecordStream subsample xls2csv XMLStarlet…
Automating Adobe Experience Manager with Hobbes.JS
Since AEM 6.0, Adobe introduced a test automation framework called Hobbes.JS that can provide functional automated tests for the AEM UI. The stock Hobbes.JS package from Adobe provides: A JavaScript API for creating tests. A Test panel in the touch-optimized UI for running tests. Initially, we started to develop for one of our clients an…
Good bye Firebug! All hail DevTools!
Since yesterday, Mozilla pushed in the official update channel of Firefox (now version 51) the latest version of Developer Tools. Why is this so important? Because right now, the Firebug extension is no longer supported. (*ding* to web developers and automation engineers) As per the official blog post, you are invited to update to the…