Forum Discussion

james_h's avatar
New Contributor
2 years ago

Get a variable value and use it as keyboard input

I have a dos screen (CMD.EXE). I am sending keyboard input.

I have created a text variable with a value.  How do I get the execution to use that variable value as keyboard input?

  • When using keys press the 3 dots and set that to variable.

    You can also use code expression like this:

    " KeywordTests.Keytestname.Variables.Varname + "[Enter]" " this way it presses enter after the keys.


3 Replies