diff options
Diffstat (limited to 'uitest/demo_ui/char_dialog.py')
-rw-r--r-- | uitest/demo_ui/char_dialog.py | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/uitest/demo_ui/char_dialog.py b/uitest/demo_ui/char_dialog.py index c261dda1e3a9..5dd0212ee719 100644 --- a/uitest/demo_ui/char_dialog.py +++ b/uitest/demo_ui/char_dialog.py @@ -11,16 +11,18 @@ from uitest.framework import UITestCase class CharDialogText(UITestCase): def test_select_char(self): - with self.ui_test.create_doc_in_start_center("calc"): + self.ui_test.create_doc_in_start_center("calc") - self.ui_test.execute_dialog_through_command(".uno:InsertSymbol") - xCharDialog = self.xUITest.getTopFocusWindow() + self.ui_test.execute_dialog_through_command(".uno:InsertSymbol") + xCharDialog = self.xUITest.getTopFocusWindow() - xCharSet = xCharDialog.getChild("showcharset") + xCharSet = xCharDialog.getChild("showcharset") - xCharSet.executeAction("SELECT", mkPropertyValues({"COLUMN": "2", "ROW": "2"})) + xCharSet.executeAction("SELECT", mkPropertyValues({"COLUMN": "2", "ROW": "2"})) - xCancelBtn = xCharDialog.getChild("cancel") - self.ui_test.close_dialog_through_button(xCancelBtn) + xCancelBtn = xCharDialog.getChild("cancel") + self.ui_test.close_dialog_through_button(xCancelBtn) + + self.ui_test.close_doc() # vim: set shiftwidth=4 softtabstop=4 expandtab: |