org.pageobject.scalatest

PageObjectSuite

trait PageObjectSuite extends PageBrowser with DriverLauncher with DefaultDriverProvider with BrowserLimitSuite

When you decide to work with the PageObject pattern this trait is a most common customized adaption. It summarizes the traits needed for using the PageObject pattern. In detail: You need a PageBrowser to support the navigation, to work with WaitFor and PageHolder. The former allows to wait for events for a certain time, the latter administrates the internal web driver or element access. You need a DriverLauncher which starts the web driver. In this case you might use different browsers if needed. You need a DefaultDriverProvider to administrate the DriverLauncher. Last but not least you need BrowserLimitSuite to support the execution on multiple browsers in parallel. So this is the collection of traits needed to write a Page Object Suite.

If you want to customize some parts you can extend your Suite with some of the trais listed here and replace others by a custom implementation.

Self Type
PageObjectSuite with Suite
Linear Supertypes
BrowserLimitSuite, ConfigureableParallelTestLimit, ParallelTestLimit, ParallelTestExecution, OneInstancePerTest, DefaultDriverProvider, DriverLauncher, SuiteMixin, PageBrowser, Logging, PageHolder, DriverProvider, WaitFor, DurationDsl, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PageObjectSuite
  2. BrowserLimitSuite
  3. ConfigureableParallelTestLimit
  4. ParallelTestLimit
  5. ParallelTestExecution
  6. OneInstancePerTest
  7. DefaultDriverProvider
  8. DriverLauncher
  9. SuiteMixin
  10. PageBrowser
  11. Logging
  12. PageHolder
  13. DriverProvider
  14. WaitFor
  15. DurationDsl
  16. AnyRef
  17. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Duration = scala.concurrent.duration.Duration

    Definition Classes
    DurationDsl
  2. type FiniteDuration = scala.concurrent.duration.FiniteDuration

    Definition Classes
    DurationDsl
  3. type PatienceConfig = core.WaitFor.PatienceConfig

    Definition Classes
    WaitFor
  4. type TimeUnit = java.util.concurrent.TimeUnit

    Attributes
    protected
    Definition Classes
    DurationDsl

