You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 17, 2026. It is now read-only.
Kristian Karl edited this page Sep 28, 2019
·
1 revision
Annotations
Frameworks like JUnit and TestNG provide special annotations which can be triggered before a suit, a class, a method or a test.
GraphWalker has the same functionality with the following annotations:
@BeforeExecution
Annotated method will be triggered before the GraphWalker execution.
Could be used for launching a web browser, a phone emulator or start a server for tests.
@AfterExecution
Annotated method will be triggered after the GraphWalker execution.
Could be used for collecting results after test execution, like logs, reports etc.
@BeforeElement
Annotated method will be triggered before any element invocation (edge or vertex) in the GraphWalker execution.
@AfterElement
Annotated method will be triggered after any element invocation (edge or vertex) in the GraphWalker execution.