Get Associated Element (win)
Function Description
TIP
Get the associated element of an element in the specified window (parent, child, adjacent elements)
Configuration Item Description
General
Command Input
Window object
TWinObj
: Enter a captured window objectOperation target
TTarget
: Select the window element to operate onAssociation method
Integer
: Select the association method for the elementChild element acquisition method
integer
: Child element acquisition methodChild element position
Integer
: Index position within the parent element, starting from 0Adjacent direction
integer
: Select the adjacent direction
Command Output
Save window element to
TUiElement
: This variable is used to save the obtained element objectSave window element list to
TList<TUiElement>
: This variable is used to save the obtained element object list
Advanced
Delay Before(milliseconds)
Integer
: The waiting time before instruction executionWait for element to exist (milliseconds)
Integer
: Timeout for waiting for the target associated element to exist
Error Handling
Print Error Logs
Boolean
: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.Handling Method
Integer
:Terminate Process: If the command fails, terminate the process.
Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.
Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.
Usage Example
Process logic description:
Common Errors and Handling
None
Frequently Asked Questions
None