Platforms to show: All Mac Windows Linux Cross-Platform
Back to UIAutomationElementMBS class.
UIAutomationElementMBS.CachedAnnotationTypes as Integer()
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | UIAutomation | MBS WinFrameworks Plugin | 26.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
UIAutomationElementMBS.CachedBoundingRectangle as UIAutomationRectMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | UIAutomation | MBS WinFrameworks Plugin | 26.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
UIAutomationElementMBS.CachedPattern(patternId as Integer) as Variant
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | UIAutomation | MBS WinFrameworks Plugin | 26.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
patternId: The identifier of the control pattern.
UIAutomationElementMBS.CachedPropertyValue(propertyId as Integer) as Variant
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | UIAutomation | MBS WinFrameworks Plugin | 26.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
propertyId: The identifier of the property.
Microsoft UI Automation properties of the double type support Not a Number (NaN) values. When retrieving a property of the double type, a client can use the IsNan function to determine whether the property is a NaN value.
See also:
Some examples using this method:
UIAutomationElementMBS.CachedPropertyValue(propertyId as Integer, ignoreDefaultValue as Boolean) as Variant
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | UIAutomation | MBS WinFrameworks Plugin | 26.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
propertyId: The identifier of the property.
ignoreDefaultValue: A value that specifies whether a default value should be ignored if the specified property is not supported: TRUE if the default value is not to be returned, or FALSE if it is to be returned.
This method retrieves the specified property from the cache for the UI Automation element. To retrieve the current property, call the other CurrentPropertyValue variant.
Passing FALSE in the ignoreDefaultValue parameter is equivalent to calling CachedPropertyValue.
If the Microsoft UI Automation provider for the element itself supports the property, the value of the property is returned. Otherwise, if ignoreDefaultValue is FALSE, a default value specified by UI Automation is returned.
This method returns a failure code if the requested property was not previously cached.
UI Automation properties of the double type support Not a Number (NaN) values. When retrieving a property of the double type, a client can use the IsNan function to determine whether the property is a NaN value.
See also:
UIAutomationElementMBS.ClickablePoint(byref point as UIAutomationRectMBS, byref gotClickable as Boolean)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | UIAutomation | MBS WinFrameworks Plugin | 26.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
clickable: Receives the physical screen coordinates of a point that can be used by a client to click this element.
gotClickable: Receives TRUE if a clickable point was retrieved, or FALSE otherwise.
A client application can use this method to simulate clicking the left or right mouse button. For example, to simulate clicking the right mouse button to display the context menu for a control
- Call the GetClickablePoint method to find a clickable point on the control.
- Call the SendInput function to send a right-mouse-down, right-mouse-up sequence.
UIAutomationElementMBS.Constructor Private
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | UIAutomation | MBS WinFrameworks Plugin | 26.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
UIAutomationElementMBS.CurrentAnnotationTypes as Integer()
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | UIAutomation | MBS WinFrameworks Plugin | 26.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
UIAutomationElementMBS.CurrentBoundingRectangle as UIAutomationRectMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | UIAutomation | MBS WinFrameworks Plugin | 26.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
UIAutomationElementMBS.CurrentMetadataValue(targetId as Integer, metadataId as Integer) as Variant
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | UIAutomation | MBS WinFrameworks Plugin | 26.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
For example, should the string "1/4" be interpreted as a fraction or a date?
targetId: The ID of the property to retrieve.
metadataId: Specifies the type of metadata to retrieve.
Requires Windows 10, version 1703 or later.
UIAutomationElementMBS.CurrentPattern(patternId as Integer) as Variant
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | UIAutomation | MBS WinFrameworks Plugin | 26.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
patternId: The identifier of the control pattern.
UIAutomationElementMBS.CurrentPropertyValue(propertyId as Integer) as Variant
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | UIAutomation | MBS WinFrameworks Plugin | 26.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
propertyId: The identifier of the property.
Microsoft UI Automation properties of the double type support Not a Number (NaN) values. When retrieving a property of the double type, a client can use the IsNan function to determine whether the property is a NaN value.
See also:
UIAutomationElementMBS.CurrentPropertyValue(propertyId as Integer, ignoreDefaultValue as Boolean) as Variant
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | UIAutomation | MBS WinFrameworks Plugin | 26.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
propertyId: The identifier of the property.
ignoreDefaultValue: A value that specifies whether a default value should be ignored if the specified property is not supported: TRUE if the default value is not to be returned, or FALSE if it is to be returned.
Passing FALSE in the ignoreDefaultValue parameter is equivalent to calling CurrentPropertyValue.
If the Microsoft UI Automation provider for the element itself supports the property, the value of the property is returned. Otherwise, if ignoreDefaultValue is FALSE, a default value specified by UI Automation is returned.
This method returns a failure code if the requested property was not previously cached.
UI Automation properties of the double type support Not a Number (NaN) values. When retrieving a property of the double type, a client can use the _isnan function to determine whether the property is a NaN value.
See also:
The items on this page are in the following plugins: MBS WinFrameworks Plugin.