示例#1
0
 def test_method_findchild(self):
     """Testcase: test_method_findchild"""
     self.setup_login_to_data()
     control = ControlBase(self.bot, **self.lst_ordered)
     selector_child = self.lst_ordered_child.get("selector")
     ctl_child = control.find_child(selector_child)
     ASSERT.is_instance(ctl_child, ControlBase)
     ASSERT.is_instance(ctl_child.element, WebElement)
示例#2
0
 def test_007_method_findchild(self):
     """Testcase: test_007_method_findchild"""
     control = ControlBase(self.bot, selector=self.ele_menu)
     self.assertIsInstance(control.find_child(self.ele_menu_installation),
                           ControlBase)