Contributions
Re: ERROR [AbstractTestCaseRunner] Error notifying listener
Hi, I don't have enough time that to look for why this problem has occured. But I tried to set TestRunner Path from UI window, and it doesn't help me. I still don't know how to resolve this problem. Thanks.9 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.6KViews0likes0CommentsRe: Adding new test step for all test
if (testRunner.status == Status.FAILED) { //do the stuff you needed } I told about code above. When execute this code in events, than testRunner always has status "RUNNING", not "FINISHED", not "FAILED" even if test-case fails, understand?9 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.4KViews0likes0CommentsRe: Adding new test step for all test
I tried this script. Unfortunately, when running TestSuite RunListener.after TestCase, test runner has status = Running. Do you have any suggestion, how can I get current results in the moment when running afterTestCase?9 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.5KViews0likes2CommentsRe: Adding new test step for all test
Thank you so much! Your answer really helpfull. I would like to explain you, what I want and don't want to do: what I do not want to do: - Add new groovy script into each-other test-case, because it's take a long time and quite difficult to support. what I want to do: - Useevent handler, once add groovy script which will using for all test-cases(TestSuiteRunListener.afterTestCase). But I don't know how can I get current result of test-case, in the moment of runningTestSuiteRunListener.afterTestCase for adding if condition in this script. Could you provide anexample how can I get the result of test-case (passed or failed) in groovy script if this script will located in Events handler. I hope I explained what I need :))9 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.3KViews0likes4CommentsRe: Adding new test step for all test
Thanks for answering! But I want to run test-step in another test-suite, and execute this test-step onlywhen testcase is failed. I think, to my opinion this case isreally helpfull and I will very glad if you resolve that problem :)9 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.3KViews0likes6CommentsRe: Adding new test step for all test
Thanks for answering, but I think it's not resolve my problem, because in this case I need to add this conditional test-step into each other test-case. But I suggest, that I can to try resolve my problem using to "Events" (TestSuiteRunListener.afterTestCase) which will contain some script for calling jdbc-request if test-case is failed. Can you help me to do this script?9 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.4KViews0likes9CommentsRe: Adding new test step for all test
I want to add one new test-step which will get some information from database when test-case is failed. I want that this test-step locate into some place, and other test-cases call this test-step when it's necessary. Thanks in advance!9 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.4KViews0likes11Comments- 9 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.7KViews0likes16Comments