Validating outcomes with assertions is a fundamental component of automated testing. To improve this experience, we recently redesigned the assertion creation experience in the mabl Trainer!
Optimized layout
Starting with mabl Desktop App version 2.43.0, you’ll notice a new, optimized layout when you create an assertion in the Trainer:
The new assertion menu surfaces the most common assertion types first:
- Screen - GenAI-powered visual assertions on the current viewport
- 要素 - validate visual characteristics (with GenAI) or properties/attributes for a specific page element
- Variable - assert against test variable values
For browser tests, click on More to view additional assertion options:
- URL - check URL components like pathname, search params, and hash
- Cookie - verify cookie name, value, domain, path, and expiration
- Email - validate sender, subject, and body text with permanent mailbox support
In mobile tests, the assertion creation form adjusts for native vs. WebView element modes.
Share feedback
Got another idea for improving the user experience with assertions in the Trainer? Let us know in the Product Portal! Your feedback helps us build a better product for you and our community!