The Element IE macro object represents a native Internet Explorer web control ( IHTMLElement ).
It provides methods and properties for:
var elementObj = browserObj.FindElement(Search conditions);
var elementObj = browserObj.FindAllElement(Search conditions)(index);
var elementObj = frameObj.FindElement(Search conditions);
var elementObj = frameObj.FindChildElement(Search conditions);
var elementObj = frameObj.FindAllElements(Search conditions)(index);
var elementObj = frameObj.FindChildrenElements(Search conditions)(index);
var elementObj = elemObj.FindElement(Search conditions);
var elementObj = elemObj.FindChildElement(Search conditions);
var elementObj = elemObj.FindAllElements(Search conditions)(index);
var elementObj = elemObj.FindChildrenElements(Search conditions)(index);
var elementObj = coreObj.AttachToNativeElement(native element);
var elementObj = elemObj.parentElement;
var elementObj = elemObj.nextSiblingElement;
var elementObj = elemObj.previousSiblingElement;
| AddSelection | Add items to the current selection in HTML multiple selection list-box web controls. |
| AddSelectionRange | Add a range of items to the current selection in HTML multiple selection list-box web controls. |
| Check | Sets the checked state of a radio or checkbox control to true. |
| ClearSelection | Clears any selection in HTML combo-box or list-box web controls. |
| Click | Simulates a click on a IHTMLElement element. |
| FindAllElements | Searches in the current element, the list of all HTML elements that verify a list of search conditions. |
| FindChildElement | Searches in the current element, a direct HTML child element that verifies a list of search conditions. |
| FindChildrenElements | Searches in the current element, the list of direct HTML child elements that verify a list of search conditions. |
| FindElement | Searches in the current element, an HTML element that verifies a list of search conditions. |
| FindParentElement | Searches a parent element that matches a tag-name and verifies a list of search conditions. |
| GetAllSelectedOptions | Retrieves the collection of selected options in a combo-box or list-box control. |
| GetAttribute | Retrieves the value of the specified attribute. |
| Highlight | Highlights the element. |
| InputText | Simulates keystrokes in an HTML editable web control. |
| RemoveAttribute | Removes the given attribute from the object. |
| RightClick | Simulates a right click on a HTML element. |
| SaveElementImage | Save the screen image of the <img> element to a graphic file. |
| Select | Selects items in HTML drop-down or list-box web controls. |
| SelectRange | Selects a range of items in HTML multiple selection list-box web controls. |
| SetAttribute | Sets the value of the specified attribute. |
| Uncheck | Sets the checked state of a checkbox web control to false. |
| core | Returns a reference to the parent Core IE macro object of the element. |
| isChecked | Retrieves the state of a check box or radio button. |
| nativeElement | Returns a native HTML element ( IHTMLElement ) represented by the current web automation library Element object. |
| nextSiblingElement | Returns the next child of the parent for the object. |
| parentBrowser | Returns the parent Browser IE macro object of the current element. |
| parentElement | Returns the parent element object of the current element. |
| parentFrame | Returns the parent Frame IE macro object of the current element. |
| previousSiblingElement | Returns the previous child of the parent for the object. |
| selectedOption | Retrieves the selected option in a select object. |
| tagName | Retrieves the tag name of the object |
| text | Retrieves the text of the element. |