diff --git a/plugins/TestingList.java b/plugins/TestingList.java index 74690b4..1e33e4d 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -74,6 +74,9 @@ public class TestingList extends Panel { { testingList.executeTest(iCurrentTestPos+1); } + else{ + testingList.setButtonToStop(); + } } else{ // ret empty means that either the test script does not have variable ret, or that the script could not be started at all ret = "Could not start test script"; @@ -86,7 +89,10 @@ public class TestingList extends Panel { if(iCurrentTestPos>=0 && testingList.isTestRunAllowed()) { testingList.executeTest(iCurrentTestPos+1); - } + } + else{ + testingList.setButtonToStop(); + } } } } catch (Exception ex) { @@ -101,7 +107,10 @@ public class TestingList extends Panel { if(iCurrentTestPos>=0 && testingList.isTestRunAllowed() ) { testingList.executeTest(iCurrentTestPos+1); - } + } + else{ + testingList.setButtonToStop(); + } } } }