Available Tags

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.

Jameleon Core Tags

TagShort 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.

csv

Iterates over all nested tags one time per row of a CSV file. The name of the CSV file is based on the testEnvironment, organization, and the name attributes. The directory structure, then follows the testEnvironment then inside that directory the organization if set. The file name matches the name set in the csv attribute. For example, to execute the opening of an application and doing something n number of times:

    
<testcase xmlns="jelly:jameleon">
<csv name="some_file_name_without_extension">
<some-session application="someApp" beginSession="true">
<some-tag-that-uses-context-variables
functionId="Verify successful navigation, using a different variable."/>
</some-session>
</csv>
</testcase>
Maybe opening the application n number of times takes too long, but each of the scenarios still need to be executed. Try putting the csv tag inside the session tag:
    
<testcase xmlns="jelly:jameleon">
<some-session application="someApp" beginSession="true">
<csv name="some_file_name_without_extension">
<some-tag-that-uses-context-variables
functionId="Verify successful navigation, using a different variable."/>
</csv>
</some-session>
</testcase>
All values that are not defined in a CSV file will be considered 'null'. To define an empty String, simply define the value as "". For example:
    
var1,var2,var3
one,"",
In the above example, var2 will be an empty string and var3 will be null.

Take a look at this tag's API docs and source code for more information.

Attribute NameContext NameDescriptionDefaultRequiredType
csvFileName

Sets the relative path to the name of the csv file. This does not use any logic in considering testEnvironment nor organization.

falsejava.lang.String
name

Sets the name of the csv file to read in.

falsejava.lang.String
csvDir

Sets the directory of the csv file to read in (relative to baseDir).

falsejava.io.File
csvValueSeparator

Sets the separator used to separate CSV files.

falsechar
csvCharset

Sets the character set to use when reading in the CSV file

falsejava.lang.String
charset

Sets the character set to use to read the data file in.

falsejava.lang.String
dataDir

Sets the directory of where the data will be looked for. The baseDir is then prepended on this

falsejava.io.File
file

Sets the name of the file to use as a data source.

falsejava.lang.String
countRow

Sets the DataDrivable tag to increment the number of times the test case was executed for each row executed.

falsefalseboolean
stopTestExecutionOnFailure

To continue on a normal execution path even though an error occurs, set this to false

falseboolean
breakPoint

Sets a pause point to this class.

falseboolean

execute-jameleon-script

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 NameContext NameDescriptionDefaultRequiredType
script

The script to execute

truejava.io.File
checkOutcomePassed

Pass only if the script passed

falseboolean
checkOutcomeFailed

Pass only if the script failed

falseboolean
noTestCaseResults

TODO

falseboolean
numOfFunctionsRun

The number of functional points that should be run from the script being executed

-1falseint
numOfFailures

The number of failures that should fail from the script being executed

-1falseint
noFailOnFunctionId

A functionId where no failure should occur

falsejava.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)

-1falseint
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)

-1falseint
testCaseDocsFile

The name of the generated test case doc file.

falsejava.lang.String
executionTimeGreaterThan

The execution time should be greater than this number if set

-1falseint
executionTimeLessThan

The execution time should be greater than this number if set

-1falseint
lineNumFailed

The line # of the script that is stated as failing in the HTML . This requires the testCaseName attribute be set

-1falseint
lineFailedReason

The given error message for failure in the HTML results

falsejava.lang.String
lineFailedFunctionId

The functionId of the row that failed

falsejava.lang.String
errorMsgContains

A snippet of the error message or reason for that is expected in stdout.

falsejava.lang.String
testCaseName

A snippet of the error message or reason for that is expected in stdout.

falsejava.lang.String
functionId

The id of this function. This is used in the macro as a short description of the function

truejava.lang.String
breakPoint

Tells the GUI to stop at this functional point

falseboolean
precondition

Specifies this is a precondition

falseboolean
postcondition

Specifies this is a postcondition and will therefore get executed even if a previous functional point or session tag failed.

falseboolean
expectFailure

Specifies a failure is expected.

falseboolean
expectException

