Forum Discussion

lydincamilleri's avatar
lydincamilleri
Occasional Contributor
3 years ago

Test Case status

Hi All,

 

Does anyone know how we can make define a test case (via scripting) to do not have a successful or failed status? (example: aborted, skipped)

 

The scenario is for example, we check if any data is available in our system and if not, the test should not be run (without failure) but even without being reported as successfully tested (thus, skipped/aborted).

 

We are also using Azure DevOps for running tests and see possible statuses on such platform for tests.

 

Appreciate your assistance

  • You could add a "data check" test that is run in the appropriate places and if that test passes, then proceed with the other tests, otherwise skip them.

    • lydincamilleri's avatar
      lydincamilleri
      Occasional Contributor

      Hi Marsha,

       

      Thanks for your feedback. Can you explain in better detail how this could be achieved via scripting?

      Kindest regards

      • Marsha_R's avatar
        Marsha_R
        Moderator

        If you are performing this check manually, how can you tell if the data is present or not?