Forum Discussion
Hey Sandeep96
sorry Im a little late in responding as I've been on holiday.
I'm intrigued by this - can I ask:
- what's the purpose of the groovy script? why would a script that halts the execution of the testcase be added?
-after inputting a value into the editable field and selecting 'OK' to submit the value, how is this value being used later in the script?
- the groovy script test step in the image you provide - is there further groovy in the step or is what is displayed in the image the entirety?
-if the value is used by other steps in your testcase, would it not increase efficiency/automation by finding another means of providing this value - i..e then allowing you to remove the groovy step completely?
Cheers,
Rich
- ChrisAdams4 years agoChampion Level 3
I think Sandeep96 answered his own question.
I think the requirement was... "Using Groovy script, how do I display a pop-up/modal window; let the user input text; capture the answer in a variable?".
Related Content
- 9 years ago
- 3 years ago
Recent Discussions
- 21 hours ago