Specifies an exception is expected.

falseboolean
functionDelay

The delay time to use at the end of each functional point

-1falselong

function-doc

Documents a single step of a test case. This tag can be used to document manual test cases. Also, sometimes it is too difficult to fit everything in the functionId attribute of a tag because there is more than one thing happening.

Take a look at this tag's API docs and source code for more information.

Attribute NameContext NameDescriptionDefaultRequiredType
functionId

The id of this function. This is used in the macro as a short description of the function

truejava.lang.String
breakPoint

Tells the GUI to stop at this functional point

falseboolean
precondition

Specifies this is a precondition

falseboolean
postcondition

Specifies this is a postcondition and will therefore get executed even if a previous functional point or session tag failed.

falseboolean
expectFailure

Specifies a failure is expected.

falseboolean
expectException

Specifies an exception is expected.

falseboolean
functionDelay

The delay time to use at the end of each functional point

-1falselong

iterate

Iterates over all nested tags one time per object in a Collection. Sometimes you want to data-drive your test, but based on data that is defined in the application itself. This is a more generic way to data-drive your tags, based on a Collection of Objects that may be populated into the context via some other tag. For example:

    
<testcase xmlns="jelly:jameleon">
<get-data-from-somewhere toVar="listOfAccounts"/>
<iterate varName="someVar" items="${listOfAccounts}">
<some-session application="someApp" beginSession="true">
<some-tag-that-uses-context-variables
functionId="Verify successful navigation, using a different variable."
attribute="${someVar}"/>
</some-session>
</iterate>
</testcase>

Take a look at this tag's API docs and source code for more information.

Attribute NameContext NameDescriptionDefaultRequiredType
items

truejava.util.Collection
varName

truejava.lang.String
id

This is primarily used for debugging. It also provides a means to distinguish between nested IterateTag tags.

falsejava.lang.String
countRow

Sets the DataDrivable tag to increment the number of times the test case was executed for each row executed.

falsefalseboolean
stopTestExecutionOnFailure

To continue on a normal execution path even though an error occurs, set this to false

falseboolean
breakPoint

Sets a pause point to this class.

falseboolean

ju-assert-equals

Performs an assertEquals on two variables. This tag, along with all JUnit tags can be used inside any other plug-in's session tag To compare two variables with a default JUnit error message on a failure:

    
<testcase xmlns="jelly:jameleon">
<ju-session application="someApp">
<ju-assert-equals
functionId="Check that var1 equals var2."
expected="${var1}"
actual="${var2}"/>
</ju-session>
</testcase>
To compare two variables that gives "First Name" at the beginning of the failure message:
    
<testcase xmlns="jelly:jameleon">
<jiffie-session application="someApp">
<ju-assert-equals
functionId="Check that var1 equals var2."
expected="${var1}"
actual="${var2}"
msg="First Name"/>
</jiffie-session>
</testcase>

Take a look at this tag's API docs and source code for more information.

Attribute NameContext NameDescriptionDefaultRequiredType
expected

The expected value

falsejava.lang.Object
actual

The actual value

falsejava.lang.Object
valuesAreStrings

Forces the values to be compared as Strings by calling the toString() method.

falsefalseboolean
msg

The error message to display if the test fails

falsejava.lang.String
functionId

The id of this function. This is used in the macro as a short description of the function

truejava.lang.String
breakPoint

Tells the GUI to stop at this functional point

falseboolean
precondition

Specifies this is a precondition

falseboolean
postcondition

Specifies this is a postcondition and will therefore get executed even if a previous functional point or session tag failed.

falseboolean
expectFailure

Specifies a failure is expected.

falseboolean
expectException

Specifies an exception is expected.

falseboolean
functionDelay

The delay time to use at the end of each functional point

-1falselong

ju-assert-not-null

Performs an assertNotNull on a given variable. This tag, along with all JUnit tags can be used inside any other plug-in's session tag An example use might be:

    
<testcase xmlns="jelly:jameleon" xmlns:j="jelly:core">
<j:set-var var="someVar" value="some value"/>
<ju-session application="someApp">
<ju-assert-not-null
functionId="Check that var1 equals var2."
value="${someVar}"/>
</ju-session>
</testcase>

