Skip to main content

Get Desktop Element Property

Command description

Get a property value from the specified desktop element.

Command Input Parameters

input parametersInput parameter typeDescription
Desktop ElementWinElement or str (captured element UID, not element name, not ms-rpa-id)Captured desktop element or an element returned by Get Desktop Element, Get Similar Desktop Elements, or Get Related Desktop Elements
Property NamestrFor example Name, ClassName, FrameworkId, etc.
Element Wait DurationnumberMaximum time to wait for the element, in seconds

Command Output Parameters

Output parametersOutput parameter typeDescription
Property Valueany

Type definition reference

tip
  • This command automatically brings the window to the front and restores it if minimized, so Activate Window is normally unnecessary.
  • Capture element reference Capture Desktop Elements