Machine learning(ML) Assertion
  • 14 Jun 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Machine learning(ML) Assertion

  • Dark
    Light

Public Beta

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!

Senario detail page

  1. Go to a Scenario details page
  2. Press "ML Assertion" at the top of the screen where you want to add an assertion
    CleanShot 2022-06-06 at 01.12.37.png
  3. Select assertion keywords and expectations to be used
    CleanShot 2022-06-06 at 01.15.32.png
  4. Once the information is added, you will be able to press “Save”

On Recording page

  1. Start recording
  2. Select ML Assert from terminal operations
    CleanShot 2022-06-06 at 01.16.42.png
  3. Select assertion keywords and expectations to be used
    CleanShot 2022-06-06 at 01.15.32.png
  4. 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 exactly 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

  1. Functional performance check and UI/UX improvement
  2. Integration of Assertions and ML Assertion

First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.