Test Automation Framework for Web Application using Java

user3000430 picture user3000430 · Nov 16, 2013 · Viewed 22.8k times · Source

I am beginning to write a Test Automation Framework in Java (language that I am comfortable with) for my Web Application. Currently, it is entirely tested on UI. No Backend / API testing in near sight.

I plan to use Selenium Web Driver. This framework will support both Functional/Integration and Performance testing.

I am building with Open Source Solutions for the first time (over using tools like LoadRunner) and my needs are this framework will work with Continuous Integration tools like Jenkins/Hudson and an in-house Test Management tool for reporting results.

I searched for this specific scenario but could not find one. I know there will be numerous integrations, plug-ins, etc... that needs to be built. My question is can you provide some pointers (even good reads is OK) towards beginning to build this framework with Open source solutions ?

Answer

Ittiel picture Ittiel · Nov 17, 2013
  • Selenium will allow you to automate all your web (browsers) actions automations.
  • Junit/TestNG as the testing framework, including their default reports system
  • Maven for the project management and lifecycle (including test phase with surefire plugin)
  • Jenkins is a good integration tool that will easily run the setup above

Good luck!