Take a look at this tag's API docs and source code for more information.

Attribute NameContext NameDescriptionDefaultRequiredType
value

The value to be checked for null

falsejava.lang.Object
msg

The error message to display if the test fails

falsejava.lang.String
functionId

The id of this function. This is used in the macro as a short description of the function

truejava.lang.String
breakPoint

Tells the GUI to stop at this functional point

falseboolean
precondition

Specifies this is a precondition

falseboolean
postcondition

Specifies this is a postcondition and will therefore get executed even if a previous functional point or session tag failed.

falseboolean
expectFailure

Specifies a failure is expected.

falseboolean
expectException

Specifies an exception is expected.

falseboolean
functionDelay

The delay time to use at the end of each functional point

-1falselong

ju-assert-null

Performs an assertNull on a given variable. This tag, along with all JUnit tags can be used inside any other plug-in's session tag An example use might be:

    
<testcase xmlns="jelly:jameleon">
<ju-session application="someApp">
<ju-assert-null
functionId="Check that var1 equals var2."
value="${someNonExistentVar}"/>
</ju-session>
</testcase>

Take a look at this tag's API docs and source code for more information.

Attribute NameContext NameDescriptionDefaultRequiredType
value

The value to be checked for null

falsejava.lang.Object
msg

The error message to display if the test fails

falsejava.lang.String
functionId

The id of this function. This is used in the macro as a short description of the function

truejava.lang.String
breakPoint

Tells the GUI to stop at this functional point

falseboolean
precondition

Specifies this is a precondition

falseboolean
postcondition

Specifies this is a postcondition and will therefore get executed even if a previous functional point or session tag failed.

falseboolean
expectFailure

Specifies a failure is expected.

falseboolean
expectException

Specifies an exception is expected.

falseboolean
functionDelay

The delay time to use at the end of each functional point

-1falselong

ju-assert-true

Performs an assertTrue on a given expression. This tag, along with all JUnit tags can be used inside any other plug-in's session tag The following is an example:

    
<testcase xmlns="jelly:jameleon" xmlns:j="jelly:core">
<j:set var="greeting" value="Hello World!"/>
<ju-session>
<ju-assert-true
functionId="check that 'greeting' has at least one character in it"
test="${greeting.length() >= 1"/>
</ju-session>
</testcase>

Take a look at this tag's API docs and source code for more information.

Attribute NameContext NameDescriptionDefaultRequiredType
test

The test to be executed

trueorg.apache.commons.jelly.expression.Expression
msg

The error message to display if the test fails

falsejava.lang.String
functionId

The id of this function. This is used in the macro as a short description of the function

truejava.lang.String
breakPoint

Tells the GUI to stop at this functional point

falseboolean
precondition

Specifies this is a precondition

falseboolean
postcondition

Specifies this is a postcondition and will therefore get executed even if a previous functional point or session tag failed.

falseboolean
expectFailure

Specifies a failure is expected.

falseboolean
expectException

Specifies an exception is expected.

falseboolean
functionDelay

The delay time to use at the end of each functional point

-1falselong

ju-session

A Session for the JUnit plug-in. An example of its use might:

    
<testcase xmlns="jelly:jameleon">
<ju-session application="someApp">
<ju-assert-equals
functionId="Check that var1 equals var2."
expected="${var1}"
actual="${var2}"/>
</ju-session>
</testcase>

Take a look at this tag's API docs and source code for more information.

Attribute NameContext NameDescriptionDefaultRequiredType
application

The name of the application being run according to the *-TestCaseTag.properties file

falsejava.lang.String
organization

The organization (affiliate or company name) this application will be tested against.

falsejava.lang.String
postcondition

falseboolean
sessionDelay

Sets the tag to delay x milliseconds before anything else is executed.

0falselong
beginSession

Starts the applicattion and gets it to the state defined in the $testEnviroment-Applications.properties. DEFAULTS to false

falseboolean

map-variable

