Changing user agent with webdriver

Not so long ago we had to implement a test case where the user goes to a page with an “unknown” browser.
I had to spend some time to find out the proper configuration and made a small post about it to avoid doing it again.

All you have to do is to change the default user-agent. You can do this by instantiating a new ChromeOptions object and add you user agent as an argument.

Very Short example:

public class SampleTestClass  {

public void sampleTest(){

ChromeOptions chrome = new ChromeOptions();

WebDriver driver = new ChromeDriver(chrome);

// you can check your user-agent on this site



Advanced Google Drive features for max productivity

Google Drive is a file storage and synchronization service provided by Google. Most people think that Google Drive is just a rebranding of Google Docs. However, it is much more than that. Besides the Google Docs office suite, it offers cloud storage, file sharing and collaborative editing.

With the integration of web based apps into Google Drive many features that it lacked are now only one click away. Need to send a fax? Use Hellofax. Need to eSign a document? DocuSign comes to the rescue. Whatever your needs, there is probably an app for it.

Some thoughts on Sauce

We’re started using this service a long time ago, and I can say they improved a lot in the recent years.
It became a reliable cloud system for running automated tests and for manual testing with a wast amount of virtual machine/browser combinations and what I love about them that almost everything is documented.


VisGrid – a GUI for Selenium Grid

VisGrid is a very useful GUI tool to start/stop the Selenium hub and to add/remove nodes to it.
First step to download the program from and to extract wherever you want.
We can start to program with the ‘VisGrid.jar’ file.


Screen recording – screencast – part II

In my previous post I have started introducing Jing. This time I will continue with Jing options and after that I will describe Box Simple Share.


After the record window was selected, there will be displayed the following options: Capture Screenshot, Capture Video, Redo selection and Cancel.

Checking the page links

Nowadays, by the technical advancement, people are meeting more and more issues, which are waiting to be solved. It’s clear, that everyone wants to find the simplest way, but sometimes the simplest is the worst way.
The complexity of the different tasks resulted on the end that there is no man/woman in the world who don’t make any mistakes. There are always unpredictable things, missing settings, elements and that is because we need to test the websites as effective as possible. But how to check all the page links on the page at once? (Checking all the links can mean finding viruses, too.)


What is DebugView?

DebugView is a Windows application that lets you monitor debug output on your local system, or any computer on the network that you can reach via TCP/IP. It is capable of displaying both kernel-mode and Win32 debug output generated by standard debug print APIs. With it you can debug other Windows applications or drivers without a Debugger. One of the harder classes of bugs to find are those which occur in release code but not debug.

Screen recording – screencast – part I

Every tester will agree, that every well written issue should contain screenshots. Screenshots will help to explain the issues. But what about the complex issues, when have to click on more different places, execute complex operations to get the issue. You can take screenshot after every click and add explanation for every image. This can be solution, but a video is much better.

There are many situations when the screenshots are simply not enough. In this cases the best solution is to make video of the issue. There are many programs for screen recording. Some of them are totally free, some of them have a free and a commercial version.

Graphwalker – how to make *.graphml file to use with Graphwalker API

As we mentioned in “how to start guide” you can generate Java Class from *.graphml file which you created in yEd. First let’s go through the process of making one basic *.graphml file.
Let’s say that we want to make one login smoke test for a random website. The model can be look like the following:

Graphwalker – how to start guide

Graphwalker ( is a state machine based tool, written in Java, generating sequences of tests both for online and offline testing. Diagrams are not UML models (which do not have any functionality) and as a result, much easier to get start with them.
The goal is to create long and unpredictable test sequences. The tool allows to create unique variation of paths across the edges and make these all randomly. The models do not contain any stop or exit points, however stop criteria make it possible to shut them down. In online test cases it makes possible to create the „walking path” during the actual execution. Graphwalker also supports switching between models.