Releases: ShaftHQ/SHAFT_ENGINE
4.1.20200309
Chainable Element Actions
Sikuli Actions
bug fixes
4.1.20200224
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");
- Just add your API_KEY under src/test/properties/path.properties
- [✓] 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
Merge pull request #61 from MohabMohie/4.0.x_intelliJ 4.0.x intelli j
4.0.20200123-beta
minor fixes fixing issue with https for first time allure download fixing issue when the actual response is a json array
4.0.20191208-alpha
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
3.1.20191015
reporting enhancements and minor bug fixes
initial upgrade to 4.0.0-alpha-3 and initial support to relative locators
3.1.20190926
adding support for IBM DB2
3.1.20190915
Merge pull request #57 from MohabMohie/3.1.x 3.1.x
3.0.20190826
initial release with new group id
2.6.20190822
adding missing default properties