Create test step property to run the step only when the test containing the step is being run as a test-as-step.
1 comment
ADMIN
Konstantin Petkov
Posted on:12 Feb 2013 08:22
A customer requested in order to use it as a condition of a cleanup scenario in a last step of a test. That reminds me of another recent request which is about extending the Execution API to be able to determine a test as step execution in OnAfterTestCompleted event:
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/general/execute-custom-scripts-before-after-test.aspx
Implementing that should help in both cases.