Beispiel #1
0
class PrincipalBackendLocators:
    MENU_TEMP_BTN = Locator(By.XPATH, "//a[contains(text(),'{menu}')]")
    MENU_DOC_BUSCADOR_BTN = Locator(
        By.XPATH,
        "//li[@id='buscar_docentes']//a[contains(text(),'Buscador')]")
    SIST_LBL = Locator(
        By.XPATH, "//h3[contains(text(),'Sistema de Clasificación Docente')]")
Beispiel #2
0
class CalculadorLocators:
    NUEVO_PROCESO_BTN = Locator(By.ID, "btn_cp")
    PERIODO_SEL = Locator(By.ID, "control_calculador_periodo_id")
    CALCULADOR_ARCHIVO_BTN = Locator(By.ID, "control_calculador_archivo")
    CORRER_PROCESO_BTN = Locator(By.ID, "ejecutarProcesoCalculo")
    ALERT_LBL = Locator(By.XPATH,
                        "//div[@class='notice alert alert-success span10']")
Beispiel #3
0
class PaginaPrincipalLocators:
    CUENTAS_BUE_BTN = Locator(
        By.XPATH,
        "//div[@class='row-fluid']//a[@class='btn btn-gcba'][contains(text(),'Cuenta @bue.edu.ar')]"
    )
    USUARIO_TEMPORAL_BTN = Locator(
        By.XPATH,
        "//div[@class='row-fluid']//input[@type='button'][@value='Usuario temporal']"
    )
    NUEVO_USURIO_BTN = Locator(
        By.XPATH,
        "//div[@class='row-fluid']//a//i[@class='icon-white icon-plus']")
Beispiel #4
0
class OA_Suplementos_locators:
    fecha_publicacion_INP = Locator(By.ID, "OrdenSearchType_fechaPub")
    crear_oa_BTN = Locator(By.XPATH, "//button[@class='btn btn-info btn-sm pull-right botonnuevo']")
    titulo_LBL = Locator(By.XPATH, "//h3")
    nro_edicion_INP = Locator(By.ID, "numeroBoletinSuplementoOA")
    guardar_BTN = Locator(By.ID, "guardarBtn")
    alert_LBL = Locator(By.XPATH, "//div[@class='alerts']//div[@class='alert alert-success']")
    ver_pdf_BTN = Locator(By.ID, "pdfBtn")
    visualizar_oa_TEMP = Locator(By.XPATH, "//td[contains(text(),'{fecha}')]//following-sibling::td[contains(text(),'{nombre}')]//following-sibling::td//i[@class='fa fa-search']")
Beispiel #5
0
class ApycLocators:
    CATEGORITA_SEL = Locator(By.ID, "tipo_antecenteId")
    TIPO_ANTECEDENTE_SEL = Locator(By.ID, "categoria")
    RANGO_SEL = Locator(By.ID, "antecedente_cultural_beca_decreto678_filters_rango_mes_id")
    AUSPICIO_SEL = Locator(By.ID, "antecedente_cultural_beca_decreto678_filters_tipo_institucion_id")
    DESCRIPCION_INP = Locator(By.ID, "documentacion_docente_antecedente_descripcion")
    AGREGAR_IMG_BTN = Locator(By.XPATH, "//button[@class='btn btn-primary btn-subir']")
    AGREGAR_BTN = Locator(By.XPATH, "//div[@id='formulario']//div[7]//input[1]")
    ALERT_LBL = Locator(By.XPATH, "//div[@class='notice alert alert-success span10']")
Beispiel #6
0
class CertificadoLocator:
    LEGAJO_SI_INP = Locator(By.ID, "siObra")
    LEGAJO_NO_INP = Locator(By.ID, "noObra")
    ANIO_SEL = Locator(By.ID, "anio_presentacion")
    FECHA_CERTIF_INP = Locator(By.ID, "fecha_certificado")
    FECHA_CERTIF_TITTLE = Locator(
        By.XPATH,
        "//label[contains(text(),'Fecha de emisión del certificado')]")
    AGREGAR_IMG_BTN = Locator(
        By.XPATH,
        "//form[@id='form_AgregarAntecente']//button[@class='btn btn-primary btn-subir']"
        "[contains(text(),'Agregar')]")
    TERMIN_CONDIC_INP = Locator(By.ID, "readConfirm")
    ACEPTAR_BTN = Locator(By.ID, "btn_aceptar")
    ACEPTAR_ADV_BTN = Locator(By.ID, "pop_aceptarConfirmacion")
    ALERT_SPAN = Locator(By.XPATH,
                         "//div[@class='notice alert alert-success span10']")
Beispiel #7
0
class UsuariosTemporalesLocator:
    #DATOS PERSONALES
    NUM_DOC_INP = Locator(By.ID, "docente_filters_numero_documento")
    BUSCAR_BTN = Locator(By.XPATH, "//input[@value='Buscar']")
    HABILITAR_USU_TEMP = Locator(
        By.XPATH,
        "//td[contains(text(),'{mail}')]/parent::tr//a[@title='Habilitar']")
    EDITAR_USU_TEMP = Locator(
        By.XPATH,
        "//td[contains(text(),'{mail}')]/parent::tr//a[@title='Editar']")
    ACEPTAR_BTN = Locator(By.ID, "btn_aceptar_confirm")
    ALERT_LBL = Locator(By.XPATH,
                        "//div[@class='notice alert alert-success span10']")
    MAIL_FILTRO_INP = Locator(By.ID, "usuario_filters_email")
    MAIL_INP = Locator(By.ID, "usuario_email")
    MAIL_REPEAT_INP = Locator(By.ID, "usuario_email_again")
    GUARDAR_BTN = Locator(By.XPATH, "//input[@value='Guardar']")
Beispiel #8
0
class JudicialesLocators:
    menu_avisos_BTN = Locator(By.XPATH, "//a[contains(text(),'Avisos')]")
    juzgado_BTN = Locator(
        By.XPATH,
        "//div[@id='TramitesAdminSearchType_organismoJudicial_chosen']//span[contains(text(),'Seleccione...')]"
    )
    jugzado_INP = Locator(
        By.XPATH,
        "//div[@id='TramitesAdminSearchType_organismoJudicial_chosen']//input[@class='chosen-search-input']"
    )
    buscar_BTN = Locator(By.XPATH, "//button[@class='btn btn-sm btn-primary']")
    usuario_INP = Locator(By.ID, "username")
    pass_INP = Locator(By.ID, "password")
    ingresar_BTN = Locator(By.XPATH, "//button[@class='btn btn-primary']")
    pagar_BTN = Locator(By.XPATH, "//i[contains(@class,'fas fa-dollar-sign')]")
    mensaje_LBL = Locator(By.XPATH, "//div[@class='flash-success']")
    pagar_modal_BTN = Locator(
        By.XPATH, "//button[contains(@class,'btn btn-success btn-sm')]")
Beispiel #9
0
class NavbarLocators:
    NOMBRE_LBL = Locator(By.CLASS_NAME, 'nombre')
    NIVEL_LBL = Locator(By.CLASS_NAME, 'nivel')
    CICLO_SEL = Locator(By.ID, "ciclo_id")
    USUARIO_ANC = Locator(By.CSS_SELECTOR, "a.dropdown-toggle.sesion.pull-right")
    SUB_COLEGIO_USR_SEL = Locator(By.ID, "selectPerfilBloqueUsuario")
    SUB_COLEGIO_USR_LBL = Locator(By.ID, "select2-selectPerfilBloqueUsuario-container")
    CERRAR_SESION_LNK = Locator(By.XPATH, "//a[@class='text-danger pull-right']")
