diff options
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/calc_tests/about_test.py | 2 | ||||
-rw-r--r-- | uitest/demo_ui/hierarchy.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/uitest/calc_tests/about_test.py b/uitest/calc_tests/about_test.py index a5082ee6c8e2..c6dc75b939dc 100644 --- a/uitest/calc_tests/about_test.py +++ b/uitest/calc_tests/about_test.py @@ -17,7 +17,7 @@ class AboutDlgTest(UITestCase): xAboutDlg = self.xUITest.getTopFocusWindow() - xCloseBtn = xAboutDlg.getChild("close") + xCloseBtn = xAboutDlg.getChild("btnClose") self.ui_test.close_dialog_through_button(xCloseBtn) self.ui_test.close_doc() diff --git a/uitest/demo_ui/hierarchy.py b/uitest/demo_ui/hierarchy.py index 5f7b3c25bed6..f5434366fda4 100644 --- a/uitest/demo_ui/hierarchy.py +++ b/uitest/demo_ui/hierarchy.py @@ -27,7 +27,7 @@ class CheckBoxTest(UITestCase): print(json_content) print(json.dumps(json_content, indent=4)) - closeBtn = xAboutDlg.getChild("close") + closeBtn = xAboutDlg.getChild("btnClose") self.ui_test.close_dialog_through_button(closeBtn) self.ui_test.close_doc() |