Hi All,
Am trying to write a shell script to automate one of the product utility but am struck with how to send/key in the inputs and most importantly it requires to press "Enter" key every time after giving the input.
Not sure how to take control of utility from script and key in values/command.
Can anyone please suggest or show the example on how automate the utility thru shell script.
ex: how utility is work manually.
./testItem
it opens screen with key in the input/command
once input is typed/key in then we need to press "Enter" Key
then we get relevant key in's output
I need to capture this output in some variable and verify the results later in main shell script.
Thanks,
Ops