Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Manual input from user while running selenium IDE script

can user is able to give manual input while running selenium IDE script? For ex. If there is name field then can we open input box everytime script runs so that user can give his input for name field?

Let me know whether it is possible or not..

If yes then please suggest me a solution.

Thanks in advance

like image 438
Rohit Ware Avatar asked Jan 19 '12 06:01

Rohit Ware


1 Answers

As of 2020 using Selenium IDE 3.16.1, I found the following config worked by the suggested answers above. (I re-answered the question as above answers did not clearly combined all pieces)

Command : execute script

Target : return prompt("Question Text","Default value");

Value : yourVariableName

and fill in the input box by the stored var:

Command : type

Target : (your selector)

Value : ${yourVariableName}
like image 194
devildelta Avatar answered Oct 17 '22 07:10

devildelta