This is a list of available tags for Jameleon Core. This list of tags is also available in the Jameleon GUI. You can get there by selecting the "Functional Points" tab on the lower-left. All tags, including custom tags and other enabled plug-ins' tags, show up in the GUI.
Tag | Short Description |
---|---|
<application-tested/> | Documents the application tested. |
<csv/> | Iterates over all nested tags one time per row of a CSV file. |
<execute-jameleon-script/> | Used to acceptance test Jameleon tags. |
<function-doc/> | Documents a single step of a test case. |
<functional-point-tested/> | Documents which feature of the application the test case is testing. |
<iterate/> | Iterates over all nested tags one time per object in a Collection. |
<ju-assert-equals/> | Performs an assertEquals on two variables. |
<ju-assert-not-null/> | Performs an assertNotNull on a given variable. |
<ju-assert-null/> | Performs an assertNull on a given variable. |
<ju-assert-true/> | Performs an assertTrue on a given expression. |
<ju-session/> | A Session for the JUnit plug-in. |
<map-variable/> | Used to map the value in one variable over to the value of another variable. |
<param/> | Used to give a function tag a parameter or a list of parameters. |
<param-name/> | Gives the parameter a name. |
<param-type/> | Gives the parameter a variable type. |
<param-value/> | Gives the parameter a value. |
<postcondition/> | This tag is used to mark a group of tags as postconditions. |
<precondition/> | This tag is used to mark a group of tags as preconditions. |
<sql/> | Used to iterate over all tags it is surrounding one time per row in a SQL ResultSet. |
<sql-param/> | Used to set binding parameter to the parent sql-update tag. |
<sql-param-value/> | Used for set value of a sql-param. |
<sql-update/> | Runs a delete or update SQL statement against the database. |
<test-case-author/> | Documents the test case's author. |
<test-case-bug/> | Describes a bug for a test case. |
<test-case-id/> | Describes a unique id of the test case. |
<test-case-level/> | Describes which test case level the test case should be executed under. |
<test-case-requirement/> | Describes which requirement number the test case was written against. |
<test-case-summary/> | Documents the summary of what the test case does. |
<test-script/> | This is currently a tag meant to be nested inside the test-suite tag. |
<test-suite/> | This is currently a tag meant to group several test case scripts. |
<testcase/> | Every test case script must have at least one testcase tag containing all other Jameleon tags. |
<variable-value/> | used only as a child of <map-variable/>, it allows the ability to map one or more. |
<wait/> | Wait for the given number of milliseconds. |
Take a look at this tag's API docs and source code
for more information.
Attribute Name | Context Name | Description | Default | Required | Type |
---|---|---|---|---|---|
csvFileName |
Sets the relative path to the name of the csv file. This does not use any logic in considering testEnvironment nor organization. | false | java.lang.String | ||
name |
Sets the name of the csv file to read in. | false | java.lang.String | ||
csvDir |
Sets the directory of the csv file to read in (relative to baseDir). | false | java.io.File | ||
csvValueSeparator |
Sets the separator used to separate CSV files. | false | char | ||
csvCharset |
Sets the character set to use when reading in the CSV file | false | java.lang.String | ||
charset |
Sets the character set to use to read the data file in. | false | java.lang.String | ||
dataDir |
Sets the directory of where the data will be looked for. The baseDir is then prepended on this | false | java.io.File | ||
file |
Sets the name of the file to use as a data source. | false | java.lang.String | ||
countRow |
Sets the DataDrivable tag to increment the number of times the test case was executed for each row executed. | false | false | boolean | |
stopTestExecutionOnFailure |
To continue on a normal execution path even though an error occurs, set this to false | false | boolean | ||
breakPoint |
Sets a pause point to this class. | false | boolean |
Used to acceptance test Jameleon tags. Executes a Jameleon script and checks various outputs.
Take a look at this tag's API docs and source code
for more information.
Attribute Name | Context Name | Description | Default | Required | Type |
---|---|---|---|---|---|
script |
The script to execute | true | java.io.File | ||
checkOutcomePassed |
Pass only if the script passed | false | boolean | ||
checkOutcomeFailed |
Pass only if the script failed | false | boolean | ||
noTestCaseResults |
TODO | false | boolean | ||
numOfFunctionsRun |
The number of functional points that should be run from the script being executed | -1 | false | int | |
numOfFailures |
The number of failures that should fail from the script being executed | -1 | false | int | |
noFailOnFunctionId |
A functionId where no failure should occur | false | java.lang.String | ||
numOfTestCasesRun |
The number of test cases that should run from the script being executed (for when useCSV is set to true in the testcase tag) | -1 | false | int | |
numOfTestCasesFailed |
The number of test cases that should fail from the script being executed (for when useCSV is set to true in the testcase tag) | -1 | false | int | |
testCaseDocsFile |
The name of the generated test case doc file. | false | java.lang.String | ||
executionTimeGreaterThan |
The execution time should be greater than this number if set | -1 | false | int | |
executionTimeLessThan |
The execution time should be greater than this number if set | -1 | false | int | |
lineNumFailed |
The line # of the script that is stated as failing in the HTML . This requires the testCaseName attribute be set | -1 | false | int | |
lineFailedReason |
The given error message for failure in the HTML results | false | java.lang.String | ||
lineFailedFunctionId |
The functionId of the row that failed | false | java.lang.String | ||
errorMsgContains |
A snippet of the error message or reason for that is expected in stdout. | false | java.lang.String | ||
testCaseName |
A snippet of the error message or reason for that is expected in stdout. | false | java.lang.String | ||
functionId |
The id of this function. This is used in the macro as a short description of the function | true | java.lang.String | ||
breakPoint |
Tells the GUI to stop at this functional point | false | boolean | ||
precondition |
Specifies this is a precondition | false | boolean | ||
postcondition |
Specifies this is a postcondition and will therefore get executed even if a previous functional point or session tag failed. | false | boolean | ||
expectFailure |
Specifies a failure is expected. | false | boolean | ||
expectException |
Specifies an exception is expected. | false | boolean | ||
functionDelay |
The delay time to use at the end of each functional point | -1 | false | long |
Take a look at this tag's API docs and source code
for more information.
Attribute Name | Context Name | Description | Default | Required | Type |
---|---|---|---|---|---|
functionId |
The id of this function. This is used in the macro as a short description of the function | true | java.lang.String | ||
breakPoint |
Tells the GUI to stop at this functional point | false | boolean | ||
precondition |
Specifies this is a precondition | false | boolean | ||
postcondition |
Specifies this is a postcondition and will therefore get executed even if a previous functional point or session tag failed. | false | boolean | ||
expectFailure |
Specifies a failure is expected. | false | boolean | ||
expectException |
Specifies an exception is expected. | false | boolean | ||
functionDelay |
The delay time to use at the end of each functional point | -1 | false | long |
Take a look at this tag's API docs and source code
for more information.
Attribute Name | Context Name | Description | Default | Required | Type |
---|---|---|---|---|---|
items |
| true | java.util.Collection | ||
varName |
| true | java.lang.String | ||
id |
This is primarily used for debugging.
It also provides a means to distinguish between nested | false | java.lang.String | ||
countRow |
Sets the DataDrivable tag to increment the number of times the test case was executed for each row executed. | false | false | boolean | |
stopTestExecutionOnFailure |
To continue on a normal execution path even though an error occurs, set this to false | false | boolean | ||
breakPoint |
Sets a pause point to this class. | false | boolean |
Take a look at this tag's API docs and source code
for more information.
Attribute Name | Context Name | Description | Default | Required | Type |
---|---|---|---|---|---|
expected |
The expected value | false | java.lang.Object | ||
actual |
The actual value | false | java.lang.Object | ||
valuesAreStrings |
Forces the values to be compared as Strings by calling the toString() method. | false | false | boolean | |
msg |
The error message to display if the test fails | false | java.lang.String | ||
functionId |
The id of this function. This is used in the macro as a short description of the function | true | java.lang.String | ||
breakPoint |
Tells the GUI to stop at this functional point | false | boolean | ||
precondition |
Specifies this is a precondition | false | boolean | ||
postcondition |
Specifies this is a postcondition and will therefore get executed even if a previous functional point or session tag failed. | false | boolean | ||
expectFailure |
Specifies a failure is expected. | false | boolean | ||
expectException |
Specifies an exception is expected. | false | boolean | ||
functionDelay |
The delay time to use at the end of each functional point | -1 | false | long |
Take a look at this tag's API docs and source code
for more information.
Attribute Name | Context Name | Description | Default | Required | Type |
---|---|---|---|---|---|
value |
The value to be checked for null | false | java.lang.Object | ||
msg |
The error message to display if the test fails | false | java.lang.String | ||
functionId |
The id of this function. This is used in the macro as a short description of the function | true | java.lang.String | ||
breakPoint |
Tells the GUI to stop at this functional point | false | boolean | ||
precondition |
Specifies this is a precondition | false | boolean | ||
postcondition |
Specifies this is a postcondition and will therefore get executed even if a previous functional point or session tag failed. | false | boolean | ||
expectFailure |
Specifies a failure is expected. | false | boolean | ||
expectException |
Specifies an exception is expected. | false | boolean | ||
functionDelay |
The delay time to use at the end of each functional point | -1 | false | long |
Take a look at this tag's API docs and source code
for more information.
Attribute Name | Context Name | Description | Default | Required | Type |
---|---|---|---|---|---|
value |
The value to be checked for null | false | java.lang.Object | ||
msg |
The error message to display if the test fails | false | java.lang.String | ||
functionId |
The id of this function. This is used in the macro as a short description of the function | true | java.lang.String | ||
breakPoint |
Tells the GUI to stop at this functional point | false | boolean | ||
precondition |
Specifies this is a precondition | false | boolean | ||
postcondition |
Specifies this is a postcondition and will therefore get executed even if a previous functional point or session tag failed. | false | boolean | ||
expectFailure |
Specifies a failure is expected. | false | boolean | ||
expectException |
Specifies an exception is expected. | false | boolean | ||
functionDelay |
The delay time to use at the end of each functional point | -1 | false | long |
Take a look at this tag's API docs and source code
for more information.
Attribute Name | Context Name | Description | Default | Required | Type |
---|---|---|---|---|---|
test |
The test to be executed | true | org.apache.commons.jelly.expression.Expression | ||
msg |
The error message to display if the test fails | false | java.lang.String | ||
functionId |
The id of this function. This is used in the macro as a short description of the function | true | java.lang.String | ||
breakPoint |
Tells the GUI to stop at this functional point | false | boolean | ||
precondition |
Specifies this is a precondition | false | boolean | ||
postcondition |
Specifies this is a postcondition and will therefore get executed even if a previous functional point or session tag failed. | false | boolean | ||
expectFailure |
Specifies a failure is expected. | false | boolean | ||
expectException |
Specifies an exception is expected. | false | boolean | ||
functionDelay |
The delay time to use at the end of each functional point | -1 | false | long |
Take a look at this tag's API docs and source code
for more information.
Attribute Name | Context Name | Description | Default | Required | Type |
---|---|---|---|---|---|
application |
The name of the application being run according to the *-TestCaseTag.properties file | false | java.lang.String | ||
organization |
The organization (affiliate or company name) this application will be tested against. | false | java.lang.String | ||
postcondition |
| false | boolean | ||
sessionDelay |
Sets the tag to delay x milliseconds before anything else is executed. | 0 | false | long | |
beginSession |
Starts the applicattion and gets it to the state defined in the $testEnviroment-Applications.properties.
DEFAULTS to | false | boolean |
Gives the parameter a name.
For example:
<param>
<param-name>someName</param-name>
</param>
Take a look at this tag's API docs and source code
for more information.
Take a look at this tag's API docs and source code
for more information.
Attribute Name | Context Name | Description | Default | Required | Type |
---|---|---|---|---|---|
jdbcDriver |
Set the JDBC Driver needed for the Database Connection | true | java.lang.String | ||
jdbcUrl |
Set the JDBC URL for the Database Connection | true | java.lang.String | ||
jdbcUsername |
Set the JDBC UserName for the Database Connection | true | java.lang.String | ||
jdbcPassword |
Set the JDBC Password for the Database Connection | false | java.lang.String | ||
query |
Set the SQL Query for the Database Connection | true | java.lang.String | ||
id |
Set the SQL ID number
This is primarily used for debugging.
It also provides a means to distinguish between nested | false | java.lang.String | ||
countRow |
Sets the DataDrivable tag to increment the number of times the test case was executed for each row executed. | false | false | boolean | |
stopTestExecutionOnFailure |
To continue on a normal execution path even though an error occurs, set this to false | false | boolean | ||
breakPoint |
Sets a pause point to this class. | false | boolean |
Take a look at this tag's API docs and source code
for more information.
Attribute Name | Context Name | Description | Default | Required | Type |
---|---|---|---|---|---|
jdbcDriver | jdbc.driver |
The jdbc driver | true | java.lang.String | |
jdbcUrl | jdbc.url |
The jdbc url | true | java.lang.String | |
jdbcUsername | jdbc.username |
The jdbc username | true | java.lang.String | |
jdbcPassword | jdbc.password |
The jdbc password | false | java.lang.String | |
functionId |
The id of this function. This is used in the macro as a short description of the function | true | java.lang.String | ||
breakPoint |
Tells the GUI to stop at this functional point | false | boolean | ||
precondition |
Specifies this is a precondition | false | boolean | ||
postcondition |
Specifies this is a postcondition and will therefore get executed even if a previous functional point or session tag failed. | false | boolean | ||
expectFailure |
Specifies a failure is expected. | false | boolean | ||
expectException |
Specifies an exception is expected. | false | boolean | ||
functionDelay |
The delay time to use at the end of each functional point | -1 | false | long | |
sqlUpdateSql |
| false | java.lang.String |
Take a look at this tag's API docs and source code
for more information.
Attribute Name | Context Name | Description | Default | Required | Type |
---|---|---|---|---|---|
script |
The script to execute. | true | java.io.File | ||
precondition |
Do not continue executing any following scripts if a script marked as a precondition fails. | false | false | boolean |
Take a look at this tag's API docs and source code
for more information.
Attribute Name | Context Name | Description | Default | Required | Type |
---|---|---|---|---|---|
testSuiteListener |
A fully qualified class name that implements TestSuiteListener. | false | java.lang.String | ||
name |
The name of the test suite. | false | java.lang.String |
Take a look at this tag's API docs and source code
for more information.
Attribute Name | Context Name | Description | Default | Required | Type |
---|---|---|---|---|---|
testCaseResultSessionTemplate |
Sets the session template to be used to generate the session result. This is searched for in the classpath. | false | java.lang.String | ||
testCaseResultDataRowTemplate |
Sets the data row template to be used to generate the data drivable result. This is searched for in the classpath. | false | java.lang.String | ||
testCaseResultFunctionTemplate |
Sets the function result template to be used to generate the test case result. This is searched for in the classpath. | false | java.lang.String | ||
testCaseMainPageTemplate |
Sets the template to be used to generate the main page of the results.. This is searched for in the classpath. | false | java.lang.String | ||
testCaseSummaryTemplate |
Sets the template to be used to generate the test case summary page of the results. This is searched for in the classpath. | false | java.lang.String | ||
testCaseResultTemplate |
Sets the template to be used to generate the test case result summary page. This is searched for in the classpath. | false | java.lang.String | ||
testCaseResultSummaryTemplate |
Sets the template to be used to generate the test case result summary page. This is searched for in the classpath. | false | java.lang.String | ||
resultsDir |
Sets the directory where the results will be written to. | false | java.io.File | ||
storeStateEvent |
Sets the test case to record the state of the application at a defined | false | java.lang.String | ||
storeStateOnChange |
Sets the test case to record the state of the application whenever the application's state changes. | false | boolean | ||
storeStateOnError |
Sets the test case to record the state of the application on errors. | false | boolean | ||
storeStateNever |
Sets the test case to never record the state of the application. | false | boolean | ||
maxExecutionTime |
Sets the maximum execution time before the test case fails | false | long | ||
failedOnDataDriver |
Used internally to mark whether the DataDrivable had a problem. This is used for the failOnCSVFileNotFound option only | false | boolean | ||
failOnCSVFileNotFound |
Sets the failOnCSVFileNotFound property | false | boolean | ||
organization |
Sets the organziation or company that this test will be run against. This is used the same as the testEnvironment to find the CSV file or use values from a properties file specific to an organization. | false | java.lang.String | ||
testEnvironment |
Sets the environment to which testing system the testcase will be run in. Information like the starting url, can be based on this. This is also used to find the CSV file if one is used for the test case. This can be set as a global variable. | false | java.lang.String | ||
useCSV |
Sets whether a CSV file should be used for this testcase or not. | false | boolean | ||
trace |
Sets whether a std out message should be sent before and after the execution of a functional point. | false | boolean | ||
baseDir |
Sets the base directory of the project | false | java.io.File | ||
assertGreaterThanLevel |
| false | java.lang.String | ||
assertLessThanLevel |
| false | java.lang.String | ||
assertLevel |
| false | java.lang.String | ||
assertLevels |
Sets the level of the asserts to run that are equal to this list of numbers. | false | java.lang.String | ||
genTestCaseDocs |
Sets the test case to generate the test case docs based on the javadocs of the functional points and the functionId's of the functional points in the test case. | false | boolean | ||
executeTestCase |
Sets the test case to be executed or not. | false | boolean | ||
bugTrackerUrl |
Sets the url of the bugtracking tool used so the bug's listed for the test case are linked. | false | java.lang.String | ||
genTestCaseDocsEncoding |
Sets the charset encoding. | false | java.lang.String | ||
propsName |
Sets the name of the properties file (minus the .properties) to read in into the context | false | java.lang.String | ||
jameleonConfigName |
Sets the configuration file Jameleon uses to configure itself. (default is defined in {@link net.sf.jameleon.util.Configurator}) Do not use. This is used for internal testing purposes only. | false | java.lang.String | ||
enableSslCertCheck |
Enable or disable validity checking of SSL certificates. | false | boolean | ||
csvFileName |
Sets the relative path to the name of the csv file. This does not use any logic in considering testEnvironment nor organization. | false | java.lang.String | ||
name |
Sets the name of the csv file to read in. | false | java.lang.String | ||
csvDir |
Sets the directory of the csv file to read in (relative to baseDir). | false | java.io.File | ||
csvValueSeparator |
Sets the separator used to separate CSV files. | false | char | ||
csvCharset |
Sets the character set to use when reading in the CSV file | false | java.lang.String | ||
charset |
Sets the character set to use to read the data file in. | false | java.lang.String | ||
dataDir |
Sets the directory of where the data will be looked for. The baseDir is then prepended on this | false | java.io.File | ||
file |
Sets the name of the file to use as a data source. | false | java.lang.String | ||
countRow |
Sets the DataDrivable tag to increment the number of times the test case was executed for each row executed. | false | false | boolean | |
stopTestExecutionOnFailure |
To continue on a normal execution path even though an error occurs, set this to false | false | boolean | ||
breakPoint |
Sets a pause point to this class. | false | boolean |
Wait for the given number of milliseconds. This tag may be used anywhere inside the testcase tag.
Take a look at this tag's API docs and source code
for more information.
Attribute Name | Context Name | Description | Default | Required | Type |
---|---|---|---|---|---|
delayTime |
The number of milliseconds to wait for | true | long | ||
functionId |
The id of this function. This is used in the macro as a short description of the function | true | java.lang.String | ||
breakPoint |
Tells the GUI to stop at this functional point | false | boolean | ||
precondition |
Specifies this is a precondition | false | boolean | ||
postcondition |
Specifies this is a postcondition and will therefore get executed even if a previous functional point or session tag failed. | false | boolean | ||
expectFailure |
Specifies a failure is expected. | false | boolean | ||
expectException |
Specifies an exception is expected. | false | boolean | ||
functionDelay |
The delay time to use at the end of each functional point | -1 | false | long |