John.Ji...@gmail.com
unread,Oct 5, 2008, 10:30:26 PM10/5/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tellurium-users
From today on, we will start to have a series of Tellurium tutorial
posted on Tellurium user group so that you can understand Tellurium
better.
Most Tellurium objects come with default attributes, such as their
html tags. If users use composite locator, i.e., clocator, and the
attributes are not specified, the default attributes will be used. In
other words, if you know the default attributes of a Tellurium UI
object, you can omit them when you write clocator. Of course, you can
always override the default attributes by specifying them in the
clocator.
Take the RadioButton object as an example, its default tag is "input"
and its default type is "radio". That is to say, if you have a
clocator as follows,
clocator: [:]
it is equivalent to
clocator: [tag: "input", type: "radio"]
Of cause, you can overwrite the default attributes as long as that is
meaningful.
The default attributes for Tellurium objects are listed as follows,
------------------------------------------------------------
Tellurium object default attributes
------------------------------------------------------------
Button tag: "input"
CheckBox tag: "input", type: "checkbox"
Div tag: "div"
Form tag: "form"
Image tag: "img"
InputBox tag: "input"
RadioButto tag: "input", type: "radio"
Selector tag: "select"
Span tag: "span"
SubmitButton tag: "input", type: "submit"
Table tag: "table"
UrlLink tag: "a"
SimpleMenu tag: "div"
StandardTable tag: "table"