Example #1
0
def test5():
    # nonfunctional test
    # login
    settings = Settings()
    sf = ScriptFiles("../scripts")
    print "starting in the background..."
    sf.runscriptbyfirstname("startcgoban", settings)
    print "started? alt tab now"
    auto = Automation(settings)
    auto.alttab()
    print "sending a click"
    emu = auto.getemu()
    emu.move(100, 500)
    emu.click()
    auto.close()
Example #2
0
def test1():
    auto = Automation(Settings(300))
    auto.startapp("gedit")
    auto.alttab()
    auto.say("Hello World!")
    auto.close()