selenium-ide icon indicating copy to clipboard operation
selenium-ide copied to clipboard

Prompt, Confirm, Alert functionality

Open hohnan opened this issue 8 years ago • 2 comments

🚀 Feature Proposal

Allow the user to input/store variables by presenting boxes for them to interact with during playback.

Motivation

We work with account creations and there is a need to enter a code or a specific URL to verify that you have received an email. These codes are generated ad hoc and cannot be pasted into the code until they after a specific event.

I also have tests where sometimes I don't want to test a certain feature, example: validating colors on the page, where I will "confirm("Testing Colors? Ok - Yes or Cancel - No")".

Example

I understand the storeEval is not going to happen, but maybe execute script could perform this function.

storeEval | prompt("Enter Password Reset ID from database ?") | URL

storeEval | prompt("Enter URL from email?") | URL

storeEval | confirm("Testing Colors? Ok - Yes or Cancel - No") | primaryColor

storeEval | alert("Go to file location \\aaaaa\aaaaa\aaa\${appId} to verify there is no FD file") |

hohnan avatar Aug 14 '18 14:08 hohnan

V4 handles this better by just using native driver stuff, so we don't have to do anything with fake confirms or such.

toddtarsi avatar Nov 10 '22 05:11 toddtarsi

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Dec 11 '22 01:12 github-actions[bot]