How to give manual input from user while running Selenium IDE script?


We can give manual input from the user while running Selenium IDE script. This can be done with the help of the Command, Target and Value steps given below −

Step 1

Command −

execute script

Target −

return prompt("Subject","");

Value −

Input

Step 2

Command −

echo

Target −

${Input}

Click on Run current test as highlighted in the below image.

Output

A prompt for user input comes up.

The text Selenium Java is entered within the prompt.

Selenium IDE log captures the text entered.

Updated on: 02-Feb-2021

1K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements