Forum Discussion

payalsobti's avatar
payalsobti
Occasional Contributor
14 years ago

Custom test execution status

Hi,

I have a groovy script that reads data from an excel sheet and executes the request.
I am using FOR loop for it.

At the end i just add context.testRunner.cancel("All Rows Run!!")

But when i execute the test suite, the status shows "CANCELLED" in progress bar when that particular test case is executed.

Is there some other way to end it, so that instead of "CANCELLED", it shows some proper status like EXECUTED etc

Regards,
Payal

2 Replies

  • Hi Payal,

    do you have to cancel the test at then end? If you could let the TestCase finish normally you would get the desired status in the progress bar.

    regards,

    /Ole
    SmartBear Software
  • payalsobti's avatar
    payalsobti
    Occasional Contributor
    Its a test suite with a groovy step and 2 different REST request that are executed via groovy script.
    If i dont cancel, the groovy script executes and then the two REST request executes, which i dont want.

    Any suggestions.