Esempio n. 1
0
 def __init__(self,
              driver,
              table_name,
              item_relative_locator,
              item_class,
              item_name,
              table_locator=None):
     UIComponent.__init__(self, driver, table_name, table_locator)
     ElementWithLanguage.__init__(self)
     if not issubclass(item_class, UIComponent):
         raise TypeError(
             "{0} is not subtype of UIComponent".format(item_name))
     self._item_relative_locator = item_relative_locator
     self._item_class = item_class
     self._item_name = item_name
Esempio n. 2
0
 def __init__(self, driver, name):
     UIComponent.__init__(self, driver, name)
Esempio n. 3
0
 def __init__(self, driver, name, locator=None):
     UIComponent.__init__(self, driver, name, locator)
Esempio n. 4
0
 def __init__(self, driver, name):
     UIComponent.__init__(self, driver, name)
Esempio n. 5
0
 def __init__(self, driver, name='checkbox', locator=None):
     UIComponent.__init__(self, driver, name, locator)
Esempio n. 6
0
 def __init__(self, driver, name='button', locator=None):
     UIComponent.__init__(self, driver, name, locator)
Esempio n. 7
0
 def __init__(self, driver, name='dropdown', locator=None):
     UIComponent.__init__(self, driver, name, locator)