Rapise lets you add verification points to your test scripts so that you can make sure your tests are producing the expected results and behavior during testing. You can add verification points during recording or manually after the fact using the IDE.
When executing automated tests you will almost always need to check that the system is behaving as expected and that the data displayed on the screen matches your expectations. Rapise includes a powerful test verification system that makes it easy to create and add new verification steps and checkpoints during recording, as well as a powerful validation framework that can be extended through the scripting in the IDE. With Rapise you can perform positive and negative testing using the same script.
When recording or learning objects during test creation, you can use the handy ‘Verify’ option to display graphically the properties available for the object under test:
From here you can choose which properties you wish to verify and the system will add them to the list of recorded actions:
Upon completing the recording or learning session, the objects will be included in the reusable object repository and the verification actions will be automatically included in the generated test script as verification steps.
In addition, you can of course view and edit all of the test checkpoints and verification points directly in the IDE using the script editor:
Using the built-in Tester object you can write tests for the various objects being tested using any of the available properties, regardless of whether the application is a desktop, web or mobile application.
In addition to verifying simple object properties such as text and height, Rapise provides some additional, powerful tools to make the job of the tester even easier.
Sometimes there is an object that does not render as text and you need to verify that it is displayed as expected. Rapise provides built-in support for extracting an application object as a bitmap and comparing it against the reference image. It can even convert the image to black and white to aid in the comparison.
Sometimes there is an object that has data that will vary depending on the state of the application. Rapise provides a built-in support for regular expression matching. This lets you define the matching expression and Rapise will intelligently compare the data on the screen to the specified expression to see if there is a match.