GDATASoftwareAG / robotframework-flaui

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

#169 Screenshots redesign #184

Closed Nepitwin closed 6 months ago

Nepitwin commented 6 months ago

Only FlaUILibrary screenshots will be created. Removed blacklist and whitelist for easier screenshot handling.

Nepitwin commented 6 months ago

Are we solving the nested screenshots problem in this commit?

Nested keywords such as Wait Until Keyword Succeeds no longer trigger a screenshot.

However, the correct behavior is that each FlaUI keyword should take a screenshot.

So we automatically no longer have multiple screenshots of each repeated keyword by any thirdparty robotframework keywords.

But we want all screenshots of all repetitions internally from Flaui.

The old behavior tries to handle this by blacklisting these keywords to avoid the creation of screenshots by builtins. This is no longer necessary here.