Hi Jeff_Stein,
I did check the link and still have few question :
1) In the getParameters() method - If I understand it correctly this method is getting the values and saving them as a key value pair, Right?
So I did this!
Defined necessary fields -
private String WATCHALLEVENTS_PROP;
private String WATCHPROPS_PARAM;
private String WATCHMETRICS_PARAM;
private String WATCHREQRESP_PARAM;
private String MAX_ERRORS;
private String INCLUDEWARNINGS_PARAM;
private String TEST_PARAM;
private String test;
public ParameterList getParameters() {
ParameterList p = new ParameterList();
p.addParameter(new Parameter("Record All Events", WATCHALLEVENTS_PROP, new Boolean(recordEvents).toString(),
Boolean.class));
p.addParameter(new Parameter("Record Properties Set Referenced", WATCHPROPS_PARAM,
new Boolean(recordProps).toString(), Boolean.class));
p.addParameter(new Parameter("Record Performance Metrics", WATCHMETRICS_PARAM,
new Boolean(recordMetrics).toString(), Boolean.class));
p.addParameter(new Parameter("Record Request/Respnse/Screenshot", WATCHREQRESP_PARAM,
new Boolean(recordReqResp).toString(), Boolean.class));
p.addParameter(
new Parameter("Maximum number of errors and failures before test is stopped", MAX_ERRORS, maxErrors));
p.addParameter(new Parameter("Include warnings with errors and failures", INCLUDEWARNINGS_PARAM,
new Boolean(includeWarnings).toString(), Boolean.class));
p.addParameter(new Parameter("Test", TEST_PARAM, test, TestExec.PROPERTY_PARAM_TYPE));
}
2) Didn't understand what should be in the Initialize class? Any help here??