Follow these steps:
This class gives LISA all the information that is required to execute the logic for your hook.
public class HeadlineHook extends Hook
{
}
LISA calls this method when the test starts. If an error occurs or you otherwise want to prevent the test from executing normally, throw a TestRunException.
public void startupHook( TestExec testExec ) throws TestRunException
You have an opportunity to perform any post-execution logic for the test.
public void endHook( TestExec testExec )
|
Copyright © 2014 CA Technologies.
Tous droits réservés.
|
|