Skip to content

kokart/liferay_automated_testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Liferay Test Exercise

This is a project based in MAVEN and TESTNG to create two automated test for Liferay using Selenium. You only need have configured eclipse (or your favourite IDE), maven and testng plugin. Chromedriver is also included.

It's using Page Object Model pattern. We have a class called FormPage where we have defined all elements from it and the methods to get the Objects. Furthermore, we have two main class called BasePage and BaseTest which are used for the rest of Pages and Test.

The example has a test using DataProvider and if it fails, a screenshot is taken and stored on $PATH_SCREENSHOTS

Now it's running CircleCI and TestingBOT as selenium hub. Chromedrive local file is included but if you want to launch in local you should rename a file called locale to local. This file can be found on resources folder, next to chromedriver.exe.

About

Two automated tests using Selenium in Java used as an acceptance test for Liferay Forms application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages