Search code examples
user-inputselenium-ide

How to give the runtime input in selenium IDE?


I want to get input at runtime using selenium ide. could any one help me?


Solution

  • You can put break command or input-box

    1.By input-box
    Command 1
    Command 2
    Command 3
    4th command will be
    storeEval | prompt(“Enter input”); |variable
    type | locator of field where you want to put value| ${variable}
    continue with your next commands
    
    2.By break command
    
    Command 1
    Command 2
    Command 3
    4th command will be
    Break
    Enter input manually and resume execution of test
    continue with your next commands
    

    Sample Script for you