Machine Learning(ML) Assertion
  • 19 Jul 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Machine Learning(ML) Assertion

  • Dark
    Light

Article Summary

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!

Scenario 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

KeywordDescription
Element Should Be VisibleVerify that the target element is visible
Element Text Should BeVerify that the string of the target element matches the specified string
Element Should ContainVerify that the target element contains the specified string
Element Should Not ContainVerify 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

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
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.