diff options
-rw-r--r-- | sw/qa/uitest/writer_tests3/hyperlinkdialog.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/qa/uitest/writer_tests3/hyperlinkdialog.py b/sw/qa/uitest/writer_tests3/hyperlinkdialog.py index 3fc53e712eae..ff1a30931b5a 100644 --- a/sw/qa/uitest/writer_tests3/hyperlinkdialog.py +++ b/sw/qa/uitest/writer_tests3/hyperlinkdialog.py @@ -102,10 +102,11 @@ class HyperlinkDialog(UITestCase): self.ui_test.execute_dialog_through_command(".uno:HyperlinkDialog") xDialog = self.xUITest.getTopFocusWindow() xHelp = xDialog.getChild("help") + xHelp.executeAction('FOCUS', tuple()) # Without the fix in place, this test would have crashed here self.ui_test.execute_blocking_action(xHelp.executeAction, - args=("TYPE", mkPropertyValues({"KEYCODE": "CTRL+h"})), dialog_element="cancel") + args=("CLICK", tuple()), dialog_element="cancel") self.ui_test.close_doc() # vim: set shiftwidth=4 softtabstop=4 expandtab: |