Set Test Case Pass/Fail Conditions (ATV)


Important

The Test Case Pass/Fail Condition screen is only available for regression vehicles, not performance testing, which is based on timing.

  1. On the Test Case screen, type P next to the object you want to set. The Test Case Pass/Fail Condition screen is displayed in the following figure.
    Test Case Pass/Fail Condition screen

     ------------------------ Test Case Pass/Fail Condition ------------------------
     Command ===>                                                                    
                                                                                    
      Specify condition checking on test case:                                       
       Name . . . .  BATREPL                                                         
                                                                                    
      Test case step:                                                                
       Replay to TPF A13TSO                                                          
       Script list   S254228                                                         
                                                                                    
      Indicate status to set upon execution of this test case step:                  
       2 1.None Always Pass this test case step                                      
         2.Fail Indicate test case has failed if return code is within range         
         3.Pass Indicate test case step has passed if return code is within range    
                                                                                    
      Specify return code range:                                                     
       Minimum return code    8                                                      
       Maximum return code 9999                                                      
                                                                                    
      Press ENTER to continue. Use END to return to Test Case screen.


    Important

    The Test case step fields, which are pre-filled based on the test case object selected, are different depending on the type of object selected, and you cannot set a pass/fail condition for a Userid Asset type.

  2. You can select from three choices for pass/fail status:
    • 1. None: Always pass this test case step.
    • 2. Fail: Test case has failed if the return code is within the range you specify.
    • 3. Pass: Test case step has passed if the return code is within the range you specify.
  3. Set your minimum and maximum return code range.
  4. Press Enter to continue. You will return to the Test Case screen, and the pass/fail condition you set will appear in the P/F? column.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*