Skip to content

Designed to facilitate automated testing across Web UI, Mobile UI, and API platforms

License

Notifications You must be signed in to change notification settings

egecansen/Unified-Automation-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unified Automation Template

Overview

The Unified Automation Template is designed to facilitate automated testing across Web UI, Mobile UI, and API platforms. It supports scenario tagging for selective test execution, making the process flexible and manageable.

The CommonSteps class stores the generic UI steps and saves us from the repeated code. The ObjectRepository class is used for storing the page object instances; the page objects are automatically instantiated when the element of that page is interacted with. The PageObject class is for overwriting Selenium's default field decorator to be able to use WebComponents.

Features

  • Multi-Platform Testing: Supports Web UI, Mobile UI, and API automation.
  • Scenario Tagging: Enables running specific test scenarios using tags.
  • Customizable Driver Selection: Defaults to Chrome for Web UI, with the option to choose other drivers.
  • Headless Execution: Supports headless mode via configuration.

Prerequisites

  • Java 17
  • Maven
  • Appium (for mobile testing)

Setup

  1. Clone the repository:
git clone https://github.com/egecansen/Unified-Automation-Template.git
cd Unified-Automation-Template
  1. Configure the test.properties file to set desired properties such as headless execution, appium configurations and api auth credentials.

Running Tests

  • Run all tests:
mvn clean test
  • Run specific scenarios using tags:
mvn clean test -q -Dcucumber.filter.tags="@SCN-RestfulBooker-01"
  • Headless execution (adjust in test.properties):
headless=true

About

Designed to facilitate automated testing across Web UI, Mobile UI, and API platforms

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published