In response to the problem raised at the beginning, this chapter summarized the creation of automated function tests inside Test Studio. We have seen how to create a stepwise test using the record and playback feature. Once the steps became ready, Test Studio's quick tasks feature was tackled to firstly insert verification on the UI elements properties at key points inside the test. Test Studio offers handy features accessible from the elements menu, out of which we have just mentioned quick tasks and used some others throughout the chapter such as adding elements to the repository, building advanced verifications, and viewing the DOM hierarchy.
In order to endow the tests with some logical reasoning, constructs such as if
statements and loops were used to control the execution of the tests based on suitable conditions. In case where more advanced logic was necessary, direct calls to the test framework library were inserted among the steps in order to implement more complex scenarios...