Skip to content

Releases: ShaftHQ/SHAFT_ENGINE

5.1.20210206

06 Feb 00:11
Compare
Choose a tag to compare
version bump - preparing for new release

4.4.20201206

06 Dec 13:18
2312273
Compare
Choose a tag to compare

4.4.20201206

4.4.20201006

06 Oct 13:33
64afe85
Compare
Choose a tag to compare
Merge pull request #202 from MohabMohie/4.4.x

4.4.20201006

4.4.20200921

21 Sep 10:35
26be8f4
Compare
Choose a tag to compare
Merge pull request #199 from MohabMohie/4.4.x

4.4.20200921

4.4.20200830

30 Aug 13:46
a0abaa5
Compare
Choose a tag to compare
Merge pull request #192 from MohabMohie/4.4.x

4.4.x

4.3.20200810

10 Aug 12:51
3bb2486
Compare
Choose a tag to compare

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

4.3.20200629

29 Jun 11:16
e3cb63b
Compare
Choose a tag to compare

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

4.1.20200309

10 Mar 05:54
c2a089e
Compare
Choose a tag to compare

Chainable Element Actions
Sikuli Actions
bug fixes

4.1.20200224

24 Feb 09:43
Compare
Choose a tag to compare

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-4.0.20200220-beta

20 Feb 09:04
037cec5
Compare
Choose a tag to compare
Merge pull request #61 from MohabMohie/4.0.x_intelliJ

4.0.x intelli j