示例#1
0
def step_impl(context):
    win_setup = Windows_Client(RUNNER_CONFIG.get('OEM_CLIENT',
                                                 "mozypro")).gui.setup_window
    if win_setup.license_agreement_checked():
        win_setup.choose_license_agreement()
    if win_setup.location_change_checked():
        win_setup.choose_location_change()
    win_setup.install_start()
示例#2
0
def step_impl(context, operation):
    selecting = Windows_Client(RUNNER_CONFIG.get('OEM_CLIENT',
                                                 "mozypro")).gui.setup_window
    if operation.upper() == "DESELECT":
        if selecting.location_change_checked():
            selecting.choose_location_change()
    else:
        if not selecting.location_change_checked():
            selecting.choose_location_change()