Schrodinger framework is a tool which is used for automated testing of the midPoint user interface. Schrodinger code is adopted exactly for midPoint project so with its help the tester can simulate midPoint user activities in a web browser. Starting from midPoint 4.3, Schrodinger framework was separated to a distinct project (previously it was a part of midPoint), which you can find here.
Why to use Schrodinger
The main reason why Schrodinger framework was created and developed is the midPoint user interface stability. We are eager to be sure that the user interface is functioning and effective on each stage of midPoint development.
The Schrodinger code has been created in an intuitive and understandable manner so that anyone can start with the tests writing. The following test example creates a user in midPoint, then produces a search of the created user in the user table and asserts user attributes on the opened user details page.
You can find more tests and use them as the examples in the framework-tests module.
Before running the tests it is recommended to configure your environment properties which are defined in schrodinger.properties file. There is a need to define the URL where your midPoint instance runs, the user name and password to log in the system, the type and location of the web browser driver. The description of all properties can be found also in our documentation.
Combining different modern technologies (such as Kubernetes, Jenkins) with Schrodinger gives various possibilities for midPoint project testing. We have already prepared several test environments within which we run Schrodinger tests over different midPoint instances, with different configuration, using different local and remote web browser drivers. Daily Schrodinger test running saves time and resources. Hopefully, further Shrodinger framework development will improve the quality and stability of midPoint user interface.
In order to learn more about Schrodinger framework, please watch our video recording of the webinar which took place on June 9th, 2021 or check the presentation slides.