Skip to content

Triaging Failure #3: Test executed with status "Completed" but there are failed instructions in the test

This article is a part of the Self-paced Learning Series for the Course: First-Hand Experience of Worksoft SaaS.

Please refer to the link for more details on the Course.
 
 Mapping the Worksoft SaaS feature to the Course Context :: Lesson 15:: Topic 4


1. Triaging Failure #3: Test executed with status "Completed" but there are failed instructions in the test (Status text is RED in color)
In the third Run, we will see a case where the Test executed successfully however the instruction has failed. As you know that verify command does not fail the test (like in case of assert). We will change the currency format in the Data file to cause the 'verify' command to fail and observe that the Test executes successfully.

    
2. Practice
  1. Go to More and click on Data Files
  2. Click on Edit icon of the Data File "HICC - 1 Zip code or state in 3 States"
  3. Go to the second row and select Annual_Premium attribute
  4. Change the value from $6,159 to $6159
  5. Click on Save & Exit button
  6. Click on "number with hyperlink" present in the "Run Definitions column" on Data File Home screen
  7. Click on the Play icon of the filtered Run Definition based on Data File ("RD001D - Verify HICC calculations (Data-driven by Data File)") present in the actions column
  8. Select the checkbox beside the testing context key with Production environment
  9. Click on Execute button
  10. Refresh the page
  11. Click on View Results of the Test Run scheduled and navigate to Execution Results screen
  12. Verify in the second iteration, script #2>>instruction #2 has failed with error message "Actual and Expected Texts do not match."
  13. Review the status as Completed(in red color as there are failures in the test execution)
    


Feedback and Knowledge Base