UiPath Documentation
activities
latest
false
Important :
Veuillez noter que ce contenu a été localisé en partie à l’aide de la traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.
UiPath logo, featuring letters U and I in white

Activités UIAutomation

Dernière mise à jour 24 avr. 2026

Obtenir l'attribut (Get Attribute)

UiPath.MobileAutomation.Activities.GetAttribute

Description

Récupère un attribut d'un élément d'IU spécifié.

Compatibilité du projet

Windows - Legacy | Windows

Propriétés

Module Designer
  • Target - Default is set to (null). Once the target is indicated, all properties regarding the element that was indicated are displayed. You can further create variables out of the displayed attributes of an indicated target.
    • Fuzzy selector - The parameters for the fuzzy selector.
    • SearchSteps - Select the methods used to identify targets and anchors from the dropdown list.
    • Sélecteur strict : le sélecteur généré pour l’élément indiqué. Pour apprendre à créer des variables à partir des attributs d’un sélecteur cible, consultez le Tutoriel Création de variables à partir des attributs du sélecteur .
  • Attribute - The retrieved attribute, stored in a string variable. This field supports only strings and String variables.
Panneau propriétés
Commun
  • ContinuerSurErreur (ContinueOnError) : spécifie si l’automatisation doit se poursuivre même lorsque l’activité génère une erreur. Ce champ prend uniquement en charge les valeurs booléennes (Vrai (True), Faux (False). La valeur par défaut est False. Par conséquent, si le champ est vide et qu’une erreur est générée, l’exécution du projet s’arrête. Si le champ indique au contraire True, l’exécution du projet se poursuit même en cas d’erreur.

    Remarque :

    Si cette activité est incluse dans Tenter de capturer (Try Catch) et que la valeur de la propriété Poursuite sur erreur (ContinueOnError) est True, aucune erreur n'est détectée lors de l'exécution du projet.

  • DelayAfter - Delay time (in seconds) after executing the activity. The default value is 0.3 seconds.

  • DelayBefore - Delay time (in seconds) before the activity begins performing any operations. The default value is 0.2 seconds.

  • NomAffichage (DisplayName) - Nom affiché de l'activité.

  • Timeout - specifies the amount of time (in seconds) to wait for a specified element to be found before an error is thrown. The default value is 30 seconds.

Entrée
  • AttributeName - The name of the attribute you want to retrieve from the specified UI element.
  • Target - Default is set to (null). Once the target is indicated, all properties regarding the element that was indicated are displayed. You can further create variables out of the displayed attributes of an indicated target.
    • Fuzzy selector - The parameters for the fuzzy selector.
    • SearchSteps - Select the methods used to identify targets and anchors from the dropdown list.
    • Sélecteur strict : le sélecteur généré pour l’élément indiqué. Pour apprendre à créer des variables à partir des attributs d’un sélecteur cible, consultez le Tutoriel Création de variables à partir des attributs du sélecteur .
  • Tap offset (Optional) - Set the parameters of your target element. This property is triggered when you enable the Target.
    • Anchoring point - Select the default positioning of the anchor point.
    • CoordinateType - Choose how to set the target coordinates. You can select one of the following:
      • PhysicalPixels - Use this option for workflows using a single device. Since the indication corresponds to actual pixels on the screen, it's different for each device.
      • DeviceIndependentPixels - Use this option to run workflows on devices with similar density screens. Device-independent pixels means that you are indicating a target based on the pixel density of the selected screen area.
    • Offset X - Horizontal displacement of the targeted area selected in the CoordinateType field.
    • Offset Y - Vertical displacement of the targeted area selected in the CoordinateType field.
Divers
  • Privé (Private) - Si cette option est sélectionnée, les valeurs des variables et des arguments ne sont plus enregistrées au niveau Détaillé (Verbose).
Sortie
  • Attribute - The retrieved attribute, stored in a string variable. This field supports only strings and String variables.
  • Description
  • Compatibilité du projet
  • Propriétés

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour