sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #10451
[Question #196378]: How to gather input from Windows command line
New question #196378 on Sikuli:
https://answers.launchpad.net/sikuli/+question/196378
I want to use a command window (in Windows) to display a test menu so that a specific test module can be selected by the user. To display the menu I'll use either sikuli "type" command to either type the menu or type a command to display the contents of a text file containing the menu. After displaying menu text how would I prompt and gather the input in the command window?
I know I could display the menu and gather the input in a popup, but I would like to keep user interaction contained to the testing menu window. I may also be using this window to display real-time test results, testing notes, status messages for QA, etc and want that window to be the primary source of input. There are other windows that may require interaction during the tests, but most of the interaction with the other windows will be automated.
I've tried a coupleversions of Python's (v2.7) raw_input but the script hung at the command.
testMenuReturn = raw_input("Main Menu Selection: ")
testMenuReturn = sys.raw_input("Main Menu Selection: ")
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.