GDATASoftwareAG / robotframework-flaui

Windows user interface automation library for Robot-Framework. FlaUILibrary is a wrapper for the FlaUI automation library.
MIT License
58 stars 12 forks source link

Create screenshots from AutomationElements #193

Closed HackXIt closed 3 weeks ago

HackXIt commented 2 months ago

Creating screenshots of the whole screen is not always desired, especially since the current wrapper implementation does not allow for screen selection or any other modifications related to the available CaptureSettings in FlaUI.

It is fairly easy to use the existing functionality for finding an Element based on its XPATH and the passing that found AutomationElement to the Screenshot capture functionality.


I am already working on a PR to implement this functionality into this library in my fork: https://github.com/HackXIt/robotframework-flaui

The PR is also related to #192