ContributionsMost RecentMost LikesSolutionsRe: How to set test case to OK by a script? From my investigation, depending on the type of the test step, if it is a groovy test step, you can change the status to FAILED (red icon) but there are no icons for any other status (I peeked into jar file to confirm). Hopefully the developers would add the feature to support colored icons for groovy steps. For other test type of test steps, e.g. REST based or SOAP based, using the assertions will change the colors. Re: How to set the color of a groovy script test step? I searched a bit more .. looks like there was an internal change request on something similar but there does not seemed to be any progress on the change request. [Reg] icon color of "run testCase" based on execution status I tried further using a custom property "myStatus"in the testStep testRunner.testCase.setPropertyValue("status", "testCase-done"); // setting a custom property of a test case works def testStep = testRunner.testCase.testSteps["Step1"] testStep.setPropertyValue("myStatus", "NONE"); // no error log.info("|start status=" + testStep.getPropertyValue("myStatus")); testStep.setPropertyValue("myStatus", "FINISHED"); // no error log.info("|finish status=" + testStep.getPropertyValue("myStatus")); The logs showed Sat Jun 25 10:19:29 EST 2016:INFO:step1 Sat Jun 25 10:19:29 EST 2016:INFO:testrunnner.status=RUNNING Sat Jun 25 10:19:29 EST 2016:INFO:|start status=null Sat Jun 25 10:19:29 EST 2016:INFO:|finish status=null Conclusion: the properties on a test step is read only. Bummer. there goes my attempt. :( Re: How to set the color of a groovy script test step? tnx Rao I have done code assertion on failure but that itself only show failure (red icon). It does not solve my visual inspection that the test step is run (I need some form of visual indication e.g. if the icon color changes). How to set the color of a groovy script test step? For any other test step (soap request, rest request), once the test step is completed, the icon color goes to green (assuming that the assertion is met). how do I set the color of a successful groovy script test step? Right now, I can't differentiate between a successful and a step that is not run. Is there anything I need to do? Looking at the other types of test step, there is an assertion setup but this configuration is missing in groovy test step. Is this feature available?