isVisible(visibleopt) → {boolean|Description}
Indicates whether the object is visible.
Parameters:
Name | Type | Attributes | Description |
---|
visible | boolean |
<optional>
| When provided, this method acts as a setter and sets the isVisible value. |
Returns:
If no parameter is provided, the method acts as a getter and returns the current stored isVisible value;
otherwise it returns 'this' for use with the builder pattern.
-
Type
- boolean
|
Description
items(itemsopt) → {Array.<string>|Description}
The list of all items contained in this object.
Parameters:
Name | Type | Attributes | Description |
---|
items | Array.<string> |
<optional>
| When provided, this method acts as a setter and sets the items value. |
Returns:
If no parameter is provided, the method acts as a getter and returns the current stored items value;
otherwise it returns 'this' for use with the builder pattern.
-
Type
- Array.<string>
|
Description
itemsCount(valueopt) → {number|Description}
The number of items in the group.
Parameters:
Name | Type | Attributes | Description |
---|
value | number |
<optional>
| When provided, this method acts as a setter and sets the itemsCount value. |
Returns:
If no parameter is provided, the method acts as a getter and returns the current stored itemsCount value;
otherwise it returns 'this' for use with the builder pattern.
-
Type
- number
|
Description
location(locationopt) → {Point|Description}
The object's coordinates relative to the parent window (in pixels).
Parameters:
Name | Type | Attributes | Description |
---|
location | Point |
<optional>
| When provided, this method acts as a setter and sets the location value. |
Returns:
If no parameter is provided, the method acts as a getter and returns the current stored location value;
otherwise it returns 'this' for use with the builder pattern.
-
Type
- Point
|
Description
name(nameopt) → {string|Description}
The object's name property.
Parameters:
Name | Type | Attributes | Description |
---|
name | string |
<optional>
| When provided, this method acts as a setter and sets the name value. |
Returns:
If no parameter is provided, the method acts as a getter and returns the current stored name value;
otherwise it returns 'this' for use with the builder pattern.
-
Type
- string
|
Description
outerHTML(outerHTMLopt) → {string|Description}
The object's HTML code and its content.
Parameters:
Name | Type | Attributes | Description |
---|
outerHTML | string |
<optional>
| When provided, this method acts as a setter and sets the outerHTML value. |
Returns:
If no parameter is provided, the method acts as a getter and returns the current stored outerHTML value;
otherwise it returns 'this' for use with the builder pattern.
-
Type
- string
|
Description
outerText(outerTextopt) → {string|Description}
The object's text (supported in Internet Explorer only).
Parameters:
Name | Type | Attributes | Description |
---|
outerText | string |
<optional>
| When provided, this method acts as a setter and sets the outerText value. |
Returns:
If no parameter is provided, the method acts as a getter and returns the current stored outerText value;
otherwise it returns 'this' for use with the builder pattern.
-
Type
- string
|
Description
role(roleValueopt) → {string|Description}
The defined role of this object. For example, if the role property is listbox, the object functions as a list box.
Parameters:
Name | Type | Attributes | Description |
---|
roleValue | string |
<optional>
| When provided, this method acts as a setter and sets the role value. |
Returns:
If no parameter is provided, the method acts as a getter and returns the current stored role value;
otherwise it returns 'this' for use with the builder pattern.
-
Type
- string
|
Description
selectedIndex(selectedIndexValopt) → {number|Description}
The index of the selected item in the radio group (or -1 if none is selected).
To describe a radio group with no selected item, set the SelectedIndex to -1.
Parameters:
Name | Type | Attributes | Description |
---|
selectedIndexVal | number |
<optional>
| When provided, this method acts as a setter and sets the selectedIndex value. |
Returns:
If no parameter is provided, the method acts as a getter and returns the current selectedIndex stored value;
otherwise it returns 'this' for use with the builder pattern.
-
Type
- number
|
Description
selectedItem(selected_valueopt) → {string|Description}
The currently selected item (or null if none is selected).
Parameters:
Name | Type | Attributes | Description |
---|
selected_value | string |
<optional>
| When provided, this method acts as a setter and sets the selectedItem value. |
Returns:
If no parameter is provided, the method acts as a getter and returns the current stored selectedItem value;
otherwise it returns 'this' for use with the builder pattern.
-
Type
- string
|
Description
size(sizeopt) → {Size|Description}
The object's size (in pixels).
Parameters:
Name | Type | Attributes | Description |
---|
size | Size |
<optional>
| When provided, this method acts as a setter and sets the size value. |
Returns:
If no parameter is provided, the method acts as a getter and returns the current stored size value;
otherwise it returns 'this' for use with the builder pattern.
-
Type
- Size
|
Description
styles(stylesopt) → {Object|Description}
The object's computed style.
Parameters:
Name | Type | Attributes | Description |
---|
styles | Object |
<optional>
| When provided, this method acts as a setter and sets the object by its computed style value.
* Specify the style names as object keys and set their values to the desired style values. |
Returns:
If no parameter is provided, the method acts as a getter and returns the current stored styles object;
otherwise it returns 'this' for use with the builder pattern.
-
Type
- Object
|
Description
tagName(tagopt) → {string|Description}
The object's HTML tag.
Parameters:
Name | Type | Attributes | Description |
---|
tag | string |
<optional>
| When provided, this method acts as a setter and sets the HTML tagName value. |
Returns:
If no parameter is provided, the method acts as a getter and returns the current stored HTML tagName value;
otherwise it returns 'this' for use with the builder pattern.
-
Type
- string
|
Description
title(titleopt) → {string|Description}
The object's title.
Parameters:
Name | Type | Attributes | Description |
---|
title | string |
<optional>
| When provided, this method acts as a setter and sets the title value. |
Returns:
If no parameter is provided, the method acts as a getter and returns the current stored title value;
otherwise it returns 'this' for use with the builder pattern.
-
Type
- string
|
Description
type(typeopt) → {string|Description}
The type of object as defined in the HTML input tag.
Parameters:
Name | Type | Attributes | Description |
---|
type | string |
<optional>
| When provided, this method acts as a setter and sets the type value. |
Returns:
If no parameter is provided, the method acts as a getter and returns the current stored type value;
otherwise it returns 'this' for use with the builder pattern.
-
Type
- string
|
Description
vri(valueopt)
Sets a VisualRelation definition.
The VRI definition helps to distinguish this object from other objects with otherwise identical descriptions, based on this object's visual relationship to another object in the application.
Parameters:
Name | Type | Attributes | Description |
---|
value | Array.<Object> |
<optional>
| Array that contains multiple VRI definitions for this test object.
PropertiesName | Type | Attributes | Default | Description |
---|
anchor | Object | | | The related test object. | horizontal | Horizontal |
<optional>
| | The horizontal relation definition. | hInline | boolean |
<optional>
|
false
| The horizontal inline definition. | vertical | Vertical |
<optional>
| | The vertical relation definition. | vInline | string |
<optional>
|
false
| The vertical inline definition. | proximity | Proximity |
<optional>
| | The proximity relation definition. |
|
xpath(selectoropt) → {string|Description}
The path to this object in XPath format. For example: //TR[@id='LeanFT']/*\/INPUT
Parameters:
Name | Type | Attributes | Description |
---|
selector | string |
<optional>
| When provided, this method acts as a setter and sets the xpath value. |
Returns:
If no parameter is provided, the method acts as a getter and returns the current stored xpath value;
otherwise it returns 'this' for use with the builder pattern.
-
Type
- string
|
Description