diff options
Diffstat (limited to 'uitest/demo_ui')
-rw-r--r-- | uitest/demo_ui/radiobutton.py | 2 | ||||
-rw-r--r-- | uitest/demo_ui/tabdialog.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/uitest/demo_ui/radiobutton.py b/uitest/demo_ui/radiobutton.py index 34c6dee6972f..bb2f5bd07440 100644 --- a/uitest/demo_ui/radiobutton.py +++ b/uitest/demo_ui/radiobutton.py @@ -33,7 +33,7 @@ class RadioButtonTest(UITestCase): xNegativeNumRedCB.executeAction("CLICK",tuple()) okBtn = xCellsDlg.getChild("ok") - okBtn.executeAction("CLICK", tuple()) + self.ui_test.close_dialog_through_button(okBtn) self.ui_test.close_doc() diff --git a/uitest/demo_ui/tabdialog.py b/uitest/demo_ui/tabdialog.py index f9251178d259..ed46379ab05b 100644 --- a/uitest/demo_ui/tabdialog.py +++ b/uitest/demo_ui/tabdialog.py @@ -22,7 +22,7 @@ class TabDialogTest(UITestCase): select_pos(xCellsDlg, "1") xOkBtn = xCellsDlg.getChild("ok") - xOkBtn.executeAction("CLICK", tuple()) + self.ui_test.close_dialog_through_button(xOkBtn) self.ui_test.close_doc() @@ -38,7 +38,7 @@ class TabDialogTest(UITestCase): xCellsDlg.executeAction("SELECT", propsUNO) xOkBtn = xCellsDlg.getChild("ok") - xOkBtn.executeAction("CLICK", tuple()) + self.ui_test.close_dialog_through_button(xOkBtn) self.ui_test.close_doc() |