Skip to content

Web test automation example project using Java, Maven, TestNG, Selenium3, Appium and Page Object Model (POM)

Notifications You must be signed in to change notification settings

dao-wolf/test-automation-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Automation with Java

Web test automation example project using IntelliJ IDEA Community, Java, Maven, TestNG, Selenium 3, Appium and Page Object Model (POM)

Test Subject

I've picked www.bbc.co.uk as a test subject for no particular reason. It's is a large site and does have variety of features that we can play around with.

Libraries and Frameworks

Version for some of these can be found in the POM file.

  • Selenium - Web automation
  • Appium - Mobile automation
  • Maven - Build and package management
  • TestNG - Test execution and Reporting

Tools

Using IntelliJ IDEA Community version. I've previously used Eclipse and found it to be a little bit slower and not as intuitive, you're free to try both and decide for yourself. Also there are a lot of comparison articles out there already.

Programming Language

I'm using Java SE version jdk1.8.0_111 and it works very well. There are a couple of good reasons to use Java:

  • It's been around for a while so there are a lot of solutions for most problems and if not then somebody from the community will be able to suggest an answer quickly.
  • It's OpenSource - there are large, well supported communities sharing free libraries.
  • Because of the above two points it's possible to automate (testing) checking for iOS (Web and Native), Android (Web and Native) and Web platforms.