org.pageobject.scalatest

PageObjectSuite

trait PageObjectSuite extends PageBrowser with DriverLauncher with DefaultDriverProvider

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.

TODO: See https://github.com/agido/pageobject/issues/3 ConfigureableParallelTestLimit will cause display errors in IntelliJ IDEA

Self Type
PageObjectSuite with Suite
Linear Supertypes
DefaultDriverProvider, DriverLauncher, LimitProvider, SuiteMixin, PageBrowser, Logging, PageHolder, DriverProvider, WaitFor, DurationDsl, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PageObjectSuite
  2. DefaultDriverProvider
  3. DriverLauncher
  4. LimitProvider
  5. SuiteMixin
  6. PageBrowser
  7. Logging
  8. PageHolder
  9. DriverProvider
  10. WaitFor
  11. DurationDsl
  12. AnyRef
  13. 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 run(testName: Option[String], args: Args): Status

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

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

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

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

    Definition Classes
    SuiteMixin
  9. 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 atCancelTestPage(unexpectedPage: AtChecker): Nothing

    Attributes
    protected
    Definition Classes
    PageBrowser
  20. def atFailTestPage(unexpectedPage: AtChecker): Nothing

    Attributes
    protected
    Definition Classes
    PageBrowser
  21. def atWaitPage(unexpectedPage: AtChecker): Nothing

    Attributes
    protected
    Definition Classes
    PageBrowser
  22. def clearActivePage(): Unit

    Attributes
    protected[org.pageobject.core.browser]
    Definition Classes
    PageHolder
  23. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def debug(msg: ⇒ String, throwable: ⇒ Throwable): Unit

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Logging
  35. def failOnInactivePage(pageObject: PageObject): Unit

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Any
  48. def limit: Limit

    Definition Classes
    DriverLauncher → LimitProvider
  49. def log(level: LogLevel, msg: ⇒ String, throwable: ⇒ Throwable): Unit

    Definition Classes
    Logging
  50. def log(level: LogLevel, msg: ⇒ String): Unit

    Definition Classes
    Logging
  51. implicit def longMult(l: Long): LongMult

    Attributes
    protected
    Definition Classes
    DurationDsl
  52. def ndcKey: String

    Attributes
    protected
    Definition Classes
    PageHolder
  53. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  54. final def notify(): Unit

    Definition Classes
    AnyRef
  55. final def notifyActivated(): Unit

    Attributes
    protected
    Definition Classes
    PageHolder
  56. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  57. final def notifyDeactivated(): Unit

    Attributes
    protected
    Definition Classes
    PageHolder
  58. def onActivated(page: AtChecker): Unit

    Attributes
    protected
    Definition Classes
    PageHolder
  59. def onDeactivated(page: AtChecker): Unit

    Attributes
    protected
    Definition Classes
    PageHolder
  60. implicit def pairIntToDuration(p: (Int, (PageObjectSuite.this)#TimeUnit)): (PageObjectSuite.this)#Duration

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

    Attributes
    protected
    Definition Classes
    DurationDsl
  62. def runTest(testName: String, args: Args): Status

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

    Attributes
    protected
    Definition Classes
    DriverLauncher → SuiteMixin
  64. final val span: scala.concurrent.duration.span.type

    Attributes
    protected
    Definition Classes
    DurationDsl
  65. val suiteId: String

    Definition Classes
    DriverLauncher → SuiteMixin
  66. val suiteName: String

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

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

    Definition Classes
    PageBrowser
  69. def toString(): String

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

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

    Definition Classes
    Logging
  72. def updateNdc(): Unit

    Attributes
    protected
    Definition Classes
    PageHolder
  73. def via[P <: UrlPage](page: ⇒ P): P

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

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

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

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

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

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

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

    Definition Classes
    Logging
  81. implicit def webDriver: WebDriver

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

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

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

    Attributes
    protected
    Definition Classes
    WaitFor

Inherited from DefaultDriverProvider

Inherited from DriverLauncher

Inherited from LimitProvider

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