Release Automation

 View Only
  • 1.  supplying arguments to a  Windowscommand line

    Posted Jul 17, 2014 11:23 PM

    Hi,

     

    When i am executing a windows command for example:

     

    C:> choice /c abcd

    [A,B,C,D]?

    The Command prompt waits for a user input.

     

    How to supply that user input interactively through Nolio Run Command Action Item. I tried using Enter manual parameter Action item, but that is not working because we cannot suppy the parameter to the command in the first place.

    Is there any other workthrough for this problem?

     

    Regards,

    Prasanth Sinha.



  • 2.  Re: supplying arguments to a  Windowscommand line

    Posted Jul 22, 2014 04:05 AM

    Hello

    You can try using echo command

    e.g

     

    echo.png

    Thanks

    Jacky



  • 3.  Re: supplying arguments to a  Windowscommand line

    Broadcom Employee
    Posted Aug 05, 2014 05:46 PM

    Are you trying to prompt the user with a set of values to choose from on the actual agent machine where the action is running? If so then I'm not sure if there is a way. If you want to introduce user input into the flow then you can use the input actions (looks like there are three). When using these I believe it will stop the flow and wait for the user to make/provide response (via the ROC when being run as a template).

     

    Regards,

    Gregg



  • 4.  Re: supplying arguments to a  Windowscommand line

    Posted Aug 08, 2014 09:47 AM

    To add the user prompted input you need to provide a User input parameter.

     

    echo <prompt A,B,C,D?>|choice /c abcd

     

    input.PNG

    ouput.PNG



  • 5.  Re: supplying arguments to a  Windowscommand line

    Posted Aug 08, 2014 09:56 AM

    In general, there's no good way of getting a list of possible choices from some command, then prompting the user in RA, then responding back to the command.  Interactive prompts are not good for automation, I'd try to get rid of that altogether.