Esempio n. 1
0
 def delete_data_profile(self, data):
     browser.wait_for_page_load_by_ajax()
     _txt_delete = BaseElement(self._dynamic_string.format(data, 'Delete'))
     _txt_delete.wait_for_clickable(constant.MEDIUM_TIME_OUT / 6)
     _txt_delete.click()
     browser.accept_alert()
Esempio n. 2
0
 def click_button(self, button_name):
     browser.wait_for_page_load_by_ajax()
     _btn_button_name = BaseElement(self.dynamic_string.format(button_name))
     _btn_button_name.wait_for_clickable(constant.MEDIUM_TIME_OUT / 6)
     _btn_button_name.click()