Browser extensions for testing

Here are some interesting browser extensions/add-ons that might be helpful:

Test IE -  Test websites in real Internet Explorer (IE6, IE7, IE8, IE9, IE10 and IE11) straight from Chrome browser, through BrowserStack.

Browserling - Cross-browser testing - Browserling is a live interactive cross-browser testing service that provides effortless cross-browser testing for web developers and web designers.

aXe - Accessibility testing in Chrome Developer ToolsAutomated tool to find Accessibility defects on your web site by using the aXe Chrome extension. Drop the aXe on your accessibility defects!

JaSON - JSON and XML test utility.A simple, easy to use utility for testing and debugging JSON and XML web services. Send requests over HTTP or HTTPS and see formatted, syntax highlighted responses. Also supports sending of form encoded request parameters. Supports the following HTTP operations: - GET - POST - PUT - DELETE - HEAD

Wizdler - Parses the WSDL files and generates SOAP messages for you.

YSlow - YSlow analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages. YSlow grades web page based on one of three predefined ruleset or a user-defined ruleset. It offers suggestions for improving the page's performance, summarizes the page's components, displays statistics about the page.

Firebug Lite - Firebug Lite provides the rich visual representation we are used to see in Firebug when it comes to HTML elements, DOM elements, and Box Model shading. It provides also some cool features like inspecting HTML elemements with your mouse, and live editing CSS properties.

Web Developer Checklist - Analyses any web page for violations of best practices

Postman - Postman helps you build, test, and document APIs faster. Postman features include: - History of sent requests - Create requests quickly - Replay and organize - Switch context quickly - Built-in authentication helpers - Customize with scripts - Robust testing framework - Automate collections

Advanced REST client - The web developers helper program to create and test custom HTTP request

Proxy SwitchySharp - Manage and switch between multiple proxies quickly & easily. Based on "Proxy Switchy!" & "SwitchyPlus"

Bug Magnet - Right-click context menu to help with exploratory testingExploratory testing assistant for Chrome. Adds common problematic values and edge cases to the context menu (right-click) for editable elements, so you can keep them handy and access them easily during exploratory testing sessions.

Yet Another Lorem Ipsum Generator - Inserts - paragraphs of variable length - titles - specific or random dates - mail addresses - internet addresses All functionality is also accessible from the context menu.

Exploratory Testing Chrome Extension - Exploratory testing session using ChromeA Chrome extension designed for making web exploratory testing easier Features: - Report bugs, ideas, notes and questions easily - Take screenshots during the session. Keep focused - URL will be tracked automatically - See session results in a report - Export session to CSV or HTML


LeanFT - Proof of Concept

Findings and POC for using LeanFT as part of the Contentious Integration build:

  1. LeanFT uses the UFT SDK 
  2. Allows coding your tests in C# and Java in your favorite IDE (documentation is focused around Visual Studio and Eclipse)
  3. Any add-in can be automated Standard Windows, WPF, .NET, Mobile etc..


You should now see: C:\Program Files (x86)\HP\LeanFT\bin

Browser Prerequisite:

  • In the Firefox browser menu, select Add-ons and then click Extensions. Drag the Agent.xpi file from the%LeanFT%\Installations\Firefox folder to the Firefox Extension page and click ‘Install now’.
  • If you are testing against Chrome ensure the LeanFT plugin is enabled from Chrome Settings -> Extensions.
  • With IE, go to Settings -> Manage Addons where HP Functional Testing Agent must be enabled.
Download the sdk jars/dll:

SDK reference:

Test Automation skills for 2016

I would not agree with all the graphs here but a good depiction of what's hot in the market:

Source: http://blog.testproject.io/2015/12/03/worlds-most-desirable-automation-skills/


parent = 'null' cardNumber = 'null' while running serenity using Maven

Technology Stack: Serenity + Cucumber + Jnit

Problem: If you have been using Serenity and have seen that your reports don't show up the capabilities/epics that have been run. If you dig further you would notice that in your logs there is a statement where the epics/capability isn't able to find its parent, cardNumber


What would not work:

  • Updating pom file
  • Using latest jars 
What works: Path to the requirements directory like this:

serenity.requirements.dir = src/test/resources/features

Issue while setting up TestNG and Maven from Scratch

Here is what a good friend of mine was facing with TestNG and Maven: 


For your Blog:

Issue while setting up TestNG and Maven from Scratch:

Eclipse TestNG Plugin Version which is higher than TestNG jar in your pom dependecy, will fail to either Start or Quit the driver.

For example, I downloaded TestNG Eclipse plugin 6.9.10, but my pom.xml had a dependency on version 6.9.9. I kept getting the Unreachable Browser Exception for IE, Chrome and Mozilla.

I downloaded TestNG plugin 6.9.4, which is more stable, but my pom.xml had a dependency on version 6.8. The webdriver struggled to open and reported a "java.net.SocketException: Software caused connection abort: socket write error", though my test completed successfully. I received this error again across all 3 drivers, i.e Firefox, IE and Chrome.

So to fix the above issues, I kept the plugin version 6.9.4, but increased the pom dependency on Test NG jar to 6.9.9. Result was a smooth execution.

I hope this piece of information can be of some help to people struggling setting up maven and testng for the first time.



Source: Email from Siddharth Dhar

Failed while enforcing RequireUpperBoundDeps - Maven IntelliJ

Problem: If you are using Maven and you have the enforcer plugin , you might see the error "Failed while enforcing RequireUpperBoundDeps"

Solution: Since we almost always make changes in a backward-compatible manner, it looks like the best solution for us is to ensure that the latest versions of dependencies are used. The Maven Enforcer plugin with the "Require Upper Bound Dependencies" feature accomplishes this.
This rule requires that the version for each dependency resolved during a build, is equal to or higher than all transitive dependency declarations. The version of each dependency resolved during the build will normally be the version specified in the POM or the version with the least transitive steps (the "nearest" definition). For more information about Maven dependency resolution, see the Maven site.