Beispiel #10
0
class TitulosLocators:
    #Buscador de titulos
    BUSCADOR_BTN = Locator(By.XPATH,
                           "//input[@value='Abrir buscador de títulos']")
    NIVEL_SEL = Locator(By.ID, "nivel_titulo")
    TITULO_INP = Locator(
        By.ID, "resolucion_titulo_filters_titulo_filters_descripcion")
    PROCEDENCIA_INP = Locator(
        By.ID, "resolucion_titulo_filters_titulo_filters_procedencia_id")
    RESOLUCION_INP = Locator(By.ID, "resolucion_titulo_filters_descripcion")
    AGREGAR_TEMP_BTN = Locator(
        By.XPATH,
        "//div[@id='DivBuscador']/table/tbody/tr[td[1][normalize-space(text())='{titulo}']]/td[4]/a"
    )
    BUSCAR_BTN = Locator(By.XPATH, "//input[@value='Buscar']")
    ALERT_SPAN = Locator(By.XPATH,
                         "//div[@class='notice alert alert-success span10']")
    SIN_SECUNDARIO_CHK = Locator(By.ID, "no_requiere_secundario")
    ACEPTAR_SIN_SEC_BTN = Locator(By.ID, "btn_agregarNivel")
Beispiel #11
0
class LoginLocators:
    INGRESAR_BTN = Locator(By.XPATH, "//span[@class='btn btn-primary']")
    INGRESAR_FIGARO_LBL = Locator(
        By.XPATH, "//h4[contains(text(),'Ingresar a Figaro')]")
    INSTITUCION_SEL = Locator(By.ID, "selectorInstitucion")
    USUARIO_INP = Locator(By.ID, "signin_username")
    PASS_INP = Locator(By.ID, "signin_password")
    INGRESAR_SUBMIT_BTN = Locator(By.ID, "signin_submit")
    MANZANA_LOADER_IMG = Locator(By.XPATH,
                                 "//div[@id='opcionesLogin']//div//img")
Beispiel #12
0
class LoginGoogleLocators:
    EMAIL_INP = Locator(By.ID, "identifierId")
    SIGUIENTE_BTN = Locator(
        By.XPATH, "//span[contains(text(),'Siguiente')]/parent::button")
    PASS_INP = Locator(By.XPATH, "//input[@type='password']")
    PAGINA_ANTERIOR_LNK = Locator(
        By.LINK_TEXT,
        "http://cdocentep1.cysonline.com.ar:10001/index.php/login")
    CUENTA_DIV = Locator(By.XPATH, "//div[@data-identifier='{mail}']")
    INICIO_BTN = Locator(By.XPATH, "//li[@id='inicio']")
    USAR_OTRA_CUENTA_DIV = Locator(
        By.XPATH, "//div[contains(text(),'Usar otra cuenta')]")
    SIST_LBL = Locator(
        By.XPATH, "//h3[contains(text(),'Sistema de Clasificación Docente')]")
Beispiel #13
0
class AntecedentesLocators:
    CATEGORIA_SEL = Locator(By.ID, "tipo_antecenteId")
    TIPO_ANTECEDENTE_SEL = Locator(By.ID, "categoria")
    LIBRO_RANGO_SEL = Locator(By.ID, "antecedente_pedagogico_libro_decreto678_filters_rango_ejemplar_id")
    LIBRO_CANT_AUT_INP = Locator(By.ID, "documentacion_docente_antecedente_cantidad_autores")
    AGREGAR_BTN = Locator(By.XPATH, "//input[@class='btn btn-gcba'][@value='Agregar']")
    ALERTA_LBL = Locator(By.XPATH, "//div[@class='notice alert alert-success span10']")
