Assertions

Assertions are checks that check whether the expected results of a step have been achieved or not. They are used to confirm that some conditions are true during the execution of the test scenario.

 

Assertions help check whether the application under test is behaving as expected. Common verification methods might include checking whether specific elements are present on a web page, whether data matches the expected format, or whether calculations produce expected results.