示例#1
0
def step_impl(context, num):
    path = "C:\\"
    count = 0
    while (count < int(num)):
        subpath = random.randrange(1, 100)
        path = path + str(subpath) + "\\"
        count += 1
    location = Windows_Client(RUNNER_CONFIG.get('OEM_CLIENT',
                                                "mozypro")).gui.setup_window
    location.set_location(path)
    time.sleep(2)
示例#2
0
def step_impl(context, path):
    location = Windows_Client(RUNNER_CONFIG.get('OEM_CLIENT',
                                                "mozypro")).gui.setup_window
    location.set_location(path)
    time.sleep(2)