Beispiel #14
0
class NuevaInscripcionLocators:
    AREA_SEL = Locator(By.ID, "area")
    CARGO_SEL = Locator(By.ID, "cargo")
    ASIGNATURA_SEL = Locator(By.ID, "asignatura")
    ESPECIALIDAD_SEL = Locator(By.ID, "especialidad")
    AGREGAR_BTN = Locator(By.ID, "btn_agregar")
    MENSAJE_SPAN = Locator(
        By.XPATH, "//div[@class='notice alert alert-success span10']")
    MODAL_CIERRE = Locator(By.XPATH,
                           "//div[contains(@class, 'modal-backdrop')]")
    AGREGAR_MODAL_BTN = Locator(
        By.XPATH,
        "//div[@id='dialogo_confirmacion_inscripcion']//input[@id='pop_aceptarConfirmacion']"
    )
Beispiel #15
0
class BuscadorDocentesLocators:
    NOMBRE_INP = Locator(By.ID, "docente_filters_nombre")
    APELLIDO_INP = Locator(By.ID, "docente_filters_apellido")
    T_DOC_SEL = Locator(By.ID, "docente_filters_tipo_documento_id")
    NRO_DOC_INP = Locator(By.ID, "docente_filters_numero_documento")
    EMAIL_INP = Locator(By.ID, "docente_filters_email")
    BUSCAR_BTN = Locator(By.XPATH,
                         "//input[@class='btn btn-gcba'][@value='Buscar']")
    VALIDAR_TEMP_BTN = Locator(
        By.XPATH,
        "//td[contains(text(),'{mail}')]/parent::tr//a[@title='Validar']")
Beispiel #16
0
class DistritoLocators:
    #DATOS PERSONALES
    AREA_SEL = Locator(By.ID, "area")
    APELLIDO_INP = Locator(By.ID, "docente_apellido")
    AREA_TEMP = Locator(
        By.XPATH, "//td[contains(text(),'{area}')]//following::td[6]//a")
    DISTRITO_TEMP = Locator(By.ID, "d{distrito}")
    GUARDAR_BTN = Locator(By.ID, "guardarSeleccionDistrito")
    ALERT_LBL = Locator(By.XPATH,
                        "//div[@class='notice alert alert-success span10']")
Beispiel #17
0
class PlanillaLocators:
    CALIFICACION_TEMP = Locator(
        By.XPATH,
        '//td[contains(@title, "Alumno: {alumno}") and contains(@title, "Evaluación: {evaluacion}")]'
    )
    PROMEDIO_TEMP = Locator(
        By.XPATH,
        '//td[contains(@title, "Alumno: {alumno}") and contains(@title, "{tipo}") and contains(@title, "{periodo}")]'
    )
    TITULO_MODAL_LB = Locator(By.XPATH, "//h2[@id='myModalLabel']")
    NOTA_INP = Locator(By.ID, "nota")
    TITULO_PLANILLA_LB = Locator(By.XPATH, "//div[@class='dato']")
    AUSENTE_CHK = Locator(By.XPATH, "//input[@type='checkbox']")
    CERRAR_BTN = Locator(By.XPATH, "//a[contains(text(),'Cerrar')]")
Beispiel #18
0
class CursosLocators:
    #BUSCADOR DE CURSOS
    ABRIR_BUSCADOR_BTN = Locator(By.XPATH, "//div[@id='DivListado']//input[1]")
    CURSO_INP = Locator(By.ID, "resolucion_curso_filters_descripcion")
    INSTITUCION_INP = Locator(
        By.ID, "resolucion_curso_filters_curso_filters_institucion_id")
    RESOLUCION_INP = Locator(
        By.ID, "resolucion_curso_filters_curso_filters_descripcion")
    BUSCAR_BTN = Locator(By.XPATH, "//input[@value='Buscar']")

    AGREGAR_CURSO_TEMP_BTN = Locator(
        By.XPATH, "//td[contains(text(),'{curso}')]/parent::tr//a")
    ALERT_LBL = Locator(By.XPATH,
                        "//div[@class='notice alert alert-success span10']")
Beispiel #19
0
class DatePickerLocators:
    from selenium.webdriver.common.by import By
    from page_objects.base_page import Locator
    SWITCHER_TEMPLATE = Locator(
        By.XPATH,
        '//div[contains(@class,"datepicker")]//div[@style="display: block;" or @style=""]//th[@class="datepicker-switch"]'
    )
    ANTERIOR_TH = Locator(
        By.XPATH,
        '//div[contains(@class,"datepicker")]//div[@style="display: block;"]//th[@class="prev"]'
    )
    DAY_TEMPLATE = Locator(By.XPATH,
                           '//tr//td[@class="day" and text()="{dia}"]')
    MONTH_TEMPLATE = Locator(
        By.XPATH, '//tr//td//span[@class="month" and text()="{mes}"]')
    ANIO_ACTIVO = Locator(By.XPATH, "//span[@class='year active']")
    ANIO_TEMPLATE = Locator(
        By.XPATH, '//tr//td//span[@class="year"] and text()="{anio}"')
Beispiel #20
0
class InscripcionesLocators:
    NUEVA_INSC_BTN = Locator(By.XPATH, "//a[@class='btn btn-success']")
Beispiel #21
0
class PrincipalDocenteLocators:
    MENU_TEMP_BTN = Locator(By.XPATH, "//a[contains(text(),'{menu}')]")
    PERIODO_INSCR_BTN = Locator(By.XPATH, "//a[@class='btn btn-link']")
Beispiel #22
0
class MenuLocators:
    MENU_TEMP = Locator(By.XPATH, "//a[contains(normalize-space(text()), '{menu}')]")
    SUBMENU_TEMP = Locator(By.XPATH, "//a[contains(normalize-space(text()), '{submenu}')][@href='#']")
    CIERRE_SESION_NOMB_BTN = Locator(By.XPATH, "//p[contains(text(),'{nombre_apellido}')]")
    CIERRE_SESION_BTN = Locator(By.XPATH, "// a[contains(text(), 'Cerrar Sesión')]")
    LOGOUT_LBL = Locator(By.XPATH, "//a[contains(text(),'logout')]")
Beispiel #23
0
class NuevoAvisoLocators:
    avisos_BTN = Locator(By.XPATH,
                         "//a[@class='puntero'][contains(text(),'Avisos')]")
    ingreso_manual_BTN = Locator(By.ID, "ingreso_manual_li")
    seccion_SEL = Locator(By.ID, "_seccion")
    opcion_default_OPT = Locator(
        By.XPATH,
        "//select[@id='_rubro']//option[contains(text(), '--Seleccionar--')]")
    rubro_SEL = Locator(By.ID, "_rubro")
    tipo_aviso_SEL = Locator(By.ID, "_tipoDeAviso")
    modalidad_pago_SEL = Locator(By.ID, "AvisoType_modalidadPago")
    fecha_publicacion_INP = Locator(By.ID, "AvisoType_fechaPublicacion")
    cant_dias_INP = Locator(By.ID, "AvisoType_cantDiasAviso")
    texto_CLICK = Locator(By.XPATH, "//div[@class='note-editable panel-body']")
    texto_TEXT = Locator(By.CSS_SELECTOR,
                         "//div[@class='note-editable panel-body']//p")
    documento_ADJ = Locator(By.XPATH,
                            "//input[@id='AvisoType_documentoAviso']")
    fecha_admin_INP = Locator(By.ID, "AvisoType_fechaFirmaActoAdministrativo")
    organismo_CONTAINER = Locator(By.ID, "organismo")
    origen_SEL = Locator(By.ID, "AvisoType_sistemaOrigen")
    organismo_SEL = Locator(By.ID, "AvisoType_organismo")
    dependencia_SEL = Locator(By.ID, "AvisoType_dependencia")
    subdependencia_SEL = Locator(By.ID, "AvisoType_subDependenciaBora")
    titulo_INP = Locator(By.ID, "AvisoType_titulo")
    guardar_BTN = Locator(By.ID, "guardar")
    mensaje_MSJ = Locator(By.XPATH, "//div[@class='flash-notice']")
    opcion_default_orga_OPT = Locator(
        By.XPATH,
        "//select[@id='AvisoType_organismo']//option[contains(text(),'--Seleccionar--')]"
    )

    def verificacion_aviso(self, idAviso):
        return Locator(
            By.ID,
            "//td[contains(text(),'" + idAviso + "')] / parent::tr // a")
