Skip to content

magdyheiba/NagwaTask

Repository files navigation

Nagwa Task

Build Status

This a simple assessment for Nagwa company

  • Implement a test automation framework with an object-oriented design.
  • Implement customized reports including screenshots for failures.
  • Follow checkout procedure
  • data driven scenario
  • Open google site
  • Click sign in link
  • With an already created account sign in
  • Click compose button
  • Send an email to any recipient you want
  • Insure that email sent from sent items inbox

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
  • 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/Google.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 Gmail_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 nagwa company

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published