EndTestCase Command

Description:

The ENDTESTCASE command terminates a section of the Script that starts with a TESTCASE command.
If the ENDTESTCASE command is reached during execution of the Script, the test case is considered to have succeeded.

Format:

TestCase testcaseName
    statements
EndTestCase

Parameters:

TestcaseName

A string literal defining the test case name.

Example:

log "Before testcase";

Testcase "MyTestCase"
    log "Begin testcase";
    Passtestcase;
    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