SHAFT_ENGINE

SHAFT is a unified test automation engine. Powered by best-in-class frameworks, SHAFT provides a wizard-like syntax to drive your automation efficiently, maximize your ROI, and minimize your learning curve. Stop reinventing the wheel. Upgrade now:

MIT License

Stars
307
Committers
42

Bot releases are hidden (Show)

SHAFT_ENGINE - 5.1.20210219

Published by MohabMohie over 3 years ago

SHAFT_ENGINE - 5.1.20210217

Published by MohabMohie over 3 years ago

SHAFT_ENGINE - 5.1.20210213

Published by MohabMohie over 3 years ago

SHAFT_ENGINE - 5.1.20210206

Published by MohabMohie over 3 years ago

SHAFT_ENGINE - 4.4.20201206

Published by MohabMohie almost 4 years ago

4.4.20201206

SHAFT_ENGINE - 4.4.20201006

Published by MohabMohie about 4 years ago

SHAFT_ENGINE - 4.4.20200921

Published by MohabMohie about 4 years ago

SHAFT_ENGINE - 4.4.20200830

Published by MohabMohie about 4 years ago

SHAFT_ENGINE - 4.3.20200810

Published by MohabMohie about 4 years ago

Issue fixes and performance enhancements
Fixed full screen bug when maximizing window during regular head execution

SHAFT_ENGINE - 4.3.20200629

Published by MohabMohie over 4 years ago

. Built-in Cucumber Keywords
. Issue fixes
. Reporting Enhancements
. Stabilization and code quality upgrades

SHAFT_ENGINE - 4.1.20200309

Published by MohabMohie over 4 years ago

Chainable Element Actions
Sikuli Actions
bug fixes

SHAFT_ENGINE - 4.1.20200224

Published by MohabMohie over 4 years ago

SHAFT_Engine 4.1.20200224

  • [✓] Implement AI Powered Visual Validations using Applitools Eyes.
    • Just add your API_KEY under src/test/properties/path.properties applitoolsApiKey
    • Then use the new Assertion/Verification and make sure to select one of the supported VisualValidationEngine techniques for Applitools Eyes; EXACT_EYES, STRICT_EYES, CONTENT_EYES, LAYOUT_EYES
    • Method signature:
      assertElementMatches(WebDriver driver, By elementLocator, VisualValidationEngine visualValidationEngine, AssertionType assertionType, String... customLogMessage)
    • Sample Code:
      private static final ThreadLocal<WebDriver> driver = new ThreadLocal<>();
      driver.set(BrowserFactory.getBrowser());
      BrowserActions.navigateToURL(driver.get(), "https://www.google.com/ncr", "www.google.com");
      Assertions.assertElementMatches(driver.get(), By.xpath("//div[@class='RNNXgb']"), Assertions.VisualValidationEngine.STRICT_EYES, Assertions.AssertionType.POSITIVE, "NEW - Using Visual AI; Applitools Eyes");
  • [✓] Implement AI Powered Visual Validations using OpenCV.
    • This Validation is performed locally, so there are no prerequisites to use it.
    • You can use the new Assertion/Verification and make sure to select the appropriate VisualValidationEngine for OpenCV; EXACT_OPENCV
    • Method signature:
      assertElementMatches(WebDriver driver, By elementLocator, VisualValidationEngine visualValidationEngine, AssertionType assertionType, String... customLogMessage)
    • Sample Code:
      private static final ThreadLocal<WebDriver> driver = new ThreadLocal<>();
      driver.set(BrowserFactory.getBrowser());
      BrowserActions.navigateToURL(driver.get(), "https://www.google.com/ncr", "www.google.com");
      Assertions.assertElementMatches(driver.get(), By.xpath("//div[@class='RNNXgb']"), Assertions.VisualValidationEngine.EXACT_OPENCV, Assertions.AssertionType.POSITIVE, "NEW - Using Visual AI; OpenCV");
  • [✓] Implement AI Powered Visual Validations infrastructure and workflow.
    • The first time you use a certain VisualValidationEngine (Eyes/OpenCV) a screenshot is taken and saved as a reference image, and the Test step is marked as PASS.
    • For all following test runs the actual image is compared against the expected image using the desired VisualValidationEngine, and the Test step is marked as PASS or FAIL accordingly.
    • In case you're using OpenCV, you can access your reference images from this path src\test\resources\DynamicObjectRepository
    • In case you're using Applitools Eyes, SHAFT_Engine will provide you with the link to manage your Applitools Dashboard in the report under 'Current Method Log' and in the Console while you execute your test.
  • [✓] Refactor Verifications library to use the unified ValidationActions Library to maintain consistent logging and reporting.
  • [✓] Updated SHAFT_Engine API documentation.
SHAFT_ENGINE - SHAFT_ENGINE-4.0.20200220-beta

Published by MohabMohie over 4 years ago

SHAFT_ENGINE - 4.0.20200123-beta

Published by MohabMohie over 4 years ago

SHAFT_ENGINE - 4.0.20191208-alpha

Published by MohabMohie almost 5 years ago

In this new version you'll enjoy several fixes and enhancements throughout the automation engine, introducing new features with focus on AI and Computer Vision and most importantly Support for Appium!!!

This means that you can finally use SHAFT_Engine to drive all of your Web GUI + Mobile GUI (Web, Native, Hybrid) + API + CLI (Local, Remote, Dockerized) + DB (MY_SQL, SQL_SERVER, POSTGRE_SQL, ORACLE, IBM_DB2) Test Automation all in one place, with a single consolidated report! 🐉

You can start using the latest SHAFT_Engine right now for free by forking this project on GitHub:
https://github.com/MohabMohie/using_SHAFT_ENGINE

SHAFT_ENGINE - 3.1.20191015

Published by MohabMohie about 5 years ago

reporting enhancements and minor bug fixes
initial upgrade to 4.0.0-alpha-3 and initial support to relative locators

SHAFT_ENGINE - 3.1.20190926

Published by MohabMohie about 5 years ago

SHAFT_ENGINE - 3.1.20190915

Published by MohabMohie about 5 years ago

SHAFT_ENGINE - 3.0.20190826

Published by MohabMohie about 5 years ago

initial release with new group id

SHAFT_ENGINE - 2.6.20190822

Published by MohabMohie about 5 years ago

Related Projects