Home » Tag Archives: Selenium

Tag Archives: Selenium

Spring Boot Integration Testing with Selenium

selenium-logo

Web integration tests allow integration testing of Spring Boot application without any mocking. By using @WebIntegrationTest and @SpringApplicationConfiguration we can create tests that loads the application and listen on normal ports. This small addition to Spring Boot makes much easier to create integration tests with Selenium WebDriver. Test Dependencies The application that we will be testing is a simple Spring ...

Read More »

Selenium Test Automation with Maven

selenium-logo

Today i want to help you manage your Automated GUI Tests (Selenium) better. In the past i have seen many different ways people handle this. Some people just write those plain HTML TestCases with Selenium-IDE, store it somewhere on the HDD and run manually when needed. Others dont even use Selenium-IDE. They write pure Java for Example, and automate their ...

Read More »

Java testing with Selenium and dynamic ids in html

selenium-logo

One of the cool aspects of Selenium, is that not only can you record yourself using a site, you can actually run this as a junit test. Firstly, I’ll install Selenium in Firefox (as this is the official version) and record a quick test.  It’s important to note that Selenium will give you a number of different ways to remember ...

Read More »

Spring Selenium Tests With Annotations

selenium-logo

This post describes how to implement Selenium tests in Java. It is inspired from the post by Alex Collins, with annotations. The code is available on GitHub in the Spring-Selenium-Test directory. Some alternative and much lighter techniques are available to unit test a Spring MVC application. To unit test services, see here.               Page, ...

Read More »

A Selenium/WebDriver example in Java

selenium-logo

A couple of years back, I was pitching for some work and the client wanted to see how I would tackle a real world problem. They asked me to automate some tasks on the woot.com web site. The task was to go to various woot web sites and to read the product name and price of the offer of the ...

Read More »

Integration Testing with Selenium

selenium-logo

Overview I’ve been using this for sometime and I’ve come across a few things that appear to make life easier. I thought I’d share this as a tutorial, so I’ll walk you through these parts: Setting up a web project using Maven, configuring Selenium to run as an integration test on a C.I. Look into good ways to model the ...

Read More »

The Java EE 6 Example – Galleria – Part 3

oracle-weblogic-logo

The previous posts ( Part1 | Part 2 | Part 3 | Part 4) about the Galleria example guided you through the basics and the initial deployment to both GlassFish and WebLogic. From today on I try to add some enterprise grade features to it as I have seen them requested a lot in my own projects. I know Vineet ...

Read More »

The Java EE 6 Example – Galleria Part 2

oracle-weblogic-logo

You probably followed me with the last Java EE 6 Galleria example posts. The first one was the basic introduction. The second one was about running it on latest GlassFish. Someone of the RedHat guys mentioned, that we should look into bringing this example off from GlassFish. Great ;) Thanks for the nice idea. That is exactly what we are ...

Read More »

Beyond JUnit – Testing Frameworks alternatives

selenium-logo

JUnit is the defacto Java unit testing framework, but there’s a couple of new (and not so new) frameworks out there for web development that might be of interest. Questions you might want to ask yourself prior to adoption: Are they fast and easy to develop and therefore low cost?  Are they fast to run and therefore encourage adoption?  Do ...

Read More »

Testing GWT Apps with Selenium or WebDriver

google-gwt-logo

Good functional testing is one of the most difficult tasks for web application developers and their teams. It is a challenge to develop tests that are cheap to maintain and yet provide good test coverage, which helps reduce QA costs and increase quality. Both Selenium and WebDriver (which is essentially now the successor to Selenium) provide a good way to ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.