_@AfterTest
Description
- A method annotated with
@AfterTest
will be executed at the end of every "test" method. That is, after each method annotated with@Test
, the method annotated with@AfterTest
will run.
Attributes
Attribute Name | Required? | Possible Values | Info |
---|---|---|---|
NONE | Â | Â | No attributes |
Location in the test class file
Before a method declaration.
Examples
Â
Panel Title
@AfterTest
afterTest(){
assert(
assertion-mode: 'notExists',
source-file: 'output'
);
}
Â