Example #1
0
 def input_and_select_remove_resource_category(cls,
                                               category,
                                               timeout=5,
                                               fail_if_false=True):
     logger.debug("input and select resource category [ %s ]" % category)
     FusionUIBase.choose_option_by_text(
         EditScopesElements.ID_COMBO_REMOVE_RESOURCE_CATEGORY, category,
         timeout, fail_if_false)
 def select_san_manager_type(cls,
                             san_manager_type,
                             timeout=5,
                             fail_if_false=True):
     logger.debug("select san manager type '%s'" % san_manager_type)
     FusionUIBase.choose_option_by_text(
         AddSANMangersElements.ID_SELECT_SAN_MANAGER_TYPE,
         san_manager_type,
         timeout=timeout,
         fail_if_false=fail_if_false)
 def select_number_of_switches(cls, number_of_switches, timeout=5, fail_if_false=True):
     logger.debug("select 'Number of switches' as '%s' ..." % number_of_switches)
     return FusionUIBase.choose_option_by_text(cls.e.ID_SELECT_NUMBER_OF_SWITCHES, number_of_switches, timeout=timeout, fail_if_false=fail_if_false)
 def select_type(cls, type_name, timeout=5, fail_if_false=True):
     logger.debug("select 'Type' as '%s' ..." % type_name)
     return FusionUIBase.choose_option_by_text(cls.e.ID_SELECT_TYPE, type_name, timeout=timeout, fail_if_false=fail_if_false)
 def select_power_mode(cls, power_mode, timeout=5):
     logger.debug("select [ Power mode '%s' ] in Power view" % power_mode)
     FusionUIBase.choose_option_by_text(CreateEnclosureGroupElements.ID_TBIRD_SELECT_POWER_MODE, power_mode, timeout, fail_if_false=True)
 def select_deployment_network_type(cls, deployment_network_type, timeout=5):
     logger.debug("select [ Deployment network type '%s' ] in OS Deployment Settings view" % deployment_network_type)
     FusionUIBase.choose_option_by_text(CreateEnclosureGroupElements.ID_TBIRD_SELECT_DEPLOYMENT_NETWORK_TYPE, deployment_network_type, timeout, fail_if_false=True)
 def select_enclosure_count(cls, enclosure_count, timeout=5):
     logger.debug("select [ Enclosure count '%s' ] in General view" % enclosure_count)
     FusionUIBase.choose_option_by_text(CreateEnclosureGroupElements.ID_TBIRD_SELECT_ENCLOSURE_COUNT, enclosure_count, timeout, fail_if_false=True)