Used to map the value in one variable over to the value of another variable. sThis is useful when the same functional point is being used more than once or when the same variable name is used between different functional points that are in the same test-case. The following is an example of creating a list and using it in a tag.

    
<testcase xmlns="jelly:jameleon">
<map-variable toVariable="resultsText" variableType="list">
<variable-value>value 1</variable-value>
<variable-value>value 2</variable-value>
<variable-value>value 3</variable-value>
<variable-value>value 4</variable-value>
</map-variable/>

<some-session application="someApp" beginSession="true">
<some-tag-that-uses-context-variables
functionId="Verify successful navigation, using a different variable."
someVariable="${resultsText}/>
</some-session>
</testcase>
The following is an example of mapping one value of a variable to another variable (pretty much useless).
    
<testcase xmlns="jelly:jameleon">

<some-session application="someApp" beginSession="true">
<some-tag-that-uses-context-variables
functionId="Verify successful navigation, using a different variable.">
<map-variable
fromVariable="resultsText1"
toVariable="resultsText"/>
</some-tag-that-uses-context-variables>
</some-session>
</testcase>
The following is an example of using the ${varName} notation (recommended)
    
<testcase xmlns="jelly:jameleon">

<some-session application="someApp" beginSession="true">
<some-tag-that-uses-context-variables
functionId="Verify successful navigation, using a different variable."
resultsText="${resultsText1"/>
</some-session>
</testcase>
The following is an example of mapping multiple variable values to a single variable. Notice it's variableType is set to "list":
    
<testcase xmlns="jelly:jameleon">

<some-session application="someApp" beginSession="true">
<some-tag-that-uses-context-variables
functionId="Verify successful navigation, using a different variable.">
<map-variable
fromVariable="resultsText1"
toVariable="resultsText"
variableType="list"/>
<map-variable
fromVariable="resultsText2"
toVariable="resultsText"
variableType="list"/>
<map-variable
fromVariable="resultsText3"
toVariable="resultsText"
variableType="list"/>
</some-tag-that-uses-context-variables>
</some-session>
</testcase>
The value(s) can be entered directly like so:
    
<testcase xmlns="jelly:jameleon">

<some-session application="someApp" beginSession="true">
<some-tag-that-uses-context-variables
functionId="Verify successful navigation, using a different variable.">
<map-variable toVariable="resultsText" variableType="list">
<variable-value>value 1</variable-value>
<variable-value>value 2</variable-value>
<variable-value>value 3</variable-value>
<variable-value>value 4</variable-value>
</map-variable/>
</some-tag-that-uses-context-variables>
</some-session>
</testcase>

Take a look at this tag's API docs and source code for more information.

sql

Used to iterate over all tags it is surrounding one time per row in a SQL ResultSet. This tag should work with any RDBMS that provides a JDBC driver. One thing to remember is each JDBC driver seems to act a bit differently when returning the column names returned. Some JDBC drivers will returned the column names in all caps some will return them as undercase, while others may return them as defined when the table was created.

    
<testcase xmlns="jelly:jameleon">
<sql query="SELECT ID, col1 as NAME, col2 as GENDER FROM TEST"
jdbcUsername="sa"
jdbcPassword=""
jdbcUrl="jdbc:hsqldb:hsqldb_sample"
jdbcDriver="org.hsqldb.jdbcDriver"
countRow="true">

<some-session application="someApp" beginSession="true">
<some-tag-that-uses-context-variables
functionId="Verify successful navigation, using a different variable."
id="${ID}"
name="${NAME}"
gender="${GENDER}"/>
</some-session>
</sql>
</testcase>

Take a look at this tag's API docs and source code for more information.

Attribute NameContext NameDescriptionDefaultRequiredType
jdbcDriver

Set the JDBC Driver needed for the Database Connection

truejava.lang.String
jdbcUrl

Set the JDBC URL for the Database Connection

truejava.lang.String
jdbcUsername

Set the JDBC UserName for the Database Connection

truejava.lang.String
jdbcPassword

Set the JDBC Password for the Database Connection

falsejava.lang.String
query

Set the SQL Query for the Database Connection

