Processing and saving test results
When running tests through a browser, you cannot view the test panel that is normally displayed in Test Studio. This can make it difficult to monitor the progress of your tests or determine whether a test has passed or failed.
For instance, by using the play link feature, you can duplicate a link so that you can execute a test in an independent browser beyond Test Studio’s environment. This can be beneficial for integrating your tests into a continuous integration and deployment workflow, such as Azure DevOps. To capture test results beyond Test Studio, you can use the OnTestCaseComplete
and OnTestSuiteComplete
events to manage and send your test results to multiple data repositories or platforms. These properties are available in the test object and are triggered when a test case or suite is completed.
In these events, we can leverage the TestCaseResult
and TestSuiteResult
records to access information about specific test cases and the...