Available Tags

This is a list of available tags for Jiffie Plug-in. 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.

Jiffie Plug-in Tags

TagShort Description
<ie-attribute/>An extension of the {@link ParamTag} specific to the Jiffie plug-in.
<ie-attribute-name/>Specifies the name of the element attribute.
<ie-attribute-value/>Specifies the value of the element attribute.
<ie-click-button/>Clicks a provided button.
<ie-click-html-element/>Clicks a provided html element.
<ie-click-link/>Clicks on a given link.
<ie-close-window/>Closes the current browser window.
<ie-execute-javascript/>A Tag that executes a body of javascript in the context of IE.
<ie-fire-event/>Fires event methtods in a provided HTML element.
<ie-get-matching-text/>Gets the matching text against the currently active IE and sets it in the context.
<ie-go-back/>Clicks the browser's back button.
<ie-go-forward/>Clicks the browser's forward button.
<ie-is-text-present/>Check whether the given text exists on the current page.
<ie-navigate/>Navigates directly to the given URL.
<ie-send-keys/>Sends the provided keys to the screen.
<ie-session/>This is a Jiffie implementation of the @see SessionTag.
<ie-set-checkbox/>This action point checks any checkbox in a form or not.
<ie-set-hidden-field/>This action point sets the value of any hidden field.
<ie-set-password-field/>This action point sets the value of any password field in form or not.
<ie-set-radiobutton/>This action point sets the value of any radio button.
<ie-set-select-field/>Sets the value(s) of any select field.
<ie-set-text-area/>This action point sets the value of any text area.
<ie-set-text-field/>This action point sets the value of any text field.
<ie-set-window-focus/>Sets focus on an opened IE window with the provided title or index.
<ie-snap-shot/>Takes a snapshot of the currently displayed page.
<ie-validate/>Validates the title, text and links on the page.
<ie-validate-checkbox/>Checks the value of any checkbox field in the form or not.
<ie-validate-password-field/>Verifies the value of any password field.
<ie-validate-radiobutton/>Verifies that a radio button has been set to a given value.
<ie-validate-select-field/>Validates the currently selected value(s) of the provided select field.
<ie-validate-text/>Validates text or a regular expression can be found in the current HTML document.
<ie-validate-text-area/>Verifies the value of any text area.
<ie-validate-text-field/>Verifies the value of any text field.
<ie-validate-title/>Validates the title in several different ways.
<ie-validate-xpath/>Validates the given xpath ( see: http://www.

ie-click-button

Clicks a provided button. Some example uses might be: Clicking on <input type="image" src="jameleon.jpg"> for the 3rd form on the page.

    
<ie-click-button functionId="Click an image button with the src ending in jameleon.jpg"
identifier="jameleon.jpg"
form="2"/>
Clicking on <input type="image" alt="alt text"> for the 3rd form on the page.
    
<ie-click-button functionId="Click on a image button with the alt text set"
identifier="alt text"
form="2"/>
Clicking on <input type="submit" value="some value"> for the form with the name "button" on the page.
    
<ie-click-button functionId="Click on a image button with the provided value"
value="some value"
form="button"/>
Clicking on <input type="submit" name="some name"> for the form with the name "button" on the page.
    
<ie-click-button functionId="Click on a image button with the provided name"
name="some name"
form="button"/>
Clicking on <input type="submit" name="some name" value="some value"> for the form with the name "button" on the page.
    
<ie-click-button functionId="Click on a image button with the provided name and value"
name="some name"
value="some value"
form="button"/>
NOTE: The ie-attribute tags and the xpath element can also be used to find desired submit button.

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

Attribute NameContext NameDescriptionDefaultRequiredType
identifierieClickButtonIdentifier

Best if used for input type=image or button. For image input types, it will try to match it with the src or alt attribute. For submit and button types, it will try to match it with the value attribute. If this attribute is set, then name and value will be ignored.

falsejava.lang.String
nameieClickButtonName

The name of the button's name attribute.

falsejava.lang.String
valueieClickButtonValue

The value of the button's vakue attribute.

falsejava.lang.String
formieClickButtonForm

The name, id or index of the form with the button to click. This attribute is required if neither the nested ie-attribute element nor the xpath attribute is not used.

falsejava.lang.String
htmlElement

The html element type to click on. For example, for <input type="submit" > this would be set to input. Either htmlElement or xpath must be set.

falsejava.lang.String
xpath

The XPath used to indentify the desired object. Either use this or the name and value tags. Either htmlElement or xpath must be set.

falsejava.lang.String
eventToFire

The name of the javascript event to fire on the form element.

falsejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-click-html-element

Clicks a provided html element. This element can be anything that can be clicked like a link, a button, an image, or even just some element like a text field. Some example uses might be: Clicking on <input type="image" src="jameleon.jpg">

    
<ie-click-html-element functionId="Click an image button with the src ending in jameleon.jpg"
htmlElement="input">
<ie-attribute>
<ie-attribute-name>type</ie-attribute-name>
<ie-attribute-value>image</ie-attribute-value>
</ie-attribute>
<ie-attribute>
<ie-attribute-name>src</ie-attribute-name>
<ie-attribute-value>jameleon.jpg</ie-attribute-value>
</ie-attribute>
</ie-click-html-element>
Clicking on <input type="image" src="jameleon.jpg" alt="jameleon image" > based on the alt text alone
    
<ie-click-html-element functionId="Click an image button with the alt text"
htmlElement="input">
<ie-attribute>
<ie-attribute-name>type</ie-attribute-name>
<ie-attribute-value>image</ie-attribute-value>
</ie-attribute>
<ie-attribute>
<ie-attribute-name>alt</ie-attribute-name>
<ie-attribute-value>jamaleon image</ie-attribute-value>
</ie-attribute>
</ie-click-html-element>
Clicking on <input type="image" src="jameleon.jpg" alt="jameleon image" > with both alt text and image src
    
<ie-click-html-element functionId="Click an image button with the alt text"
htmlElement="input">
<ie-attribute>
<ie-attribute-name>type</ie-attribute-name>
<ie-attribute-value>image</ie-attribute-value>
</ie-attribute>
<ie-attribute>
<ie-attribute-name>alt</ie-attribute-name>
<ie-attribute-value>jamaleon image</ie-attribute-value>
</ie-attribute>
<ie-attribute>
<ie-attribute-name>src</ie-attribute-name>
<ie-attribute-value>jameleon.jpg</ie-attribute-value>
</ie-attribute>
</ie-click-html-element>
Clicking on <a href="http://sf.net" id="sf link" >
    
<ie-click-html-element functionId="Click an anchor tag"
htmlElement="a">
<ie-attribute>
<ie-attribute-name>id</ie-attribute-name>
<ie-attribute-value>sf link</ie-attribute-value>
</ie-attribute>
</ie-click-html-element>

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

Attribute NameContext NameDescriptionDefaultRequiredType
htmlElement

The html element type to click on. For example, for <input type="submit" > this would be set to input. Either htmlElement or xpath must be set.

falsejava.lang.String
xpath

The XPath used to indentify the desired object. Either use this or the name and value tags. Either htmlElement or xpath must be set.

falsejava.lang.String
eventToFire

The name of the javascript event to fire on the form element.

falsejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-click-link

Clicks on a given link. Some example uses might be: Clicking on <a href="http://sf.net">link text</a>

    
<ie-click-link functionId="Click an link with the text underlined"
link="link text"/>
Clicking on <a href="http://sf.net" id="link id">link text</a>
    
<ie-click-link functionId="Click an link with the id"
link="link id"/>
Clicking on <a href="http://sf.net" name="link name">link text</a>
    
<ie-click-link functionId="Click an link with the name"
link="link name"/>
Clicking on <a href="http://sf.net"><img src="jameleon.jpg"></a>
    
<ie-click-link functionId="Click an link with the img src"
link="jameleon.jpg"/>
Clicking on <a href="http://sf.net"><img src="jameleon.jpg" alt="img alt"></a>
    
<ie-click-link functionId="Click an link with the img alt text"
link="img alt"/>

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

Attribute NameContext NameDescriptionDefaultRequiredType
linkieClickLink

Link (link text, id, alt, name or img src) in page to be clicked.

falsejava.lang.String
ignoreTargetieClickLinkIgnoreTarget

Ignore target If set to 'true', will not open link in new window (if the link has a target).

falsefalseboolean
hrefieClickLinkHref

Link (link text, id, alt, name, regex or img src) in the page to be clicked.

falsejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-close-window

Closes the current browser window.

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

Attribute NameContext NameDescriptionDefaultRequiredType
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-execute-javascript

A Tag that executes a body of javascript in the context of IE. Please see the Jiffie javadocs on net.sf.jiffie.JiffieUtility.executeScript for more information. Some example uses might be: Setting the text field value defined by <input type="text" name="textField1"</a> inside a form named 'lastForm'

    
<ie-execute-javascript functionId="Set a value of the text field to 'some value'"
script="document.forms.lastForm.textField1.value = 'some value'"/>
In other words, you make up your own complete JavaScript, whether it be one or fifty lines and send it to the browser.

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

Attribute NameContext NameDescriptionDefaultRequiredType
script

The Javascript body to execute.

truejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-fire-event

Fires event methtods in a provided HTML element. This element can be anything that can hold an onxxx call like a a button, an image, or even just some element like a text field. Some example uses might be: Firing a onmouseover event from <input type="image" onmouseover="mouseOver('largeLizard.jpg')" onmouseout="mouseOut('smallLizard.jpg')" src="smallLizard.jpg">

    
<ie-fire-event functionId="Call the onmouseover event in the image button with the src ending in smallLizard.jpg"
eventToFire="onmouseover"
htmlElement="input">
<ie-attribute>
<ie-attribute-name>type</ie-attribute-name>
<ie-attribute-value>image</ie-attribute-value>
</ie-attribute>
<ie-attribute>
<ie-attribute-name>src</ie-attribute-name>
<ie-attribute-value>smallLizard.jpg</ie-attribute-value>
</ie-attribute>
</ie-fire-event>
Fires the onclick event on <a href="/some/path/helloWorld.html" onclick="alert('somemessage')"> based on the href text alone
    
<ie-fire-event functionId="Click a url with the href ending in helloWorld.html"
eventToFire="onclick"
htmlElement="a">
<ie-attribute>
<ie-attribute-name>href</ie-attribute-name>
<ie-attribute-value>helloWorld.html</ie-attribute-value>
</ie-attribute>
</ie-fire-event>
Fires the onchange event on a text field <input type="text" name="textname" id="text_id" > with a name and an id
    
<ie-fire-event functionId="Fire onchange event on a text field with a name, and an id"
htmlElement="input"
eventToFire="onchange">
<ie-attribute>
<ie-attribute-name>type</ie-attribute-name>
<ie-attribute-value>text</ie-attribute-value>
</ie-attribute>
<ie-attribute>
<ie-attribute-name>name</ie-attribute-name>
<ie-attribute-value>textname</ie-attribute-value>
</ie-attribute>
<ie-attribute>
<ie-attribute-name>id</ie-attribute-name>
<ie-attribute-value>text_id</ie-attribute-value>
</ie-attribute>
</ie-fire-event>
Use XPath to fire the onchange event a text field in a form:
    
<form name="formname" action="dosomething.php" method="post">
First Name: <input type="text" name="first_name" >
</form>
    
<ie-fire-event functionId="Fire onchange event on a text field with a name"
xpath="//FORM[@name='formname']/INPUT[@type='text' and @name='first_name']"/>

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

Attribute NameContext NameDescriptionDefaultRequiredType
htmlElement

The html element type to click on. For example, for <input type="submit" > this would be set to input. Either htmlElement or xpath must be set.

falsejava.lang.String
xpath

The XPath used to indentify the desired object. Either use this or the name and value tags. Either htmlElement or xpath must be set.

falsejava.lang.String
eventToFire

The name of the javascript event to fire on the form element.

falsejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-get-matching-text

Gets the matching text against the currently active IE and sets it in the context.

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

Attribute NameContext NameDescriptionDefaultRequiredType
varNameieGetMatchinTextVarName

The name by which a context variable will be created

falsejava.lang.String
regexieGetMatchinTextRegex

The pattern which is to be used to extract the data from the repsonse

falsejava.lang.String
regexGroupieGetMatchinTextRegexGroup

The group number (based on parenthesis) to extract the data from. For example, the following regex has two different groups: (Some text ([\\d]+)) The first group would be the entire expression. The second group would be only the matching numbers.

falseint
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-go-back

Clicks the browser's back button.

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

Attribute NameContext NameDescriptionDefaultRequiredType
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-go-forward

Clicks the browser's forward button.

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

Attribute NameContext NameDescriptionDefaultRequiredType
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-is-text-present

Check whether the given text exists on the current page. It then stores the results in the provided context variable for later validation. This is most useful for doing a fork (via Jelly's if tag) in the script, depending on this outcome. Some example uses might be: Validating that 'Link 1 was clicked' is on the page. This is of course, a pretty useless example since the same could be done in ie-validate-text.

    
<ie-is-text-present functionId="Check for 'Link 1 was clicked' on the current page and store the outcome in 'textPresent' context name"
varName="textPresent"
text="Link 1 was clicked"/>
<ju-assert-true functionId="verify that the text was found!"
test="${textPresent}"/>

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

Attribute NameContext NameDescriptionDefaultRequiredType
textieIsTextPresentText

The text to verify existence of.

truejava.lang.String
varNameieIsTextPresentVarName

The variable to store the Boolean result to

truejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-navigate

Navigates directly to the given URL. Some example uses might be: To go the jameleon sourceforge site.

    
<ie-navigate functionId="Go to jameleon's sourceforge site"
url="http://jameleon.sourceforge.net"/>

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

Attribute NameContext NameDescriptionDefaultRequiredType
urlieNavigateUrl

URL to navigate to

truejava.lang.String
usernameieNavigateUsername

Username for pages that require basic authentication.

falsejava.lang.String
passwordieNavigatePassword

Password for pages that require basic authentication.

falsejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-send-keys

Sends the provided keys to the screen. Please see IE SendKeys method docs for specs on how to represent keys. NOTE: the windowTitle is the text that appears on the top left of the actual window. For example, the Calculator application has a title of "Calculator".

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

Attribute NameContext NameDescriptionDefaultRequiredType
windowTitleieSendKeysWindowTitle

The title of the window to send keys to.

truejava.lang.String
keysieSendKeysKeys

The keys to send to the screen

truejava.lang.String
maxWaitTimeieSendKeysMaxWaitTime

The maximum number of seconds to wait before failing.

30trueint
failOnWindowNotFoundieSendKeysFailOnWindowNoFound

The maximum number of seconds to wait before failing.

truefalseboolean
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-session

This is a Jiffie implementation of the @see SessionTag. It basically starts the application in the state provided by the baseUrl and beginAt variables and creates a new session for the function points to share. An example of its use might:

    
<testcase xmlns="jelly:jameleon">
<ie-session baseUrl="http://www.google.com" beginSession="true">
<ie-validate
functionId="Check that title is Google."
title="Google"/>
</ie-session>
</testcase>

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

Attribute NameContext NameDescriptionDefaultRequiredType
visible

If set to true, then Internet Explorer will be visible.

falseboolean
baseUrlbaseUrl

Used when the beginSession is set to true. This is the url, including protocol http://

falsejava.lang.String
beginAtbeginAt

Used when the beginSession attribute is set to true. This the path to navigate to. It is recommended to only use baseUrl, including the entire path and not use this.

falsejava.lang.String
closeIEOnExit

If set to true, then any browsers opened by the session will be closed. Set this attribute to false to keep the browsers open.

truefalseboolean
clickYesOnSecurityAlert

Click yes on the Security Alert dialog box if one appears after the session is started.

falsefalseboolean
clickNoOnSecurityAlert

Click no on the Security Alert dialog box if one appears after the session is started.

falsefalseboolean
enableJacobAutoGc

Turn on com.jacob.autogc

truefalseboolean
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

ie-set-checkbox

This action point checks any checkbox in a form or not. Some example uses might be: Checking <input type="checkbox" name="checkBox1" value="one"</a>

    
<ie-set-checkbox functionId="Set a checkbox in a given form to checked"
name="checkBox1"
checked="true"
form="testForm"/>
Checking <input type="checkbox" name="checkBox1" value="one"</a> that doesn't exist in a form
    
<ie-set-checkbox functionId="Set a checkbox in a given form to checked"
name="checkBox1"
checked="true"/>
Unchecking <input type="checkbox" name="checkBox3"</a>
    
<ie-set-checkbox functionId="Uncheck a given checkbox"
name="checkBox3"
checked="false"
form="testForm"/>
Checking a checkbox with the same name, but different value: <input type="checkbox" name="cb1" value="1"</a><input type="checkbox" name="cb1" value="2"</a>
    
<ie-set-checkbox functionId="Ckeck a checkbox 'cb1' with the value '1'. Notice that two checkboxes have the same name."
name="cb1"
value="1"
checked="true"
form="testForm"/>
NOTE: This tag does not currently support the xpath attribute nor the nested ie-attribute tags.

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

Attribute NameContext NameDescriptionDefaultRequiredType
nameieSetCheckboxName

The name of the checkbox field

truejava.lang.String
valueieSetCheckboxValue

The value of the checkbox field. If set, then the name and value are used to identify the checkbox to check or uncheck

falsejava.lang.String
checkedieSetCheckboxValue

Check the checkbox if set to true; uncheck the checkbox if set to false.

trueboolean
formieSetCheckboxForm

The name, id or index of the field

falsejava.lang.String
htmlElement

The html element type to click on. For example, for <input type="submit" > this would be set to input. Either htmlElement or xpath must be set.

falsejava.lang.String
xpath

The XPath used to indentify the desired object. Either use this or the name and value tags. Either htmlElement or xpath must be set.

falsejava.lang.String
eventToFire

The name of the javascript event to fire on the form element.

falsejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-set-hidden-field

This action point sets the value of any hidden field. Some example uses might be: Setting the text field defined by <input type="hidden" name="hiddenField1"</a>

    
<ie-set-hidden-field functionId="Set a value of the hidden field to 'some value'"
name="hiddenField1"
value="some value"
form="testForm"/>

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

Attribute NameContext NameDescriptionDefaultRequiredType
nameieSetHiddenFieldName

The name of the hidden field

truejava.lang.String
valueieSetHiddenFieldValue

The value to set the hidden field to

truejava.lang.String
formieSetHiddenFieldForm

The name, id or index of the form

falsejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-set-password-field

This action point sets the value of any password field in form or not. Some example uses might be: Setting the value of <input type="password" name="passwordField1"</a>

    
<ie-set-password-field functionId="Set a password field in a given form to 'joe'"
name="passwordField1"
value="joe"
form="testForm"/>
NOTE: This tag does not currently support the xpath attribute nor the nested ie-attribute tags.

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

Attribute NameContext NameDescriptionDefaultRequiredType
nameieSetPasswordFieldName

The name of the text field

truejava.lang.String
valueieSetPasswordFieldValue

The value to set the text field to

truejava.lang.String
formieSetPasswordFieldForm

The name, id or index of the field

falsejava.lang.String
htmlElement

The html element type to click on. For example, for <input type="submit" > this would be set to input. Either htmlElement or xpath must be set.

falsejava.lang.String
xpath

The XPath used to indentify the desired object. Either use this or the name and value tags. Either htmlElement or xpath must be set.

falsejava.lang.String
eventToFire

The name of the javascript event to fire on the form element.

falsejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-set-radiobutton

This action point sets the value of any radio button. Some example uses might be: Selecting a radio button <input type="radio" name="radioButton" value="radio1"><input type="radio" name="radioButton" value="radio2">

    
<ie-set-radiobutton functionId="Check the second radio button"
name="radioButton"
value="radio2"
form="testForm"/>
NOTE: This tag does not currently support the xpath attribute nor the nested ie-attribute tags.

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

Attribute NameContext NameDescriptionDefaultRequiredType
nameieSetRadiobuttonName

The name of the radio button

truejava.lang.String
valueieSetRadiobuttonValue

Check the radio button with given value.

truejava.lang.String
formieSetRadiobuttonForm

The name, id or index of the field

falsejava.lang.String
htmlElement

The html element type to click on. For example, for <input type="submit" > this would be set to input. Either htmlElement or xpath must be set.

falsejava.lang.String
xpath

The XPath used to indentify the desired object. Either use this or the name and value tags. Either htmlElement or xpath must be set.

falsejava.lang.String
eventToFire

The name of the javascript event to fire on the form element.

falsejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-set-select-field

Sets the value(s) of any select field. Only one of optionText, optionValue, or optionIndex can set. In other words, they can't be used in conjunction with one another. Some example uses might be: Selecting

    
<select name="selectField">
<option value="1">one</option>
<option value="2">two</option>
<option value="3">three</option>
<option value="4">four</option>
</select>
    
<ie-set-select-field functionId="Set the select field not in a form to the value displayed as 'two'"
name="selectField"
optionText="two"/>
Selecting multiple values from:
    
<select name="selectField" mulitple>
<option value="1">one</option>
<option value="2">two</option>
<option value="3">three</option>
<option value="4">four</option>
</select>
    
<map-variable toVariable="fieldValues" variableType="List">
<variable-value>1</variable-value>
<variable-value>4</variable-value>
</map-variable>
<ie-set-select-field functionId="Set mulitple values in the the select field via the value '1' and '4'"
name="selectField"
optionValue="${fieldValues}"/>
    
<ie-set-select-field functionId="Set the select field to the value displayed as 'two'"
name="selectField"
optionText="two"
form="testForm"/>
    
<ie-set-select-field functionId="Set the select field to the value '3' as defined by its value attribute"
name="selectField"
optionValue="3"
form="testForm"/>
    
<ie-set-select-field functionId="Set the select field to the fourth selection"
name="selectField"
optionIndex="3"
form="testForm"/>
NOTE: This tag does not currently support the xpath attribute nor the nested ie-attribute tags.

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

Attribute NameContext NameDescriptionDefaultRequiredType
nameieSetSelectFieldName

The name of the text field

truejava.lang.String
optionTextieSetSelectFieldOptionText

The displayed text of the option to select. This attribute can have multiple values. In which case each one will be validated.

falsejava.util.List
optionValueieSetSelectFieldOptionValue

The value attribute of the option tag to select. This attribute can have multiple values. In which case each one will be validated. NOTE: This is not the text that appears in the drop-down list. Instead it is the value attribute of the option tag which should be nested inside the select tag.

falsejava.util.List
optionIndexieSetSelectFieldOptionIndex

The index of the option to select. For example, to select the 2nd option, pass in 1 This attribute can have multiple values. In which case each one will be validated.

falsejava.util.List
formieSetSelectFieldForm

The name, id or index of the field

falsejava.lang.String
htmlElement

The html element type to click on. For example, for <input type="submit" > this would be set to input. Either htmlElement or xpath must be set.

falsejava.lang.String
xpath

The XPath used to indentify the desired object. Either use this or the name and value tags. Either htmlElement or xpath must be set.

falsejava.lang.String
eventToFire

The name of the javascript event to fire on the form element.

falsejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-set-text-area

This action point sets the value of any text area. Some example uses might be: Setting the text field defined by <input type="text" name="textField1"</a>

    
<ie-set-text-area functionId="Set a value of the text area to 'some value'"
name="textField1"
value="some value"
form="testForm"/>
    
<ie-set-text-area functionId="Set a value of the text area not in a form to 'some value'"
name="textField1"
value="some value"/>
NOTE: This tag does not currently support the xpath attribute nor the nested ie-attribute tags.

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

Attribute NameContext NameDescriptionDefaultRequiredType
nameieSetTextAreaName

The name of the text area

truejava.lang.String
valueieSetTextAreaValue

The value to set the text area to

truejava.lang.String
formieSetTextAreaForm

The name, id or index of the form

falsejava.lang.String
htmlElement

The html element type to click on. For example, for <input type="submit" > this would be set to input. Either htmlElement or xpath must be set.

falsejava.lang.String
xpath

The XPath used to indentify the desired object. Either use this or the name and value tags. Either htmlElement or xpath must be set.

falsejava.lang.String
eventToFire

The name of the javascript event to fire on the form element.

falsejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-set-text-field

This action point sets the value of any text field. Some example uses might be: Setting the text field defined by <input type="text" name="textField1"</a>

    
<ie-set-text-field functionId="Set a value of the text field to 'some value'"
name="textField1"
value="some value"
form="testForm"/>
NOTE: This tag does not currently support the xpath attribute nor the nested ie-attribute tags.

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

Attribute NameContext NameDescriptionDefaultRequiredType
nameieSetTextFieldName

The name of the text field

truejava.lang.String
valueieSetTextFieldValue

The value to set the text field to

truejava.lang.String
enforceMaxLengthieSetTextFieldEnforceMaxLength

If set to true, then enforce the max length, but cutting off the end of the text. To turn this off, set the value to false.

truefalseboolean
formieSetTextFieldForm

The name, id or index of the form

falsejava.lang.String
htmlElement

The html element type to click on. For example, for <input type="submit" > this would be set to input. Either htmlElement or xpath must be set.

falsejava.lang.String
xpath

The XPath used to indentify the desired object. Either use this or the name and value tags. Either htmlElement or xpath must be set.

falsejava.lang.String
eventToFire

The name of the javascript event to fire on the form element.

falsejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-set-window-focus

Sets focus on an opened IE window with the provided title or index. If the title or browserIndex are not provided, then the window at the top of the list will be activated. The window at the top of the list is usually the most recently opened window, but can be the most recently activated window depending on if this tag was used before in the same session.

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

Attribute NameContext NameDescriptionDefaultRequiredType
title

The title of the desired window to set focus on

falsejava.lang.String
browserIndex

The nth window in the list of open windows

falsejava.lang.Integer
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-snap-shot

Takes a snapshot of the currently displayed page. Some example uses might be: While on a given page, you want to save a snapshot with the name "test.html"

    
<ie-snap-shot functionId="Take a snapshot of the current page and save it as 'test.html'"
fileNameToStore="test"/>

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

Attribute NameContext NameDescriptionDefaultRequiredType
fileNameToStore

The file name minus the .html extension.

truejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-validate

Validates the title, text and links on the page. If no checks occur, then this tag will fail. Some example uses might be: To validate the title is 'Jameleon':

    
<ie-validate functionId="Verify the title is 'Jameleon'"
title="Jameleon"/>
To validate the title is not 'Jameleon':
    
<ie-validate functionId="Verify the title is NOT 'Jameleon'"
titleNoEquals="Jameleon"/>
To check that 'automated testing tool' is on the page:
    
<ie-validate functionId="check that 'automated testing tool' is on the page"
textPresent="automated testing tool"/>
To check that a link with the given text 'some link' is on the page:
    
<ie-validate functionId="Validate that 'some link' is on the current page."
linkPresent="some link"/>
Most of the attributes can support multiple values. For example, to check that 'automated testing tool' and 'book' are on the page:
    
<map-variable toVariable="textPresent" variableType="list">
<variable-value>automated testing tool</variable-value>
<variable-value>book</variable-value>
</map-variable>
<ie-validate functionId="check that 'automated testing tool' is on the page"
textPresent="${textPresent}"/>

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

Attribute NameContext NameDescriptionDefaultRequiredType
titleieValidationTitle

Expected title

falsejava.lang.String
titleNotEqualsieValidationTitleNotEquals

Title that is NOT expected. If multiple titles are passed, then ALL titles are compared.

falsejava.util.List
textPresentieValidationTextPresent

Text that should exist on the resulting page

falsejava.util.List
textNotPresentieValidationTextNotPresent

Text that should NOT exist on the resulting page

falsejava.util.List
linkPresentieValidationLinkPresent

Link that should exist on the resulting page

falsejava.util.List
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-validate-checkbox

Checks the value of any checkbox field in the form or not. Some example uses might be: Verifying the following checkbox <input type="checkbox" name="checkBox1" value="one"</a>

    
<ie-validate-checkbox functionId="Validate that the checkbox, 'checkBox1' is checked"
name="checkBox1"
checked="true"
form="testForm"/>
Verifying the following checkbox <input type="checkbox" name="checkBox1" value="one"</a> that doesn't exist in a form
    
<ie-validate-checkbox functionId="Validate that the checkbox, 'checkBox1' is checked"
name="checkBox1"
checked="true"/>
    
<ie-validate-checkbox functionId="Validate that the checkbox, 'checkBox1' is not checked"
name="checkBox1"
checked="false"
form="testForm"/>
    
<ie-validate-checkbox functionId="Validate that the checkbox, 'checkBox1' with the value '42' is not checked"
name="checkBox1"
value="42"
checked="false"
form="testForm"/>

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

Attribute NameContext NameDescriptionDefaultRequiredType
nameieValidateCheckboxName

The name of the checkbox field

truejava.lang.String
valueieValidateCheckboxValue

The value of the checkbox field

falsejava.lang.String
checkedieValidateCheckboxChecked

If set to true; validate it is check, otherwise validate it is unchecked.

trueboolean
formieValidateCheckboxForm

The name, id or index of the field

falsejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-validate-password-field

Verifies the value of any password field. Some example uses might be: Verifying the following password field <input type="password" name="pw1" value="one"</a>

    
<ie-validate-password-field functionId="Validate that the password field, 'pw1' is 'one'"
name="pw1"
value="one"
form="testForm"/>

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

Attribute NameContext NameDescriptionDefaultRequiredType
nameieValidatePasswordFieldName

The name of the password field

truejava.lang.String
valueieValidatePasswordFieldValue

The expected value of the password field

truejava.lang.String
formieValidatePasswordFieldForm

The name, id or index of the field

falsejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-validate-radiobutton

Verifies that a radio button has been set to a given value. Some example uses might be: Verify the following radio buttons <input type="radio" name="radioButton" value="radio1"><input type="radio" name="radioButton" value="radio2">

    
<ie-validate-radiobutton functionId="Validate that the radio button named 'radioButton' is selected to radio2"
name="radioButton"
value="radio2"
form="testForm"/>

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

Attribute NameContext NameDescriptionDefaultRequiredType
nameieValidateRadiobuttonName

The name of the radio button

truejava.lang.String
valueieValidateRadiobuttonValue

Which value is set in the radio button

truejava.lang.String
formieValidateRadiobuttonForm

The name, id or index of the field

falsejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-validate-select-field

Validates the currently selected value(s) of the provided select field. Note that optionText, optionValue and optionIndex can all be used in conjunction with each other and all will be validated. Some examples might be: Verify the following select field

    
<select name="selectField" multiple>
<option value="1">one</option>
<option value="2">two</option>
<option value="3">three</option>
<option value="4">four</option>
</select>
    
<ie-validate-select-field functionId="Check that the 3rd option is selected"
name="selectField"
optionIndex="2"
form="testForm"/>
    
<map-variable toVariable="fieldValues" variableType="List">
<variable-value>1</variable-value>
<variable-value>4</variable-value>
</map-variable>
<ie-validate-select-field functionId="Verify that both '1' and '4' are set"
name="selectField"
optionValue="${fieldValues}"/>
    
<ie-validate-select-field functionId="Check that the option displayed as 'four' is selected"
name="selectField"
optionText="four"
form="testForm"/>
    
<ie-validate-select-field functionId="Check that the option with the value attribute set to '1' is selected"
name="selectField"
optionValue="1"
form="testForm"/>

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

Attribute NameContext NameDescriptionDefaultRequiredType
nameieSetSelectFieldName

The name of the text field

truejava.lang.String
optionTextieValidateSelectFieldOptionText

The expected displayed text (values) of the option to select

falsejava.util.List
optionValueieValidateSelectFieldOptionValue

The value(s) attribute of the option tag to select

falsejava.util.List
optionIndexieValidateSelectFieldOptionIndex

The index(es) of the option to select. For example, to select the 2nd option, pass in 1

falsejava.util.List
formieValidateSelectFieldForm

The name, id or index of the field

falsejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-validate-text

Validates text or a regular expression can be found in the current HTML document. Some examples might be: Verify the page has the text 'some text on the page' is on the current page

    
<ie-validate-text functionId="Verify that 'some text on the page' exists on the current page."
text="some text on the page" />
Verify the page has text that looks like a date '12/21/2006' on the current page, but we don't care about the exact value.
    
<ie-validate-text functionId="Verify the page has text that looks like a date '12/21/2006' on the current page"
text="[\\d]{2}/[\\d]{2}/[\\d]{4}"
regex="true" />

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

Attribute NameContext NameDescriptionDefaultRequiredType
textieValidateTextText

The text to validate the existence of.

truejava.lang.String
regexieValidateTextRegex

Specifies whether the text represents a regular expression.

falseboolean
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-validate-text-area

Verifies the value of any text area. Some example uses might be: Verifying the following text area <textarea name="ta1">a bunch of text in a text area</textarea>

    
<ie-validate-text-area functionId="Validate that the text area, 'ta1' is 'a bunch of text in a text area'"
name="ta1"
value="a bunch of text in a text area"
form="testForm"/>

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

Attribute NameContext NameDescriptionDefaultRequiredType
nameieValidateTextAreaName

The name of the text area

truejava.lang.String
valueieValidateTextAreaValue

The expected value of the text area

truejava.lang.String
formieValidateTextAreaForm

The name, id or index of the field

falsejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-validate-text-field

Verifies the value of any text field. Some example uses might be: Verifying the following text field <input type="text" name="text1" value="some text">

    
<ie-validate-text-field functionId="Validate that the text field, 'text1' is 'some text'"
name="text1"
value="some text"
form="testForm"/>

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

Attribute NameContext NameDescriptionDefaultRequiredType
nameieValidateTextFieldName

The name of the text field

truejava.lang.String
valueieValidateTextFieldValue

The expected value of the text field

truejava.lang.String
formieValidateTextFieldForm

The name, id or index of the field

falsejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-validate-title

Validates the title in several different ways. When the title has whitespace leading or trailing whitespace it can get tricking, depending on whether they used the &nbsp; character or not.

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

Attribute NameContext NameDescriptionDefaultRequiredType
titleieValidateTitleTitle

The exact title of the page

falsejava.lang.String
titleNotEqualsieValidateTitleTitleNotEquals

The text that the title should not match

falsejava.lang.String
titleContainsieValidateTitleTitleContains

The text that title should contain

falsejava.lang.String
titleBeginsWithieValidateTitleTitleBeginsWith

The text that the title should begin with

falsejava.lang.String
titleEndsWithieValidateTitleTitleEndsWith

The text that the title should end with

falsejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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

ie-validate-xpath

Validates the given xpath ( see: http://www.w3.org/TR/xpath ) evaluates to true. That means that it matches at least one node in the document. For example, to verify that a text field named 'fName' exists:

    
<ie-validate-xpath functionId="Check for the First Name text box"
xpath="//FORM//INPUT[@type='text' @name='fName']"/>
NOTE: The Jiffie XPath implement seems to have better luck when the HTML elements are uppercased like in the example above.

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

Attribute NameContext NameDescriptionDefaultRequiredType
xpathieValidateXPathXPath

specifies the XPath expression to evaluate.

truejava.lang.String
WAIT

Whether or not to wait for a response. Use this attribute if you need to click on something that brings up a prompt window. Just remember that this setting is for the entire duration of the tag. Which means if you click on a link and then try to validate something within the same tag, then it will likely fail. Use with care!

truefalseboolean
highlightActiveElement

Whether or not to highlight the currently active HTML element. This attribute can be set in jameleon.conf via jiffie-plugin.highlightActiveElement

truefalseboolean
frameName

The name attribute of the frame or iframe to act upon. This can also be a comma-separated list of names.

falsejava.lang.String
frameId

The id attribute of the frame or iframe to act upon. This can also be a comma-separated list of ids.

falsejava.lang.String
frameSrc

The src attribute of the frame or iframe to act upon. This can also be a comma-separated list of src attributes.

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