• Greg Thompson's avatar
    Dump the contents of foreground windows that interfere with ShowAndFocusNativeWindow. · 7d036129
    Greg Thompson authored
    ShowAndFocusNativeWindow often fails on Win 10 bots with an indication
    that the foreground window is owned by OpenWith.exe. We don't understand
    why this dialog is onscreen. It appears to be leftover from a previous
    test on the bot. This CL here includes a textual representation of the
    UI accessibility tree of the foreground window when
    ShowAndFocusNativeWindow fails. This should shed some light on what the
    dialog is asking for. With luck, this understanding will help us find
    the culprit and/or close the window so that interactive_ui_tests can
    proceed.
    
    BUG=711256
    R=sky@chromium.org
    
    Change-Id: If81cca9f8a97c0e25d3810c47416ec37a8bdc2c7
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1609898
    Commit-Queue: Greg Thompson <grt@chromium.org>
    Auto-Submit: Greg Thompson <grt@chromium.org>
    Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#659203}
    7d036129
window_contents_as_string_win.h 1.32 KB