Die Anleitung zu UiPath-Aktivitäten (The UiPath Activities Guide)

Screenshot anfertigen (Take Screenshot)



Takes a screenshot of a specified UI element or application and saves it as an image file. This activity must be added inside a Use Application/Browser activity.

In the body of the activity, use the radio buttons to choose the output type, which can be:

  • File - Saves the screenshot to file at a specified location.
  • Image - Saves the screenshot to the indicated image.
  • Clipboard - Saves the screenshot as an image to clipboard for later use.


  • Fortfahren bei Fehler (Continue On Error) – Gibt an, ob die Automation fortgesetzt werden soll, auch wenn die Aktivität einen Fehler ausgibt. Dieses Feld unterstützt nur boolesche Werte (wahr, falsch). Der Standardwert ist falsch. Als Ergebnis ist das Feld leer und ein Fehler wird ausgegeben; die Ausführung des Projekts wird angehalten. Wenn der Wert auf Wahr gesetzt wird, wird die Ausführung des Projekts unabhängig von Fehlern fortgesetzt.
  • Delay before - Delay (in seconds) between the time the previous activity is completed and the time this activity begins performing any operations. The default value is 0.2 seconds. Adding a delay between activities ensures that one activity has enough time to complete before the next activity begins.
  • Delay before screenshot - Delay (in seconds) between the time the element is brought into the foreground and the time the screenshot is taken. The default value is 0.2 seconds.
  • DisplayName - The name displayed for the activity in the Designer panel. A display name is automatically generated when you indicate a target.
  • Timeout - Specify a number of seconds for which to wait for the activity to be executed before throwing an error. The default value is 30 seconds.


  • Auto increment - Select what to append to the filename when saving the screenshot in case of filename conflicts. For example, if a file with the same name as the one you save already exists, choosing Index keeps the file name, creating a new file for each screenshot and adding an index number to each, consecutively. The options are None (if a file with the same name already exists, replace it), Index (add a number to the filename, for example screenshot (1).png), or DateTime (add the date and time when the screenshot is taken to the filename in the format YYYY.MM.DD at HH.MM.SS).
  • File name - The name of the file where the screenshot of the specified UI elemend will be saved.
  • Target - Before indicating o