Forum Discussion
4 Replies
Sort By
- 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 3That 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
- 10 months agolodecesa
- 2 years agoKimdongart1
Recent Discussions
- 8 days agoemoya