def init():
    b.maximize_window()
    TypeHelper.initWords()

    global account
    if os.path.isfile('account'):
        f = open('account', 'r')
        account = f.readline()
    wait(2.0)
Ejemplo n.º 2
0
def init():
    b.maximize_window()
    TypeHelper.initWords()

    global account
    if os.path.isfile('account'):
        f = open('account','r')
        account = f.readline()
    wait(2.0)
Ejemplo n.º 3
0
def init():
    TypeHelper.initWords()

    global account
    if os.path.isfile('account'):
        f = open('account','r')
        account = f.readline()
    
    wipeScreens()
    if not os.path.exists(resultsPath):
        os.makedirs(resultsPath)
    d.setScreenshotDir(resultsPath)
    d.enableVisualLog(resultsPath + "/testlog.html")
    homePage()
Ejemplo n.º 4
0
def init():
    TypeHelper.initWords()

    global account
    if os.path.isfile('account'):
        f = open('account', 'r')
        account = f.readline()

    wipeScreens()
    if not os.path.exists(resultsPath):
        os.makedirs(resultsPath)
    d.setScreenshotDir(resultsPath)
    d.enableVisualLog(resultsPath + "/testlog.html")
    homePage()