Forum Discussion

thedivxboy's avatar
thedivxboy
Occasional Contributor
16 years ago

Displaying a selection popup

Hi,

I want to display a popup window which proposes multiple choices (like the SELECT tag in HTML ..) and the selected value will be put in a context variable.

I searched the forum and the API (but it is not enough documented for method usages) without any results.

Is it possible ?

Thanks,
Arnaud.

2 Replies

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi Arnaud,

    sure.. you can use

    def option = com.eviware.soapui.support.UISupport.prompt( "question", "title", arrayOfOptions )

    which will return the selected option or null if the dialog was canceled.

    regards!

    /Ole
    eviware.com