Uses of Class
io.github.commonslibs.selenium_lib.excepciones.PruebaAceptacionExcepcion
Packages that use PruebaAceptacionExcepcion
Package
Description
-
Uses of PruebaAceptacionExcepcion in io.github.commonslibs.selenium_lib.suite
Methods in io.github.commonslibs.selenium_lib.suite that throw PruebaAceptacionExcepcionModifier and TypeMethodDescriptionvoidTestSeleniumAbstracto.afterTest()voidTestSeleniumAbstracto.beforeTest(org.testng.ITestContext context) Metodo que se ejecuta antes de los test. -
Uses of PruebaAceptacionExcepcion in io.github.commonslibs.selenium_lib.utilidades
Methods in io.github.commonslibs.selenium_lib.utilidades that throw PruebaAceptacionExcepcionModifier and TypeMethodDescriptionorg.openqa.selenium.WebElementWebElementWrapper.click(org.openqa.selenium.By testObject) Acción de hacer click en un elemento identificado por el @param testObject.voidWebElementWrapper.clickParaUploadFichero(org.openqa.selenium.By testObject, String rutaFichero) Click para subir un fichero.org.openqa.selenium.WebElementWebElementWrapper.clickSinColorear(org.openqa.selenium.By testObject) Acción de hacer click en un elemento identificado por el @param testObject sin que sea coloreado.static ConnectionAbre y retorna una conexion a BBDDintWebElementWrapper.cuentaNumeroDeOpcionesEnSelect(org.openqa.selenium.By testObject) Devuelve el numero de opciones presentes en el select cuyo objeto de test se pasa como parametro.static voidBaseDeDatos.desconectar(Connection conexion) cierra la conexion con la BBDDvoidWebElementWrapper.doubleClick(org.openqa.selenium.By testObject) Acción de hacer doble click en un elemento identificado por el @param testObject.voidWebElementWrapper.escribeTexto(org.openqa.selenium.By testObject, String texto) Acción de escribir texto en un elemento identificado por el @param testObject.org.openqa.selenium.WebElementWebElementWrapper.esperaBasica(org.openqa.selenium.By testObject) Se realiza una espera basica hasta que elemento identificado en @param testObject este presentevoidWebElementWrapper.esperarDesaparezcaElemento(org.openqa.selenium.WebDriver driver, org.openqa.selenium.By elemento) Se realiza una espera hasta que desaparezca el elemento identificado por @param elementovoidWebElementWrapper.esperarDesaparezcaProcesando(org.openqa.selenium.WebDriver driver) Se realiza una espera hasta que desaparezca el elemento ProcesandovoidWebElementWrapper.esperarFilaUnicaListado(org.openqa.selenium.By testObject) voidWebElementWrapper.esperarHastaQueElementoNoPresente(org.openqa.selenium.By testObject) Se realiza una espera hasta que el elemento identificado por el @param testObject no este presentevoidWebElementWrapper.esperarListadoConFilas(org.openqa.selenium.By testObject, int numeroFilasEsperadas) static booleanBaseDeDatos.execute(Connection conexion, String queryString) Execute non-query (usually INSERT/UPDATE/DELETE/COUNT/SUM...) on databasestatic ResultSetBaseDeDatos.executeQuery(Connection conexion, String queryString) ejecuta una consulta SQL a la BBDDWebElementWrapper.getAttribute(org.openqa.selenium.By testObject, String atributo) WebElementWrapper.getText(org.openqa.selenium.By testObject) Devuelve el texto de un objeto identificado por el @param testObjectvoidWebElementWrapper.inputUploadFichero(org.openqa.selenium.By inputTestObject, String rutaFichero) Input upload fichero.voidWebElementWrapper.mostrarElementoPresente(org.openqa.selenium.By testObject) Acción de resaltar un elemento con un color determinado en el navegador si éste esta presente.org.openqa.selenium.WebElementWebElementWrapper.obtenerElemento(org.openqa.selenium.By testObject) intWebElementWrapper.obtenerFilaConTextoEnTabla(org.openqa.selenium.By testObject, String texto) Obtiene la fila de una tabla que contiene el @param texto en alguna de sus columnas.intWebElementWrapper.obtenerNumeroRegistrosTabla(org.openqa.selenium.By tabla) Devuelve el número de elementos de la @param tablaintWebElementWrapper.obtenerNumeroRegistrosTabla(org.openqa.selenium.By tabla, org.openqa.selenium.By spanPaginator, int position) Devuelve el número de elementos de la tabla tomándolo de currentPageReportTemplateWebElementWrapper.obtenerTextoElemento(org.openqa.selenium.By testObject) Comprueba si el elemento extiste y luego obtiene el texto.intWebElementWrapper.obtieneNumeroDeFilasListado(org.openqa.selenium.By testObject) Obtiene el numero de filas de un listado identificado por el @param testObjectWebElementWrapper.obtieneValorSeleccionadoEnCombo(org.openqa.selenium.By testObject, String selector) voidWebElementWrapper.seleccionaDesplegableByLabel(String idDivSelect, String labelBuscada) voidWebElementWrapper.seleccionaDesplegableByLabel(String labelBuscada, org.openqa.selenium.By label, org.openqa.selenium.By filtro) voidWebElementWrapper.seleccionarElementoCombo(org.openqa.selenium.By testObject, String labelValue) Acción de seleccionar un elemento con etiqueta @param labelValue de un combo (select desplegable) identificado por el @param testObject.voidWebElementWrapper.seleccionarElementoComboConEspera(org.openqa.selenium.By testObject, String labelValue) Acción de seleccionar un elemento con etiqueta @param labelValue de un combo (select desplegable) identificado por el @param testObject, incluye una comprobación para verificar de que el elemento a desaparecido.voidWebElementWrapper.selectOneMenu(String id, String label) Acción que permite seleccionar un registro con la etiqueta @param label del combo identificado por el @param idvoidWebElementWrapper.selectOptionByIndex(org.openqa.selenium.By testObject, Integer index) Acción de seleccionar una opción en un elemento identificado por el @param testObject y seleccionando el elemento con el @param indexvoidWebElementWrapper.selectOptionByLabel(org.openqa.selenium.By testObject, String label) Acción de seleccionar una opción en un elemento identificado por el @param testObject y seleccionando el elemento con el @param labelvoidWebElementWrapper.selectOptionByValue(org.openqa.selenium.By testObject, String value) booleanWebElementWrapper.verificarElementoVisible(org.openqa.selenium.By testObject) Comprueba si el elemento identificado por @param es visible (devuelve true).voidWebElementWrapper.verifyElementAttributeValue(org.openqa.selenium.By testObject, String atributo, String value) voidWebElementWrapper.verifyElementChecked(org.openqa.selenium.By testObject) voidWebElementWrapper.verifyElementNotChecked(org.openqa.selenium.By testObject) voidWebElementWrapper.verifyElementNotPresent(org.openqa.selenium.By testObject) voidWebElementWrapper.verifyElementNotPresentInmediate(org.openqa.selenium.By testObject) voidWebElementWrapper.verifyElementPresent(org.openqa.selenium.By testObject) booleanWebElementWrapper.verifyElementPresentWithReturn(org.openqa.selenium.By testObject) booleanWebElementWrapper.verifyElementPresentWithReturn(org.openqa.selenium.By testObject, int numeroDeIntentos) voidWebElementWrapper.verifyElementText(org.openqa.selenium.By testObject, String text) Acción de comprueba que el texto de un objeto identificado por el @param testObject es igual al texto de @param textbooleanWebElementWrapper.verifyElementVisibleWithReturn(org.openqa.selenium.By testObject) voidWebElementWrapper.verifyOptionSelectedByLabel(org.openqa.selenium.By testObject, String label) voidWebElementWrapper.waitUntilElementTextChangedOrDisapeared(org.openqa.selenium.By testObject, String text) Realiza una espera activa mientras exista el @param testObject con el @textoAComprobar. -
Uses of PruebaAceptacionExcepcion in io.github.commonslibs.selenium_lib.utilidades.robots
Methods in io.github.commonslibs.selenium_lib.utilidades.robots that throw PruebaAceptacionExcepcionModifier and TypeMethodDescriptionstatic voidAutofirma.aceptarDialogAutoFirma()Aceptar dialog auto firma.static voidAutofirma.autoFirmaChromium(boolean primeraEjecucion) Robot de autofirma específico para Chromium (Chrome y Edge)static voidAutofirma.autoFirmaFirefox(boolean primeraEjecucion) Robot de autofirma específico para Firefoxstatic voidAutofirma.firmarConAutofirma(WebDriverFactory.Navegador navegador) static voidAutofirma.firmarConAutofirma(WebDriverFactory.Navegador navegador, boolean primeraEjecucion) static voidCertificado.seleccionarCertificado(WebDriverFactory.Navegador navegador, int posicionCertificado) Método que lanza un proceso en segundo plano para seleccionar un certificado digial IMPORTANTE: Hay que llamar esta función justo antes de que se abra la ventana de selección de certificadosstatic voidCertificado.seleccionarCertificado(String posicionCertificado) static voidCertificado.seleccionarCertificadoChrome(int posicionCertificado)