Beispiel #24
0
 def verificacion_aviso(self, idAviso):
     return Locator(
         By.ID,
         "//td[contains(text(),'" + idAviso + "')] / parent::tr // a")
Beispiel #25
0
class VerificarAvisoLocators:
    aprobar_BTN = Locator(By.XPATH, "//button[@id='aprobar']")
    cierre_ventana_BTN = Locator(
        By.XPATH,
        "//div[@class='modal-dialog modal-lg']//span[contains(text(),'×')]")
    mensaje_MSJ = Locator(By.XPATH, "//div[@class='flash-notice']")
    autos_INP = Locator(By.ID, "AvisoVerificacionType_autos")
    causante_INP = Locator(By.ID, "AvisoVerificacionType_causante")
    opcion_default_OPT = Locator(
        By.XPATH,
        "//li[@class='opt selected']//label[contains(text(),'--Seleccionar--')]"
    )
    opcion_subtipo_LBL = Locator(
        By.XPATH, "//label[contains(text(),'Sin Subtipo de aviso')]")
    fechalimitepago_INP = Locator(By.ID,
                                  "AvisoVerificacionType_fechaLimitePago")
    lupa_ult_aviso_BTN = Locator(By.XPATH, "//tr[1]//td[11]//a[1]//i[1]")
    dias_INP = Locator(By.XPATH,
                       "//input[@id='AvisoVerificacionType_cantDiasAviso']")
    fecha_publicar_INP = Locator(By.ID,
                                 "AvisoVerificacionType_fechaPublicacion")
    modalidad_pago_LBL = Locator(By.XPATH,
                                 "//label[contains(text(),'Modalidad pago')]")
    fecha_firma_INP = Locator(
        By.ID, "AvisoVerificacionType_fechaFirmaActoAdministrativo")
    descargar_texto_BTN = Locator(
        By.XPATH,
        "//h6[@class='panel-title']//i[@class='fa fa-download text-success']")
    decargar_doc_BTN = Locator(
        By.XPATH,
        "//h5[@class='panel-title']//i[@class='fa fa-download text-success']")
    doc_no_existe_LBL = Locator(
        By.XPATH, "//i[@class='fa fa-exclamation-triangle fa-4x text-danger']")
    guardar_BTN = Locator(By.XPATH, "//button[@id='guardar']")
    guardar_Pend_PUB_BTN = Locator(By.XPATH, "//button[@id='guardarFechaPub']")
    texto_dias_LBL = Locator(
        By.XPATH, "//li[contains(text(),'Dias a publicar incorrecto')]")
    texto_fecha_LBL = Locator(
        By.XPATH, "//li[contains(text(),'Fecha de publicacion requerida')]")
    texto_firma_LBL = Locator(By.XPATH,
                              "//li[contains(text(),'Valor requerido')]")
    info_gral_LBL = Locator(By.XPATH,
                            "//p[contains(text(),'Información general')]")
    anio_exp_jub_LBL = Locator(
        By.XPATH, "//li[contains(text(),'Año expediente judicial requerido')]")
    nro_exp_jud_LBL = Locator(
        By.XPATH, "//li[contains(text(),'Nro expediente judicial requerido')]")
    buscar_BTN = Locator(By.XPATH, "//button[@class='btn btn-default btn-sm']")
    cerrar_sesion = Locator(By.XPATH, "//a[@class='pull-left user-text']")
    subtipo_SEL = Locator(By.XPATH, '//span[contains(text(),"Seleccionar")]')
    sin_subtipo_OP = Locator(
        By.XPATH, "//label[contains(text(),'Sin Subtipo de aviso')]")
    fecha_limite_pago_INP = Locator(By.ID,
                                    "AvisoVerificacionType_fechaLimitePago")
    anio_exepdiente_INP = Locator(
        By.ID, "AvisoVerificacionType_anioExpedienteJudicial")
    nro_expediente_INP = Locator(
        By.ID, "AvisoVerificacionType_nroExpedienteJudicial")
    organismo_SEL = Locator(By.ID, "AvisoVerificacionType_organismo")
    sin_valor_subtipo_SPAN = Locator(
        By.XPATH, "//span[contains(text(),'--Seleccionar--')]")
    titulo_INP = Locator(By.ID, "AvisoVerificacionType_titulo")
    documento_aviso_LBL = Locator(By.XPATH, "//a[@class='documento_title']")
    TEMP_VISUALIZAR_AVISO = Locator(
        By.XPATH, "//td[contains(text(),'{id_aviso}')]/parent::tr//a")
    TEMP_LOCATOR_ESTADO = Locator(
        By.XPATH, "//td[contains(text(),'{id_aviso}')]//preceding::td[1]")
    suplemento_SEL = Locator(By.ID,
                             "AvisoVerificacionType_ordenArmadoSuplemento")
    rubro_SEL = Locator(By.ID, "AvisoVerificacionType_rubro")
    dia_31_BTN = Locator(By.XPATH, "//td[@class='old today day']")
