/assert

Ensure some criteria is true within your test.

Use the /assert to command generate an assertion. This will take a screenshot and use it to identify some criteria that ensures the task was complete.

/assert No error message is displayed

This will "assert" that there's no error message, just like a user would see. The generated command will look like this:

- command: assert
  expect: There is no erorr message

When TestDriver runs this test, it will look at the screen and verify that the value of expect is true. If it is not true, the test will fail and exit immediately.

Many asserts can slow down a test. Use async: true to speed things up.

- command: assert
  expect: There is no erorr message
  async: true

Last updated