Class TestSeleniumAbstracto

java.lang.Object
org.springframework.test.context.testng.AbstractTestNGSpringContextTests
io.github.commonslibs.selenium_lib.suite.TestSeleniumAbstracto
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.testng.IHookable, org.testng.ITestNGListener

public abstract class TestSeleniumAbstracto extends org.springframework.test.context.testng.AbstractTestNGSpringContextTests
Añade por defecto listeners
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
     
    protected org.openqa.selenium.WebDriver
    Instacia de webdriver usado en el caso de prueba
     

    Fields inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests

    applicationContext, logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    beforeTest(org.testng.ITestContext context)
    Metodo que se ejecuta antes de los test.

    Methods inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests

    run, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstance

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • driver

      protected org.openqa.selenium.WebDriver driver
      Instacia de webdriver usado en el caso de prueba
    • codigoTest

      protected String codigoTest
  • Constructor Details

    • TestSeleniumAbstracto

      public TestSeleniumAbstracto()
  • Method Details