Skip to content

ledangtoanthang315/fullstack-qa-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. FullStack QA Automation Framework

This repository contains a complete FullStack QA Automation framework that supports:

  • Web UI Testing (Java + Selenium + TestNG)
  • Mobile App Testing (Appium for iOS)
  • Environment Config Management (Dev/QA/Staging)
  • Reporting with Allure
  • CI/CD Integration Ready (Jenkins compatible)
  1. Project Structure

fullstack-qa-framework/ ├── pom.xml ├── testng.xml ├── Jenkinsfile ├── README.md ├── src/ │ ├── main/java/ │ │ ├── config/ │ │ │ └── EnvConfig.java │ │ └── drivers/ │ │ └── DriverFactory.java │ └── test/java/ │ ├── base/ │ │ └── BaseTest.java │ ├── web/ │ │ ├── pages/ │ │ │ ├── LoginPage.java │ │ │ ├── DashboardPage.java │ │ │ ├── CreateChallengePage.java │ │ │ └── MyChallengesPage.java │ │ └── tests/ │ │ └── WebE2ETest.java │ ├── mobile/ │ │ ├── pages/ │ │ │ ├── MobileLoginPage.java │ │ │ ├── PortfolioPage.java │ │ │ └── LogoutPage.java │ │ └── tests/ │ │ └── MobileE2ETest.java │ └── resources/config/ │ ├── dev.properties │ ├── qa.properties │ └── staging.properties

Getting Started

  1. Prerequisites
  • Java 11+
  • Maven
  • Node.js + Appium (for mobile tests)
  • Allure CLI (brew install allure)
  • IDE: IntelliJ IDEA or VS Code
  1. Clone the project

git clone https://github.com/ledangtoanthang315/fullstack-qa-framework.git cd fullstack-qa-framework

  1. Web UI Test Flow (CTFLearner) Scenario: a. Login to https://ctflearn.com b. Create a Challenge c. Verify it's listed under "My Challenge" d. Logout

Run: mvn clean test -Denv=qa

  1. Mobile Test Flow (iOS App) Scenario: a. Launch mobile app b. Login with email/password c. View Portfolio d. Logout

Run: mvn clean test -Dtest=MobileLoginTest

  • Update the .app path in MobileLoginTest.java
  1. Allure Reporting
  • Generate and open report: mvn clean test allure serve target/allure-results
  1. Jenkins Integration
  • Add Maven build step: mvn clean test -Denv=qa
  • Publish Allure Reports with plugin: Allure Jenkins Plugin

About

FullStack QA Framework with Selenium, Appium, TestNG

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages