- Print
- DarkLight
Machine Learning (ML) Assertion
This is a public beta feature. It is available to everyone.
What is ML Assertion?
Autify's Machine Learning technology uses the large amount of training data available in Autify to understand element information and make assertions on any element on the screen. Autify's Machine Learning technology recognizes the elements and enables the user to easily select which elements to assert against.
How is ML Assertion different from other assertion methods?
With ML Assertion, the methods used to recognize elements on the screen are different. This means that ML Assertion is able to support apps created with a wider variety of app development languages and libraries such as Objective-C, Swift, Flutter, React Native, and so on. ML Assertion also provides an improvement in performance compared to previous assertion methods.
(Note: There is no additional work or changes in behavior required to use ML Assertions)
How to use ML Assertion
It is easy to use!
Scenario detail page
- Go to a Scenario details page
- Press "ML Assertion" at the top of the screen where you want to add an assertion
- Select assertion keywords and expectations to be used
- Once the information is added, you will be able to press “Save”
On Recording page
- Start recording
- Select ML Assert from terminal operations
- Select assertion keywords and expectations to be used
- Once the information is added, you will be able to press “Save”
ML Assertion keywords and descriptions
Keyword | Description |
---|---|
Element Should Be Visible | Verify that the target element is visible |
Element Text Should Be | Verify that the string of the target element matches the specified string |
Element Should Contain | Verify that the target element contains the specified string |
Element Should Not Contain | Verify that the element does not contain the specified string of characters |
Future Development Plans
- Functional performance check and UI/UX improvement
- Integration of Assertions and ML Assertion