UiPath.CV.Activities.CVElementExistsWithDescriptor
Searches for a specified UI element on the screen in the foreground by using the UiPath Computer Vision neural network and returns a Boolean variable that states whether it was found or not.
属性
Common
- ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.
📘备注:
如果“Try Catch 异常处理”* 中包含该活动且“出错时继续”* 属性的值为“True”,则系统在执行项目时不会捕获任何错误。
- “在此之后延迟”****- 执行活动之后的延迟时间(以毫秒为单位)。
- “在此之前延迟”****- 活动开始执行任何操作之前的延迟时间(以毫秒为单位)。
- DisplayName - The display name of the activity.
输入
- Descriptor - The on-screen coordinates of the Target and each Anchor that is used, if any. These values are stored in a
CvDescriptorproprietary object. Once the Indicate On Screen feature is used at runtime, theCvDescriptoris automatically generated in this field and has the following structure:
Text
"Target: Image (14,61,105,54) OffsetPoint: (-10,-75)" +
"Anchor: Text 'Anchor1' (41,36,19,9)" +
"Anchor: Text 'Anchor2' (75,36,37,9)" +
- “超时(毫秒)”****- 指定最长等待时间(以毫秒为单位),如果超出该时间后活动并未运行,系统便会抛出错误。默认值为 30000 毫秒(30 秒)。
RPA之家(www.rpazj.com/)是中国具有影响力的R…
Misc
- Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
输出
- Result - A
Booleanvariable which states whether the element was found or not.
可重用区域
- “输入区域”****- 接收其他“计算机视觉”活动的目标,将其存储在“
Rectangle”变量中并用作此活动的目标。该字段用于将同一个目标从一个活动传递到另一个活动。该字段在设计期间尤为有用,因为它可让您更轻松地对同一个用户界面元素执行多个操作。若在该字段中设置某个变量,该活动的当前目标和锚点元素均会遭到禁用。该字段仅支持“Rectangle”变量。 - “输出区域”****- 将此活动的目标保存为“
Rectangle”变量。该字段用于将同一个目标从一个活动传递到另一个活动。该字段在设计期间尤为有用,因为它可让您更轻松地对同一个用户界面元素执行多个操作。