|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TestSessionListener
To be implemented by a class extending RemoteProxy.
WARNING : the before and after are executed by the proxy on the remote, and the action taken in those method are not isolated, and can have consequences on other sessions. If some changes are made that can impact all running tests, the before / after implementation should take care of checking that no test are currently running to avoid collateral damages For the case when a single remote handles multiple test sessions ( typical web driver ) using before / after will impact ALL the tests on that remote.
Method Summary | |
---|---|
void |
afterSession(TestSession session)
Will be run after the last command is forwarded, but before the proxy slot is released. |
void |
beforeSession(TestSession session)
Will be run after the proxy slot is reserved for the test, but before the first command is forwarded to the remote. |
Method Detail |
---|
void beforeSession(TestSession session)
session
- if the setup applies to all the tests.
void afterSession(TestSession session)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |