DevTest Assertion Options & Test Companion Steps

Document ID : KB000092627
Last Modified Date : 20/04/2018
Show Technical Document Details
Question:
In an assertion, can you provide details/documentation on what each of the below options would do ? We are interested in knowing which options would generate error and continue moving to next step/iteration without stopping the test. Generate Warning Generate Error Fail the Test Abort the Test Fail the Test Also, is Test Companion step supported in 9.x & 10.x versions ? 
Environment:
All currently supported version of DevTest.
Answer:
Global and Step Assertions

As with filters, you can apply assertions as global. That is, assertions can apply either to the entire test case cycle or as a step assertion, where they apply only to a specific step.

Assertions:

https://docops.ca.com/devtest-solutions/9-5/en/using/using-ca-application-test/using-devtest-workstation-with-ca-application-test/building-test-cases/assertions
https://docops.ca.com/devtest-solutions/10-0/en/using/using-ca-application-test/using-devtest-workstation-with-ca-application-test/building-test-cases/assertions
https://docops.ca.com/devtest-solutions/10-1/en/using/using-ca-application-test/using-devtest-workstation-with-ca-application-test/building-test-cases/assertions
https://docops.ca.com/devtest-solutions/10-2/en/using/using-ca-application-test/using-devtest-workstation-with-ca-application-test/building-test-cases/assertions
https://docops.ca.com/devtest-solutions/10-3/en/using/using-ca-application-test/using-devtest-workstation-with-ca-application-test/building-test-cases/assertions

Generate Warnings and Errors:

https://docops.ca.com/devtest-solutions/9-5/en/using/using-ca-application-test/using-devtest-workstation-with-ca-application-test/building-test-cases/building-test-steps/generate-warnings-and-errors
https://docops.ca.com/devtest-solutions/10-0/en/using/using-ca-application-test/using-devtest-workstation-with-ca-application-test/building-test-cases/building-test-steps/generate-warnings-and-errors
https://docops.ca.com/devtest-solutions/10-1/en/using/using-ca-application-test/using-devtest-workstation-with-ca-application-test/building-test-cases/building-test-steps/generate-warnings-and-errors
https://docops.ca.com/devtest-solutions/10-2/en/using/using-ca-application-test/using-devtest-workstation-with-ca-application-test/building-test-cases/building-test-steps/generate-warnings-and-errors
https://docops.ca.com/devtest-solutions/10-3/en/using/using-ca-application-test/using-devtest-workstation-with-ca-application-test/building-test-cases/building-test-steps/generate-warnings-and-errors

Companions:

https://docops.ca.com/devtest-solutions/9-5/en/reference/companion-descriptions
https://docops.ca.com/devtest-solutions/10-0/en/reference/companion-descriptions
https://docops.ca.com/devtest-solutions/10-1/en/reference/companion-descriptions
https://docops.ca.com/devtest-solutions/10-2/en/reference/companion-descriptions
https://docops.ca.com/devtest-solutions/10-3/en/reference/companion-descriptions