PassTestCase Command

Description:

This command indicates that the current test case has failed and Script execution is resumed at the first command following the end of the test case section (i.e. the ENDTESTCASE command).
This command is only valid within a test case section.

Format:

TestCase testcaseName
    statements
    FailTestCase;
    statements
EndTestCase

Parameters:

TestcaseName

A string literal defining the test case name.

Example:

log "Before testcase";

Testcase "MyTestCase"
    log "Begin testcase";
    FailTestCase;
    log "End testcase";
Endtestcase

log "After testcase";

Output:

Before testcase
Begin testcase
After testcase





Go back to the Learning center:


Copyright © AgileLoad. All rights reserved.
Agile Load testing tool| Contact AgileLoad | Terms of Use | Sitemap