Esempio n. 1
0
 def completar_info_basica(self, img, fecha):
     time.sleep(5)
     self.driver.execute_script('$("#fecha_certificado").val("' + fecha +
                                '")')
     time.sleep(5)
     self.find_element(self.__locators.AGREGAR_IMG_BTN).click()
     FileUtils.seleccionar_img_gui(img)
     self.find_element(self.__locators.TERMIN_CONDIC_INP).click()
     self.find_element(self.__locators.ACEPTAR_BTN).click()
     try:
         self.find_element(self.__locators.ACEPTAR_ADV_BTN).click()
     except TimeoutException:
         pass
 def cargar_info_faltante(self, docente):
     self.find_element(self.__locators.AGREGAR_IMAGEN_DNI_BTN).click()
     FileUtils.seleccionar_img_gui(docente.imagenes_dni[0])
     self.find_element(self.__locators.RECIBE_JUB_FALSE).click()
     self.find_element(self.__locators.CELULAR_INP).send_keys(
         docente.celular)