Beispiel #26
0
class MenuLocators:
    SOLAPA_MENU_LBL = Locator(By.LINK_TEXT, "{solapa}")
Beispiel #27
0
class BandejaTramitesLocators:
    MODAL_AVISO_DIV = Locator(By.ID, "content-detalleAviso")
    motivo_rechazo_TXT = Locator(By.XPATH, "//textarea[@id='AvisoVerificacionType_observaciones']")
    mensaje_MSJ = Locator(By.XPATH, "//div[@class='alert alert-success']//div[@class='flash-notice']")
    motivo_rechazo_INP = Locator(By.ID,"RechazarAvisoType_motivoRechazo")
    reprocesar_BTN = Locator(By.XPATH, "//button[contains(text(),'Reprocesar')]")
    cierre_ventana_BTN = Locator(By.XPATH,"//div[@class='modal-dialog modal-lg']//span[contains(text(),'×')]")
    firmante1_TXT = Locator(By.ID, "select2-AvisoVerificacionType_firmantesAvisoActoAdministrativo_0_firmanteActoAdministrativo-container")
    firmante2_TXT = Locator(By.ID, "select2-AvisoVerificacionType_firmantesAvisoActoAdministrativo_1_firmanteActoAdministrativo-container")
    firmante3_TXT = Locator(By.ID, "select2-AvisoVerificacionType_firmantesAvisoActoAdministrativo_2_firmanteActoAdministrativo-container")
    descargar_texto_BTN = Locator(By.XPATH, "//h6[@class='panel-title']//i[@class='fa fa-download text-success']")
    decargar_doc_BTN = Locator(By.XPATH, "//h5[@class='panel-title']//i[@class='fa fa-download text-success']")
    doc_no_existe_LBL = Locator(By.XPATH, "//i[@class='fa fa-exclamation-triangle fa-4x text-danger']")
    dias_INP = Locator(By.ID, "AvisoVerificacionType_cantDiasAviso")
    texto_dias_LBL = Locator(By.XPATH, "//li[contains(text(),'Dias a publicar incorrecto')]")
    texto_fecha_LBL = Locator(By.XPATH, "//li[contains(text(),'Fecha de publicacion requerida')]")
    texto_firma_LBL = Locator(By.XPATH, "//li[contains(text(),'Valor requerido')]")
    guardar_Pend_PUB_BTN = Locator(By.XPATH, "//button[@id='guardarFechaPub']")
    fecha_publicar_INP = Locator(By.ID, "AvisoVerificacionType_fechaPublicacion")
    fecha_firma_INP = Locator(By.ID, "AvisoVerificacionType_fechaFirmaActoAdministrativo")
    apruebo_BTN = Locator(By.XPATH, "//button[@id='aprobarFechaPub']")
    documento_aviso_LBL = Locator(By.XPATH, "//a[@class='documento_title']")
    anio_exp_jub_LBL = Locator(By.XPATH, "//li[contains(text(),'Año expediente judicial requerido')]")
    nro_exp_jud_LBL = Locator(By.XPATH, "//li[contains(text(),'Nro expediente judicial requerido')]")
    ESTADO_AVISO_TEMP = Locator(By.XPATH, "//td[contains(text(),'{id_aviso}')]//following::td[3]")
    REPROCESAR_AVISO_TEMP = Locator(By.XPATH, "//td[contains(text(),'{id_aviso}')]/parent::tr//a")
    titulo_bandeja_LBL = Locator(By.XPATH, "//h3[contains(text(),'Bandeja de trámites')]")
    AVISO_LBL = Locator(By.XPATH, "//h4[@id='myModalLabel']")
    suplemento_SEL = Locator(By.ID, "AvisoVerificacionType_ordenArmadoSuplemento")



    def locator_estado(idAviso):
        return Locator(By.XPATH, "//td[contains(text(),'" + str(idAviso) + "')]//following::td[3]")


    def locator_reprocesar(idAviso):
        return Locator(By.XPATH,"//td[contains(text(),'" + str(idAviso) + "')]/parent::tr//a")
