Forum Discussion

shilpasoftwares's avatar
shilpasoftwares
New Contributor
11 years ago

Test Execution should continue irrespective of some test cases failures in test suite

I am unable to run all the test suites at one go. If I have 8 test items for execution in batch.It doesnot complete execution of all test suites irrespective of pass or fail. It immediately stops at first any failure of tests.

I read the article on testitems and also unchecked the stoponerror options at projectsuite configuration.But, nothing seems working .

I have used "GeneralEvents_OnStopTest" method at very tests, where i log all the results at particular disk path.So, i suspect may this is overwriting 

 the stoponerror option.Could you please explain me how or what could be the problem.
  • jose_pita's avatar
    jose_pita
    Super Contributor
    @shilpa nagaraj Check your project to see if you have this options right:

    http://imgur.com/a/cuzpr



    image 1->Project Properties

    image 2->Project Suite Test Items

    image 3->Project Test Items

    image 4->command line command to run TC or TE
  • Thank you @Jose it solved my problem.

    I had not disabled the Project suites test items property.



    @Gena   I had explained my problem not given the answer.I had just tried to understand the  root cause of the problem.

  • karkadil's avatar
    karkadil
    Valued Contributor
    Sorry, didn't read the question properly, this is a wrong answer