Class QtFlavorElement
public abstract class QtFlavorElement : FlavorElement
- Inheritance
-
QtFlavorElement
- Derived
- Inherited Members
Fields
clazzes
protected readonly string[] clazzes
Field Value
- string[]
containerFlavorElement
protected readonly FlavorElement containerFlavorElement
Field Value
id
protected readonly long id
Field Value
mappedClazz
protected string mappedClazz
Field Value
objName
protected readonly string objName
Field Value
qtBase
protected readonly IQtBaseAutomation qtBase
Field Value
- IQtBaseAutomation
remoteObject
protected readonly QRemoteObject remoteObject
Field Value
rootContainerFlavorElement
protected readonly Win32FlavorElement rootContainerFlavorElement
Field Value
z
protected readonly int z
Field Value
Properties
DontCache
Indicates that the element should not be cached. Defaults to false.
protected override bool DontCache { get; }
Property Value
ElemId
public long ElemId { get; }
Property Value
IsClientRectangle
Determines if the ElementRectangle property returns client or screen coordinates.
public override bool IsClientRectangle { get; }
Property Value
Remarks
To be implemented by the deriving class.
Win32FlavorElement
Gets an equivalent Ranorex.Plugin.IWin32FlavorElementEquivalent.Win32FlavorElement or null if not available.
public virtual Win32FlavorElement Win32FlavorElement { get; }
Property Value
Methods
GetAttributeValue(Element, string)
Needs to be implemented for attribute value read access.
public override object GetAttributeValue(Element element, string name)
Parameters
Returns
- object
The attribute value.
GetDynamicDescriptors(out IList<AttributeDescriptor>, out IList<ActionDescriptor>)
Gets the descriptors for the dynamic attributes and actions that the element supports.
public override void GetDynamicDescriptors(out IList<AttributeDescriptor> attributes, out IList<ActionDescriptor> actions)
Parameters
attributesIList<AttributeDescriptor>The dynamic attributes that the element supports.
actionsIList<ActionDescriptor>The dynamic actions that the element supports.
Remarks
The default implementation returns empty lists for attributes and
actions. Any overriding method should fill the returned lists.
InvokeAction(Element, string, object[])
Needs to be implemented for element action invocation.
public override object InvokeAction(Element element, string name, object[] args)
Parameters
elementElementThe element instance used.
namestringThe name of the action (lowercased).
argsobject[]A list of invocation parameters.
Returns
SetAttributeValue(Element, string, object)
Needs to be implemented for attribute value write access.
public override void SetAttributeValue(Element element, string name, object value)