activities
latest
false
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática.
Actividades del flujo de trabajo
Last updated 22 de oct. de 2024

Verify Documents Equivalence

UiPath.Testing.Activities.VerifyDocumentsEquivalence

Descripción

Verifies if two documents are equivalent, using multiple comparison options, including the following comparison types:
  • Comparing words.
  • Comparing lines.
  • Comparing characters as char variables.

The Verify Documents Equivalence activity also allows you to exclude specific sections from the comparison process, using predefined rules of type regular expression (regex) and wildcard.

Compatibilidad de proyectos

Windows-Legacy | Windows | Cross-platform

Configuración

Panel del Diseñador
  • Baseline Path - The path of the base document that is used as a reference for comparison.
  • Target Path - The path of the document that is compared against the base document.
  • Output Folder Path - The folder path where various output files will be saved.
Panel de propiedades

Entrada

  • Comparison Type - The type of comparison to use when comparing documents. The following options are available:
    • Line - Compares the documents line by line.
    • Word - Compares the documents word by word.
    • Character - Compares the documents character by character.
  • Rules - The list of rules that you want to use to exclude certain sections from comparison. Input the comparison rule output variables you created using the Create Comparison Rule activity.

    Select Open Collection Builder and add the rules as entries.

  • ContinueOnFailure - 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 stops. If the value is set to True, the execution of the project continues regardless of any error.
  • Ignore Identical Items - If set to True, identical lines are ignored during comparison.
  • Include Images - If set to True, the comparison includes images, as well.
  • Ignore Images Location - If set to True, the position and page of images are ignored when comparing the documents.

Salida

  • Differences - Represents a list of differences resulted from the comparison process. Each Difference comprises an Operation, which signals the type of modification (possible values are Equal, Inserted, or Deleted) and a Text element that highlights the specific content correlated with the operation.
  • Result - Defines the final result. It displays True if the verification succeeds and the documents are equivalent. It displays False if the verification does not succeed, indicating differences between the documents.
  • Descripción
  • Compatibilidad de proyectos
  • Configuración

¿Te ha resultado útil esta página?

Obtén la ayuda que necesitas
RPA para el aprendizaje - Cursos de automatización
Foro de la comunidad UiPath
Uipath Logo White
Confianza y seguridad
© 2005-2024 UiPath. Todos los derechos reservados.