Follow these steps:
This class provides the information that is required to execute the logic for your hook.
public class HeadlineHook extends Hook { }
DevTest 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 )
setLongMsg
method to integrate into Portal Test Monitoring facility.You can provide a detailed message for the hook.
public void setLongMsg( boolean isStarting, String msg )
Copyright © 2014 CA Technologies.
All rights reserved.
|
|