answerOnNextPrompt - Selenium IDE
answerOnNextPrompt (text) - Selenium IDE command
answerOnNextPrompt tells the IDE what to answer at the next prompt dialog. You find an example of such a dialog on this test page.
For simple confirmation dialogs (= OK/Cancel dialogs), chooseOkOnNextConfirmation was used in the old Selenium IDE. It is no longer needed in Kantu, as this behavior is now built-in (UI.Vision RPA clicks OK automatically).
The macro below first opens a prompt, and then UI.Vision RPA IDE enters "Hello World" in it and closes it automatically.
Related Demo Macros
The ready-to-import-and-run source code of all demo macros can be found in the Github repository testmacros folder.
Anything wrong or missing on this page? Suggestions?
...then please contact us.