Forum Discussion
- JHuntCommunity Hero
import com.eviware.soapui.support.UISupport
if (!UISupport.confirm("Continue?", "Shall we...")) {
testRunner.cancel("User doesn't want to continue")
}Documentation for UI elements is here:
http://www.soapui.org/apidocs/com/eviware/soapui/support/UISupport.html
If you want the test to be considered failed then instead of testRunner.cancel, use:
testRunner.fail("User doesn't want to continue")
- nmraoChampion Level 2That will be come hurdle if you wanted to achieve un-attended execution of automated tests.
What is your use case, by the way? - RaMup29Occasional Contributor
Thanks for the help :)
Related Content
- 2 years ago
- 3 years ago
Recent Discussions
- 13 days ago
- 14 days ago