Cucumber in Web testing (part 2 of 8)

2. How to install cucumber in Eclipse To start using cucumber in eclipse we need to install few things: First of all eclipse and Java Development Kit (JDK) need to be installed on the computer. Ones eclipse finished with the installation we are able to install “Cucumber Eclipse Plugin” with eclipse built-in plugin installation tool. […]

Read more
Benefits of using default methods in interfaces (JDK8) in web testing with selenium

Programming language Java doesn’t allow multiple inheritances. Java uses interfaces to simulate multiple inheritances without importing its disadvantages. The cost of this is that method implementation was not possible in interfaces until JDK 8. JDK 8 contains a new feature which allows us to create default implementation for interface methods. Simply just add keyword “default” […]

Read more
Secure use of sendKeys() on pages created with Angular

We recently faced with an Selenium’s sendKeys() method issue which is related to the page which was made in Angular 1.5.8 (Most likely the same issue can be discovered in different versions). In most of the cases, the input field filled by sendKeys() method will contain just part of the desired text. Most often you […]

Read more
Read out browser console logs in java with selenium 2.53.1

Sometimes the usual test log and screenshot is not enough to find the reason of the failed test case. Especially when the test case occasionally fails in special circumstances and it is really hard to reproduce. For this reason, we need to collect for each fail as much information as possible. One possible source of information is the console output of the browser.

Read more
Running webdriver code in JMeter

With the improvements in technology more and more of the business logic gets executed on the client side and it’s not easy to get a clear picture of the perceivable performance by using pure JMeter tests only. To extend these measurements JMeter-Webdriver plugin in JMeter can be handy to run WebDriver tests using actual browsers […]

Read more
Cross-browser compatibility test using virtual machines

In my previous post I described cross-browser compatibility testing using online services. This time I will focus on cross-browser testing using virtual machines. To be sure that your application will work as expected, you will need to test it in every supported browser/operating system (this means different versions of different browsers and different versions of […]

Read more
Cross-browser compatibility test

It is important to test a web page in different versions or releases of a web browser, including differing versions within a single browser offering (especially Internet Explorer). Internet Explorer has various versions still actively supported. It is impossible to install all browsers on one machine. To install different versions of browsers on different versions […]

Read more