Skip to content

"Tree Node Popup Menu Item Should Be {Enabled | Disabled}" fails if screen is locked #44

Description

@eduardhc

The two keywords above seem to fail (at least, on SwingLibrary 1.6.0 under Linux) if the screen has been locked (i.e. due to screensaver being triggered) during a test execution. The keyword fails with the following error message:

"TestFailedException: caused by: java.lang.RuntimeException: No popup responded to POPUP_MASK at (87,255) on 'configuration tree' (JTree)"

A little research suggests that it might be related to the fact that implementation for these keywords attempts to close the popup menu (after checking item status) by sending an ESC(27) key. This is probably failing due to screen being locked, but we can't tell for sure.

Affected file / line:
org.robotframework.swing.keyword.tree.TreeNodePopupUpKeyWords.java:103

Kind regards,
Eduard Huguet

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions