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 7 avr. 2026

Prendre une partie de capture d'écran

UiPath.MobileAutomation.Activities.TakeScreenshotPart

Description

Takes a screenshot of a predefined location on the mobile device screen with starting and ending points.

Use case

Utilisez l’activité Prendre une partie de capture d’écran pour effectuer une capture d’écran en forme de rectangle sur l’écran de votre appareil mobile. Par exemple, vous pouvez utiliser l'activité Tesseract OCR pour extraire le texte de l'écran de l'appareil mobile, comme illustré dans la capture d'écran suivante.

Assurez-vous de définir les propriétés suivantes :

  • Image in both Take Screenshot Part and Tessarect OCR.

  • Text for the Tesseract OCR output (e.g., outputText) and its corresponding variable as String in Data Manager.

    docs image

Compatibilité du projet

Windows - Legacy | Windows

Configuration

Module Designer
  • Indiquer la région : indiquez la partie de l'écran de l'appareil mobile dont vous souhaitez prendre une capture d'écran.
  • CoordinatesType - 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.
  • EndPointX - Set a screenshot ending point for your X axis on the device screen.
  • EndPointY - Set a screenshot ending point for your Y axis on the device screen.
  • StartPointX - Set a screenshot starting point for your X axis on the device screen.
  • StartPointY - Set a screenshot starting point for your Y axis on the device screen.
Panneau propriétés
Commun
  • 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.

    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
  • CoordinatesType - 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.
  • EndPointX - Set a screenshot ending point for your X axis on the device screen.
  • EndPointY - Set a screenshot ending point for your Y axis on the device screen.
  • StartPointX - Set a screenshot starting point for your X axis on the device screen.
  • StartPointY - Set a screenshot starting point for your Y axis on the device screen.
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
  • Screenshot part - The screenshot part of the mobile device, stored in an Image object. This field supports only Image variables.
  • Description
  • Use case
  • Compatibilité du projet
  • Configuration

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