function: question - egroise/uxtest GitHub Wiki

###Usage

question(message)

Displays an YES/NO question popup showing the message.

If the BATCHMODE is enabled (see function: startTest) the question is skipped.

###Parameters

  • message: Message to be displayed in the question popup.

###Return

True or False depending on user's response. True is BATCHMODE is enabled.

###Example

question("Do you want to continue?")