websvc.restkit/test/qa-functional/data/projects/TestClientTestApp/TelluriumConfig.groovy
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
4 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
6 * The contents of this file are subject to the terms of either the GNU
7 * General Public License Version 2 only ("GPL") or the Common
8 * Development and Distribution License("CDDL") (collectively, the
9 * "License"). You may not use this file except in compliance with the
10 * License. You can obtain a copy of the License at
11 * http://www.netbeans.org/cddl-gplv2.html
12 * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
13 * specific language governing permissions and limitations under the
14 * License. When distributing the software, include this License Header
15 * Notice in each file and include the License file at
16 * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
17 * particular file as subject to the "Classpath" exception as provided
18 * by Sun in the GPL Version 2 section of the License file that
19 * accompanied this code. If applicable, add the following below the
20 * License Header, with the fields enclosed by brackets [] replaced by
21 * your own identifying information:
22 * "Portions Copyrighted [year] [name of copyright owner]"
24 * If you wish your version of this file to be governed by only the CDDL
25 * or only the GPL Version 2, indicate your decision by adding
26 * "[Contributor] elects to include this software in this distribution
27 * under the [CDDL or GPL Version 2] license." If you do not indicate a
28 * single choice of license, a recipient has the option to distribute
29 * your version of this file under either the CDDL, the GPL Version 2 or
30 * to extend the choice of license to its licensees as provided above.
31 * However, if you add GPL Version 2 code and therefore, elected the GPL
32 * Version 2 license, then the option applies only if the new code is
33 * made subject to such option by the copyright holder.
37 * Portions Copyrighted 2009 Sun Microsystems, Inc.
41 * Tellurium configuration
44 //tellurium.embeddedserver.port = XXXX - a port for embedded Selenium server
45 //tellurium.connector.browser = [browser type] - a browser to use
47 //embedded selenium server configuration
51 //whether to use multiple windows
52 useMultiWindows = false
53 //whether to run the embedded selenium server. If false, you need to manually set up a selenium server
55 //the log file for selenium server
56 // logFile = "selenium.log"
60 //whether we should check if the UI element is presented
62 //wether we add additional events like "mouse over"
67 //whether we should check if the UI element is presented
70 //the configuration for the connector that connects the selenium client to the selenium server
72 //selenium server host
73 //please change the host if you run the Selenium server remotely
74 serverHost = "localhost"
75 //server port number the client needs to connect
78 baseUrl = "http://localhost:8080"
79 //Browser setting, valid options are
80 // *firefox [absolute path]
81 // *iexplore [absolute path]
88 //specify which data reader you like the data provider to use
89 //the valid options include "PipeFileReader", "CVSFileReader" at this point
90 reader = "PipeFileReader"
94 //at current stage, the result report is only for tellurium data driven testing
95 //we may add the result report for regular tellurium test case
97 //specify what result reporter used for the test result
98 //valid options include "SimpleResultReporter", "XMLResultReporter", and "StreamXMLResultReporter"
99 reporter = "XMLResultReporter"
100 //the output of the result
101 //valid options include "Console", "File" at this point
102 //if the option is "File", you need to specify the file name, other wise it will use the default
103 //file name "TestResults.output"
105 //test result output file name
106 filename = "TestResult.output"
109 //whether Tellurium captures the screenshot when exception occurs.
110 //Note that the exception is the one thrown by Selenium Server
111 //we do not care the test logic errors here
112 captureScreenshot = true
113 //we may have a series of screenshots, specify the file name pattern here
114 //Here the ? will be replaced by the timestamp and you might also want to put
115 //file path in the file name pattern
116 filenamePattern = "build/Screenshot?.png"
121 //user can specify custom UI objects here by define the builder for each UI object
122 //the custom UI object builder must extend UiObjectBuilder class
123 //and implement the following method:
125 // public build(Map map, Closure c)
127 //For container type UI object, the builder is a bit more complicated, please
128 //take the TableBuilder or ListBuilder as an example
131 // SelectMenu="org.tellurium.builder.SelectMenuBuilder"
132 // ClickableImage="customertestapp.ClickableImageBuilder"
137 //define your widget modules here, for example Dojo or ExtJs
138 // included="dojo, extjs"