truejava.lang.String
id

Set the SQL ID number This is primarily used for debugging. It also provides a means to distinguish between nested SqlTag tags.

falsejava.lang.String
countRow

Sets the DataDrivable tag to increment the number of times the test case was executed for each row executed.

falsefalseboolean
stopTestExecutionOnFailure

To continue on a normal execution path even though an error occurs, set this to false

falseboolean
breakPoint

Sets a pause point to this class.

falseboolean

sql-update

Runs a delete or update SQL statement against the database. Sometimes putting an application into a required state means connecting to a database and executing a SQL statment. This can be done with this tag. The SQL can be an insert, delete or update command. The body of this element should contain the SQL statement used. See the function tag docs for information on other attributes supported and/or required by this tag. An example might be:

    
<junit-session xmlns:j="jelly:core">
<sql-update
functionId="Insert another row into test table"
jdbcDriver="org.hsqldb.jdbcDriver"
jdbcUrl="jdbc:hsqldb:tst/_tmp/jameleon_test2"
jdbcUsername="sa"
jdbcPassword="">
create cached table test2(
test_str varchar,
test_str2 varchar
);
</sql-update>
<sql-update
functionId="Delete row from test table"
jdbcDriver="org.hsqldb.jdbcDriver"
jdbcUrl="jdbc:hsqldb:tst/_tmp/jameleon_test2"
jdbcUsername="sa"
jdbcPassword="">
delete from test2 where test_str='some text';
-- some SQL comment
-- Another SQL comment
</sql-update>
</junit-session>

Take a look at this tag's API docs and source code for more information.

Attribute NameContext NameDescriptionDefaultRequiredType
jdbcDriverjdbc.driver

The jdbc driver

truejava.lang.String
jdbcUrljdbc.url

The jdbc url

truejava.lang.String
jdbcUsernamejdbc.username

The jdbc username

truejava.lang.String
jdbcPasswordjdbc.password

The jdbc password

falsejava.lang.String
functionId

The id of this function. This is used in the macro as a short description of the function

truejava.lang.String
breakPoint

Tells the GUI to stop at this functional point

falseboolean
precondition

Specifies this is a precondition

falseboolean
postcondition

Specifies this is a postcondition and will therefore get executed even if a previous functional point or session tag failed.

falseboolean
expectFailure

Specifies a failure is expected.

falseboolean
expectException

Specifies an exception is expected.

falseboolean
functionDelay

The delay time to use at the end of each functional point

-1falselong
sqlUpdateSql

falsejava.lang.String

test-script

This is currently a tag meant to be nested inside the test-suite tag. It represents one of the scripts to be included and executed in the test-suite. If a test-script nested inside a precondition tag fails, then none of the following scripts will be executed even if they are nested inside a postcondition tag.

Take a look at this tag's API docs and source code for more information.

Attribute NameContext NameDescriptionDefaultRequiredType
script

The script to execute.

truejava.io.File
precondition

Do not continue executing any following scripts if a script marked as a precondition fails.

falsefalseboolean

testcase

Every test case script must have at least one testcase tag containing all other Jameleon tags.

Some of this tags attribute may affect every nested Jameleon tag. Many of the attributes in this tag can be set globally via a jameleon.conf file.

The order of setting variables in the context follows:

  1. Load the CSV file variables and put them in the context.
  2. Load the $testEnvironment-Applications.properties and then Applications.properties and only set the variables that aren't set in the previous files. In other words, if there are variables that are going to be the same ( like the page title ) across multiple test cases, then first variable set wins.
  3. Execute the function tag and set the attributes in the context. If you want key/values in the CSV and properties files to override the script attribute, then the function point author uses the setDefaultVariableValue() method in the set method for that attribute.
  4. If the function point is using a map-variable, then override all settings to set the variable to the mapFrom variable name.

Take a look at this tag's API docs and source code for more information.

Attribute NameContext NameDescriptionDefaultRequiredType
testCaseResultSessionTemplate

Sets the session template to be used to generate the session result. This is searched for in the classpath.

falsejava.lang.String
testCaseResultDataRowTemplate

