Exemple #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()
Exemple #2
0
def step_impl(context, buttonname):
    win_setup = Windows_Client(RUNNER_CONFIG.get('OEM_CLIENT',
                                                 "mozypro")).gui.setup_window
    if buttonname.upper() == "NEXT":
        win_setup.apply()
    elif buttonname.upper() == "CANCEL":
        win_setup.cancel()
    elif buttonname.upper() == "FINISH":
        win_setup.finish_and_exit()
    elif buttonname.upper() == "INSTALL":
        win_setup.install_start()
    elif buttonname.upper() == "ACCEPT":
        win_setup.accept()