Пример #1
0
 def task_list(self):
     '''Returns the task list region'''
     _tasks_list_locator = ( By.CSS_SELECTOR, 'div#records_div > table > tbody')
     return ListRegion(
         self.testsetup,
         self.get_element(*_tasks_list_locator),
         self.TaskItem)
Пример #2
0
 def datastore_list(self):
     _root_item_locator = (
         By.CSS_SELECTOR,
         "div#datastores_treebox > div > table > tbody")
     return ListRegion(self.testsetup,
                       self.get_element(*_root_item_locator),
                       self.DatastoreItem)
Пример #3
0
 def server_list(self):
     '''Returns the server list region'''
     _server_list_locator = (By.CSS_SELECTOR,
                             'fieldset > table.style3 > tbody')
     return ListRegion(self.testsetup,
                       self.get_element(*_server_list_locator),
                       self.ServerItem)
Пример #4
0
 def profile_list(self):
     '''Returns the template list region'''
     _root_item_locator = (By.CSS_SELECTOR,
                           "div#treebox > div > table > tbody")
     return ListRegion(self.testsetup,
                       self.get_element(*_root_item_locator),
                       self.ProfileItem)
Пример #5
0
    def catalog_list(self):
        '''Select - Name

        Returns a list region
        '''
        return ListRegion(self.testsetup,
                          self.get_element(*self._name_list_locator),
                          self.CatalogItem)
Пример #6
0
 def profile_list(self):
     '''Returns the template list region'''
     _root_item_locator = (By.CSS_SELECTOR,
                           "div#treebox > div > table > tbody")
     # Prevent ajax glitching
     self._wait_for_visible_element(*_root_item_locator, visible_timeout=10)
     return ListRegion(self.testsetup,
                       self.get_element(*_root_item_locator),
                       self.ProfileItem)
Пример #7
0
 def session_info_list(self):
     return ListRegion(self.testsetup,
                       self.get_element(*self._session_info),
                       self.AboutItem)
Пример #8
0
 def requests_list(self):
     '''Request Item'''
     return ListRegion(self.testsetup,
                       self.get_element(*self._requests_table),
                       Services.RequestItem)
Пример #9
0
 def instance_list(self):
     return ListRegion(self.testsetup,
                       self.get_element(*self._instance_list_locator),
                       ExplorerClass.InstanceItem)
Пример #10
0
 def server_image_pxe_list(self):
     return ListRegion(self.testsetup,
                       self.get_element(*self._pxe_image_list_locator),
                       self.CatalogItem)
Пример #11
0
 def namespace_list(self):
     return ListRegion(
         self.testsetup,
         self.get_element(*self._namespace_list_locator),
              ExplorerNamespace.NamespaceItem)
Пример #12
0
 def cluster_list(self):
     _root_item_locator = (By.CSS_SELECTOR,
                           "div#clhosts_treebox > div > table > tbody")
     return ListRegion(self.testsetup,
                       self.get_element(*_root_item_locator),
                       self.ClusterItem)
Пример #13
0
 def method_list(self):
     '''Returns list of methods in the table'''
     return ListRegion(
         self.testsetup,
         self.get_element(*self._method_list_table),
              ExplorerMethod.MethodItem)
Пример #14
0
 def order_catalog_list(self):
     '''Select item to order'''
     return ListRegion(self.testsetup,
                       self.get_element(*self._order_list_locator),
                       self.OrderListItem)
Пример #15
0
 def customization_template_list(self):
     return ListRegion(
         self.testsetup,
         self.get_element(*self._customization_template_list_locator),
         ProvisionCustomize.CustomizationTemplateItem)
Пример #16
0
 def param_list(self):
     return ListRegion(
         self.testsetup,
         self.get_element(*self._param_list_locator),
         ExplorerInstance.ParamItem)
Пример #17
0
 def template_list(self):
     '''Returns the template list region'''
     return ListRegion(
             self.testsetup,
             self.get_element(*self._template_list_locator),
             self.TemplateItem)
Пример #18
0
 def server_image_pxe_list(self):
     '''Select - PXE Image'''
     return ListRegion(self.testsetup,
         self.get_element(*self._pxe_image_list_locator),
         self.ServerImageItem)
Пример #19
0
 def host_list(self):
     '''Returns the host list region'''
     return ListRegion(
             self.testsetup,
             self.get_element(*self._host_name_list_locator),
             self.HostItem)
Пример #20
0
 def properties_list(self):
     return ListRegion(self.testsetup,
                       self.get_element(*self._properties_table_locator),
                       ExplorerProperty.PropertiesItem)
Пример #21
0
 def datastore_list(self):
     '''Returns the datastore list region'''
     return ListRegion(self.testsetup,
                       self.get_element(*self._datastore_list_locator),
                       self.DatastoreItem)
Пример #22
0
 def host_list(self):
     '''Select - Host'''
     return ListRegion(self.testsetup, self.get_element(*self._host_list_locator),
         self.HostItem)