/STCTV

STCTV

Primary LanguageJavaMIT LicenseMIT

A sample project for STC TV using the SHAFT_Engine template

SHAFT_ENGINE

I. Running some Tests 🏃

  • Navigate to the module that you want to play with. For example GUI_Web
  • Navigate to any test class. For example src/test/java/TestPackage/TestClass.java
  • Press the green play button next to the class name to run the entire class, or next to a test method to run only that method.
  • Test execution will begin, and you'll see the browser opening and the test running.
  • The Test execution report will open automatically in your default web browser after the test run is completed.
  • You can open the detailed allure report by running the generate_allure_report executable in your project root directory.

Allure Report

II. What's next?

Configuration and User Guide

  • Change the target browser, operating system, timeouts, and other configurations using the ⚙️ Configuration Manager.
  • Learn more about using SHAFT_Engine from the 👤 User Guide and 📚 Javadocs.
  • Join our GitHub Repo stars to get notified by email when a new release is pushed out.
  • Configure TestNG.properties to use setParallel=METHODS and setThreadCount=3 to run in parallel.
  • Configure custom.properties to use targetBrowserName="chrome" or targetBrowserName="firefox" or targetBrowserName="safari" to change the target browser.

CI/CD & DevOps

  • This template comes preloaded with some Selenium grid 4 powered CI/CD pipelines to get you started!
  • Navigate to "Actions" and then select "Desktop Browser Tests" from the side menu
  • Click "Run workflow" and confirm your choice.
  • You will notice that the pipeline has started building, and you can download the execution reports once the execution is completed.

GitHub Actions

Stop Reinventing the wheel! Start using SHAFT!