Skip to content

magdyheiba/flairstech

Repository files navigation

flairstech

Build Status

This a simple assessment for flairstech company

  • Implement a test automation framework with an object-oriented design.
  • Implement customized reports including screenshots for failures.
  • Follow checkout procedure
  • Validate order was placed from order history page.
  • data driven scenario
  • Select city , region , restaurant and order and verify them
  • Login to the website with test email.
  • Add order to the cart
  • Remove order from the cart
  • Checkout the cart and perform an actual order
  • Handle the case if the restaurant is busy
  • Verify the order details (Quantity, name , address and price)
  • Verify the amount that should be paid to the restaurant
  • Pay by cash
  • Asserting on the successful and failed order

Tech

This Task uses a number of open source projects to work properly:

And of course This assessment itself is open source with a [public repository] on GitHub.

About the Task

SHAFT is the Selenium Hybrid Automation Framework for Testing, it is:

  • Test Automation Engine.
  • A source controlled Java 14 Maven project that is easily and regularly extended and enhanced with new features.
  • Provides an easily understandable and user-friendly syntax for writing simple, robust, maintainable, and extendable tests.
  • Provides support for Data-Driven, Keyword-Driven, Modular and Behavior-Driven tests.
  • Provides extensive, yet user-friendly reporting for test execution. Fully documented with standard JavaDocs.
  • Supports web apps on Chrome, Firefox, Edge, IE, and Safari.
  • Supports mobile apps (Native/Hybrid/Web).
  • Supports testing APIs.
  • Supports testing CLIs.
  • Supports testing Databases.
  • Supports AI powered Visual Validations using OpenCV and Applitools Eyes.
  • Supports test execution on Linux, Windows, Mac, Android, and iOS.
  • Supports remote, unattended, parallel, cloud, and dockerized test execution.
  • Can be easily integrated with Continuous Integration, and DevOps solutions.

This project integrates with:

  • TestNG
  • Selenium WebDriver
  • Appium
  • Rest Assured
  • Cucumber
  • Apache POI
  • WebDriver Manager
  • Allure Reporting
  • Selenium Grid
  • Zalenium (SauceLabs, BrowserStack, TestingBot, CrossBrowserTesting, LambdaTest)
  • Docker-Selenium
  • OpenCV
  • Applitools Eyes
  • Jenkins, GitHub Actions, or any CI/CD tool

And of course This assessment itself is open source with a [public repository] on GitHub.

Installation

Plugins

This Assessment is currently working with Testng plugin

Important Notes:

  • this a GUI selenium Java project but using SHAFT_Engine
  • By default reports will be automatically generated but you can check the result of the the test by running generate_allure_report.bat
  • If the test mail gets blocked please change it with another test mail because of the fake ordering 
  • you can check the results through this link
  • You can change the test mail at the script through excel sheet at this path src/test/recources/TestDataFiles/Otlob.xlsx
  • First of all we have to clone the project from github or download it from the drive and then save POM.xml to install the dependencies and install testng plugin ,then we have 3 options :- • Run the project from Otlob_TestCases.java • Run the project from sampleTestSuite.xml • Run the project remotely by docker-compose and selenium Grid through docker-compose_native.yml and following the instructions inside it

License

MIT Free Software

About

This is a simple task for flairstech company

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published