Beispiel #1
0
def exit(code=0):
    global remoteScreen
    if remoteScreen:
        remoteScreen.close()
        remoteScreen = None
    Sikulix.cleanUp(code)
    sys.exit(code)
Beispiel #2
0
def exit(code=0):
    global remoteScreen
    if remoteScreen:
      remoteScreen.close()
      remoteScreen = None
    Sikulix.cleanUp(code)
    sys.exit(code)
Beispiel #3
0
def run(cmd):
    return Sikulix.run(cmd)
Beispiel #4
0
def inputText(msg="", title="", lines=0, width=0):
    return Sikulix.input(msg, title, width, lines)
Beispiel #5
0
def input(msg="", default="", title="", hidden=False):
    if (hidden):
      default = ""
    return Sikulix.input(msg, default, title, hidden)
Beispiel #6
0
def popup(msg, title="Sikuli"):
    Sikulix.popup(msg, title)
Beispiel #7
0
def run(cmd):
    return Sikulix.run(cmd)
Beispiel #8
0
def inputText(msg="", title="", lines=0, width=0):
    return Sikulix.input(msg, title, width, lines)
Beispiel #9
0
def input(msg="", default="", title="", hidden=False):
    if (hidden):
        default = ""
    return Sikulix.input(msg, default, title, hidden)
Beispiel #10
0
def popup(msg, title="Sikuli"):
    Sikulix.popup(msg, title)