Beispiel #28
0
 def locator_reprocesar(idAviso):
     return Locator(By.XPATH,"//td[contains(text(),'" + str(idAviso) + "')]/parent::tr//a")
Beispiel #29
0
 def locator_estado(idAviso):
     return Locator(By.XPATH, "//td[contains(text(),'" + str(idAviso) + "')]//following::td[3]")
Beispiel #30
0
class DatosDocentesLocators:
    PUNTOS_APROBAR_DOC_BTN = Locator(
        By.XPATH, "//div[@class='controls']//i[@class='fa fa-ellipsis-h']")
    APROBAR_DOC_BTN = Locator(
        By.XPATH,
        "//div[@id='accionesDocumento']//a[contains(text(),'Aprobar')]")
    SOLAPA_TEMP_BTN = Locator(By.XPATH, "//a[contains(text(),'{solapa}')]")
    FLECHA_VALID_TITULO_BTN = Locator(
        By.XPATH,
        "//td[contains(text(),'{titulo}')]/parent::tr//i[@class=' icon-chevron-down icon-white']"
    )
    FLECHA_VALID_APYC_BTN = Locator(
        By.XPATH,
        "//td[contains(text(),'{categoria}')]//following-sibling::td[contains(text(),'Rango {rango} | Auspicio {tipo_institucion}')]/parent::tr//i[@class=' icon-chevron-down icon-white']"
    )
    APROBAR_TITULO_BTN = Locator(
        By.XPATH,
        "//div[@id='collapse1']//div[@class='accordion-inner']//div//a[contains(text(),'Aprobar')]"
    )
    APROBAR_APYC_BTN = Locator(
        By.XPATH,
        "//div[@id='collapse3']//div[@class='accordion-inner']//div//a[contains(text(),'Aprobar')]"
    )
    ACCORDION_BTN = Locator(
        By.XPATH,
        "//a[@class='accordion-toggle'][contains(text(),'{Listado}')]")
    ACEPTAR_TITULO_BTN = Locator(By.ID, "btn_aprovarTitulo")
    ESTADO_TITULO_TEMP = Locator(
        By.XPATH, "//td[contains(text(),'{titulo}')]//following::td[5]")
    TITULO_TRAMITE_FALSE = Locator(By.ID, "noTituloEnTramite")
    CARGA_ESTADO_LBL = Locator(By.XPATH, "//th[contains(text(),'Estado')]")
    MODAL_APROBACION_TITULO_ = Locator(By.ID, "dialogoAprobarTitulo")