View Javadoc

1   /*
2       Jameleon - An automation testing tool..
3       Copyright (C) 2006 Christian W. Hargraves (engrean@hotmail.com)
4   
5       This library is free software; you can redistribute it and/or
6       modify it under the terms of the GNU Lesser General Public
7       License as published by the Free Software Foundation; either
8       version 2.1 of the License, or (at your option) any later version.
9   
10      This library is distributed in the hope that it will be useful,
11      but WITHOUT ANY WARRANTY; without even the implied warranty of
12      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13      Lesser General Public License for more details.
14  
15      You should have received a copy of the GNU Lesser General Public
16      License along with this library; if not, write to the Free Software
17      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18  */
19  package net.sf.jameleon.ui;
20  
21  public class EnvironmentConfigPanel extends AbstractConfigPanel{
22  
23      public void registerFields(){
24          addFieldProperty(true, "Test Environment:", "testEnvironment", "", "The name of the environment the test case is to be executed against. Some examples of testEnvironment are: prod, beta, dev, and localhost.");
25          addFieldProperty(true, "Organization:", "organization", "", "The name of the organization to run the test scripts against");
26          addFieldProperty(true, "Function Delay:", "functionDelay", "", "This is a numerical setting in milliseconds. Whatever this is set to, each functional point will wait that period after execution.");
27          addFieldProperty(false, "Trace:", "trace", "false", "Print out execution of most tags in a test case to std out. This is very helpful for debugging which functional point is getting executed and when");
28          addFieldProperty(true, "Store State Event:", "storeStateEvent", "", "Sets the event which must occur in order for the application's state to be recorded");
29          addFieldProperty(true, "Test Case Listeners:", "TestCaseListeners", "", "To hook into the Jameleon Test Case Event Model, define a space-separated list of classes that implement net.sf.jameleon.event.TestCaseListener");
30          addFieldProperty(false, "Execute Test Case:", "executeTestCase", "true", "Tells Jameleon to execute the code in each tag or to do a dry run. The default is true");
31          addFieldProperty(false, "Fail on no CSV File:", "failOnCSVFileNotFound", "true", "If set to false, and an error due to the CSV file not being found happens, then the test case will not get logged");
32          addFieldProperty(false, "Generate Docs:", "genTestCaseDocs", "true", "Generates the test case documentation and creates links on the TestResults.html page for each test case name");
33          addFieldProperty(false, "Enable SSL Cert Check:", "enableSslCertCheck", "true", "This is an old setting for the HttpUnit plug-in. We need to change this to be HttpUnit specific.");
34      }
35  
36  
37  }