Annotation Type AssertPostPage


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface AssertPostPage
    Provides the possibility to add a page active assertion at the end of the annotated method. In other words: This annotation makes sure that the given page object is active after the execution of the method. The given page object will be instantiated by Spring if necessary. The given page object has to implement PageActiveCheck.

    This annotation is especially useful for test steps.
    Since:
    2.0.0
    Author:
    Nils Christian Ehmke <[email protected]>
    See Also:
    Step, PageActiveCheck
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<? extends PageActiveCheck> value
      Returns the page which should be active after the annotated test step.
    • Element Detail

      • value

        java.lang.Class<? extends PageActiveCheck> value
        Returns the page which should be active after the annotated test step.
        Returns:
        the page which should be active after the annotated test step
        Since:
        2.0.0