Exemple #1
0
def start_hearthstone():
    app.click_image(DATA_DIR + "hearthstone_icon.png")
    app.wait(10)
    app.click_image(DATA_DIR + "play_button.png")
    app.wait(25)
    app.ui.mouseclick(640, 540)
    app.wait(2)
Exemple #2
0
def start():
    app.open(APP_NAME)
    app.wait(5)
Exemple #3
0
def stop_recording():
    app.click_image(DATA_DIR + "app_icon.png")
    app.wait(1)
    app.click_image(DATA_DIR + "stop_recording.png")
    app.wait(2)
Exemple #4
0
def start_recording():
    app.click_image(DATA_DIR + "start_recording.png")
    app.wait(1)
Exemple #5
0
def stop():
    app.close(APP_NAME)
    app.wait(1)
Exemple #6
0
def stop_hearthstone():
    app.close("Hearthstone")
    app.wait(5)