Including or excluding test cases during execution

TestDriver allows you to list individual test cases within a test script for inclusion or exclusion when the script is run.

The following example shows you how to run a single individual test case from a test script:

  1. Identify the test case ID. (In this example, it is 8981)

  2. Edit the .driver file

  3. List your selected test case in a <testCasesList> tag within the <testExecuteScript> tag, as shown:

    <executeOnSymbian>
     <testExecuteScript PCPath="${epocroot}\epoc32\release\${platform}\${build}\z\systemtest\ST_Http_v6Cases.script" SymbianPath="c:\systemtest\ST_Http_v6Cases.script"/>
      <testCasesList operator="include">
       <testCase target="8981"/>
      </testCasesList>
     </testExecuteScript>
    </executeOnSymbian>

    Note: The operator attribute of the <testCasesList> tag is used to specify whether to include or exclude the listed test cases from execution.

  4. Save the .driver file and run the test.