Abstract Value Members

  1. abstract def expectedTestCount(filter: Filter): Int

    Definition Classes
    SuiteMixin
  2. abstract def nestedSuites: IndexedSeq[Suite]

    Definition Classes
    SuiteMixin
  3. abstract def rerunner: Option[String]

    Definition Classes
    SuiteMixin
  4. abstract def runNestedSuites(args: Args): Status

    Attributes
    protected
    Definition Classes
    SuiteMixin
  5. abstract val styleName: String

    Definition Classes
    SuiteMixin
  6. abstract def tags: Map[String, Set[String]]

    Definition Classes
    SuiteMixin
  7. abstract def testDataFor(testName: String, theConfigMap: ConfigMap): TestData

    Definition Classes
    SuiteMixin
  8. abstract def testNames: Set[String]

    Definition Classes
    SuiteMixin

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final val DAYS: java.util.concurrent.TimeUnit(DAYS)

    Attributes
    protected
    Definition Classes
    DurationDsl
  7. final val HOURS: java.util.concurrent.TimeUnit(HOURS)

    Attributes
    protected
    Definition Classes
    DurationDsl
  8. final val MICROSECONDS: java.util.concurrent.TimeUnit(MICROSECONDS)

    Attributes
    protected
    Definition Classes
    DurationDsl
  9. final val MILLISECONDS: java.util.concurrent.TimeUnit(MILLISECONDS)

    Attributes
    protected
    Definition Classes
    DurationDsl
  10. final val MINUTES: java.util.concurrent.TimeUnit(MINUTES)

    Attributes
    protected
    Definition Classes
    DurationDsl
  11. final val NANOSECONDS: java.util.concurrent.TimeUnit(NANOSECONDS)

    Attributes
    protected
    Definition Classes
    DurationDsl
  12. final val SECONDS: java.util.concurrent.TimeUnit(SECONDS)

    Attributes
    protected
    Definition Classes
    DurationDsl
  13. def activePage: Option[AtChecker]

    Attributes
    protected
    Definition Classes
    PageHolder
  14. def activePage_=(page: Option[AtChecker]): Unit

    Attributes
    protected
    Definition Classes
    PageHolder
  15. def activePage_=(page: AtChecker): Unit

    Attributes
    protected
    Definition Classes
    PageHolder
  16. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  17. def at[P <: AtChecker](pages: Function0[_ <: P]*): P

    Definition Classes
    PageBrowser
  18. def at[P <: AtChecker](page: ⇒ P): P

    Definition Classes
    PageBrowser
  19. def clearActivePage(): Unit

    Attributes
    protected
    Definition Classes
    PageHolder
  20. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. def createTestSpecificReporter(testSorter: DistributedTestSorter, testName: String): Reporter

    Attributes
    protected[org.scalatest]
    Definition Classes
    ParallelTestExecution
  22. def debug(msg: ⇒ String, throwable: ⇒ Throwable): Unit

    Definition Classes
    Logging
  23. def debug(msg: ⇒ String): Unit

    Definition Classes
    Logging
  24. implicit def doubleMult(d: Double): DoubleMult

    Attributes
    protected
    Definition Classes
    DurationDsl
  25. implicit def durationDouble(n: Double): DurationConversions

    Attributes
    protected
    Definition Classes
    DurationDsl
  26. implicit def durationInt(n: Int): DurationConversions

    Attributes
    protected
    Definition Classes
    DurationDsl
  27. implicit def durationLong(n: Long): DurationConversions

    Attributes
    protected
    Definition Classes
    DurationDsl
  28. implicit def durationToPair(d: (PageObjectSuite.this)#Duration): (Long, (PageObjectSuite.this)#TimeUnit)

    Attributes
    protected
    Definition Classes
    DurationDsl
  29. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  31. def error(msg: ⇒ String, throwable: ⇒ Throwable): Unit

    Definition Classes
    Logging
  32. def error(msg: ⇒ String): Unit

    Definition Classes
    Logging
  33. val executorService: ExecutorService

  34. def failOnInactivePage(pageObject: PageObject): Unit

    Attributes
    protected[org.pageobject]
    Definition Classes
    PageHolder
  35. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  36. final val fromNow: scala.concurrent.duration.fromNow.type

    Attributes
    protected
    Definition Classes
    DurationDsl
  37. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  38. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  39. def info(msg: ⇒ String, throwable: ⇒ Throwable): Unit

    Definition Classes
    Logging
  40. def info(msg: ⇒ String): Unit

    Definition Classes
    Logging
  41. implicit def intMult(i: Int): IntMult

    Attributes
    protected
    Definition Classes
    DurationDsl
  42. def invalidateActivePage(): Unit

    Attributes
    protected[org.pageobject]
    Definition Classes
    PageHolder
  43. def invalidatePage(pageObject: PageObject): Unit

    Attributes
    protected[org.pageobject]
    Definition Classes
    PageHolder
  44. def isActivePage(page: AtChecker): Boolean

    Attributes
    protected[org.pageobject]
    Definition Classes
    PageHolder
  45. def isAt(page: ⇒ AtChecker): Boolean

    Definition Classes
    PageBrowser
  46. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  47. implicit def longMult(l: Long): LongMult

    Attributes
    protected
    Definition Classes
    DurationDsl
  48. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  49. def newInstance: Suite with ParallelTestExecution

    Definition Classes
    ParallelTestExecution → OneInstancePerTest
  50. final def notify(): Unit

    Definition Classes
    AnyRef
  51. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  52. implicit def pairIntToDuration(p: (Int, (PageObjectSuite.this)#TimeUnit)): (PageObjectSuite.this)#Duration

    Attributes
    protected
    Definition Classes
    DurationDsl
  53. implicit def pairLongToDuration(p: (Long, (PageObjectSuite.this)#TimeUnit)): (PageObjectSuite.this)#FiniteDuration

    Attributes
    protected
    Definition Classes
    DurationDsl
  54. def parallelTestLimitEnvName: Seq[String]

    Attributes
    protected
    Definition Classes
    BrowserLimitSuiteConfigureableParallelTestLimit
  55. def run(testName: Option[String], args: Args): Status

    Definition Classes
    ParallelTestLimit → ParallelTestExecution → SuiteMixin
  56. final def runTest(testName: String, args: Args): Status

    Attributes
    protected
    Definition Classes
    ParallelTestExecution → OneInstancePerTest → SuiteMixin
  57. def runTests(testName: Option[String], args: Args): Status

    Attributes
    protected
    Definition Classes
    ParallelTestExecution → OneInstancePerTest → SuiteMixin
  58. def sortingTimeout: Span

    Attributes
    protected
    Definition Classes
    ParallelTestExecution
  59. final val span: scala.concurrent.duration.span.type

    Attributes
    protected
    Definition Classes
    DurationDsl
  60. val suiteId: String

    Definition Classes
    DriverLauncher → SuiteMixin
  61. val suiteName: String

    Definition Classes
    DriverLauncher → SuiteMixin
  62. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  63. def to[P <: UrlPage with AtChecker](page: ⇒ P): P

    Definition Classes
    PageBrowser
  64. def toString(): String

    Definition Classes
    AnyRef → Any
  65. def trace(msg: ⇒ String, throwable: ⇒ Throwable): Unit

    Definition Classes
    Logging
  66. def trace(msg: ⇒ String): Unit

    Definition Classes
    Logging
  67. def via[P <: UrlPage](page: ⇒ P): P

    Definition Classes
    PageBrowser
  68. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  70. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. def waitFor[T](config: (PageObjectSuite.this)#PatienceConfig)(fun: ⇒ T): T

    Attributes
    protected
    Definition Classes
    WaitFor
  72. def waitFor[T](duration: (PageObjectSuite.this)#FiniteDuration)(fun: ⇒ T): T

    Attributes
    protected
    Definition Classes
    WaitFor
  73. def warn(msg: ⇒ String, throwable: ⇒ Throwable): Unit

    Definition Classes
    Logging
  74. def warn(msg: ⇒ String): Unit

    Definition Classes
    Logging
  75. implicit def webDriver: WebDriver

    Attributes
    protected[org.pageobject]
    Definition Classes
    DefaultDriverProvider → DriverProvider
  76. def withActivePage[S](page: AtChecker)(thunk: ⇒ S): S

    Attributes
    protected
    Definition Classes
    PageHolder
  77. def withPatience[T](map: PatienceMap)(fun: ⇒ T): T

    Attributes
    protected
    Definition Classes
    WaitFor
  78. def withPatience[T](config: ((PageObjectSuite.this)#PatienceConfig, (PageObjectSuite.this)#FiniteDuration)*)(fun: ⇒ T): T

    Attributes
    protected
    Definition Classes
    WaitFor

Inherited from BrowserLimitSuite

Inherited from ParallelTestLimit

Inherited from ParallelTestExecution

Inherited from OneInstancePerTest

Inherited from DefaultDriverProvider

Inherited from DriverLauncher

Inherited from SuiteMixin

Inherited from PageBrowser

Inherited from Logging

Inherited from PageHolder

Inherited from DriverProvider

Inherited from WaitFor

Inherited from DurationDsl

Inherited from AnyRef

Inherited from Any

Ungrouped