Forum Discussion
nmrao
10 years agoChampion Level 3
Would you please elaborate your use case? Provide details as much as possible which will help to answer better.
- nsalomatin10 years agoOccasional Contributor
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!
- nmrao10 years agoChampion Level 3Basically you need to run a test step conditionally. So introduce a conditional got step.
http://www.soapui.org/Functional-Testing/controlling-flow.html- nsalomatin10 years agoOccasional Contributor
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?
Related Content
- 4 years ago
- 14 years ago