Exemplo n.º 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()
Exemplo n.º 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.license_agreement_checked():
            selecting.choose_license_agreement()
    else:
        if not selecting.license_agreement_checked():
            selecting.choose_license_agreement()