Sets the data row template to be used to generate the data drivable result. This is searched for in the classpath.

falsejava.lang.String
testCaseResultFunctionTemplate

Sets the function result template to be used to generate the test case result. This is searched for in the classpath.

falsejava.lang.String
testCaseMainPageTemplate

Sets the template to be used to generate the main page of the results.. This is searched for in the classpath.

falsejava.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.

falsejava.lang.String
testCaseResultTemplate

Sets the template to be used to generate the test case result summary page. This is searched for in the classpath.

falsejava.lang.String
testCaseResultSummaryTemplate

Sets the template to be used to generate the test case result summary page. This is searched for in the classpath.

falsejava.lang.String
resultsDir

Sets the directory where the results will be written to.

falsejava.io.File
storeStateEvent

Sets the test case to record the state of the application at a defined event

falsejava.lang.String
storeStateOnChange

Sets the test case to record the state of the application whenever the application's state changes.

falseboolean
storeStateOnError

Sets the test case to record the state of the application on errors.

falseboolean
storeStateNever

Sets the test case to never record the state of the application.

falseboolean
maxExecutionTime

Sets the maximum execution time before the test case fails

falselong
failedOnDataDriver

Used internally to mark whether the DataDrivable had a problem. This is used for the failOnCSVFileNotFound option only

falseboolean
failOnCSVFileNotFound

Sets the failOnCSVFileNotFound property

falseboolean
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.

falsejava.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.

falsejava.lang.String
useCSV

Sets whether a CSV file should be used for this testcase or not.

falseboolean
trace

Sets whether a std out message should be sent before and after the execution of a functional point.

falseboolean
baseDir

Sets the base directory of the project

falsejava.io.File
assertGreaterThanLevel

falsejava.lang.String
assertLessThanLevel

falsejava.lang.String
assertLevel

falsejava.lang.String
assertLevels

Sets the level of the asserts to run that are equal to this list of numbers.

falsejava.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.

falseboolean
executeTestCase

Sets the test case to be executed or not.

falseboolean
bugTrackerUrl

Sets the url of the bugtracking tool used so the bug's listed for the test case are linked.

falsejava.lang.String
genTestCaseDocsEncoding

Sets the charset encoding.

falsejava.lang.String
propsName

Sets the name of the properties file (minus the .properties) to read in into the context

falsejava.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.

falsejava.lang.String
enableSslCertCheck

Enable or disable validity checking of SSL certificates.

falseboolean
csvFileName

Sets the relative path to the name of the csv file. This does not use any logic in considering testEnvironment nor organization.

falsejava.lang.String
name

Sets the name of the csv file to read in.

falsejava.lang.String
csvDir

Sets the directory of the csv file to read in (relative to baseDir).

falsejava.io.File
csvValueSeparator

Sets the separator used to separate CSV files.

falsechar
csvCharset

Sets the character set to use when reading in the CSV file

falsejava.lang.String
charset

Sets the character set to use to read the data file in.

falsejava.lang.String
dataDir

Sets the directory of where the data will be looked for. The baseDir is then prepended on this

falsejava.io.File
file

Sets the name of the file to use as a data source.

falsejava.lang.String
countRow

Sets the DataDrivable tag to increment the number of times the test case was executed for each row executed.

falsefalseboolean
stopTestExecutionOnFailure

To continue on a normal execution path even though an error occurs, set this to false

falseboolean
breakPoint

Sets a pause point to this class.

falseboolean

wait

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 NameContext NameDescriptionDefaultRequiredType
delayTime

The number of milliseconds to wait for

truelong
functionId

The id of this function. This is used in the macro as a short description of the function

truejava.lang.String
breakPoint

Tells the GUI to stop at this functional point

falseboolean
precondition

Specifies this is a precondition

falseboolean
postcondition

Specifies this is a postcondition and will therefore get executed even if a previous functional point or session tag failed.

falseboolean
expectFailure

Specifies a failure is expected.

falseboolean
expectException

Specifies an exception is expected.

falseboolean
functionDelay

The delay time to use at the end of each functional point

-1falselong