diff options
Diffstat (limited to 'uitest/calc_tests')
-rw-r--r-- | uitest/calc_tests/create_range_name.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/uitest/calc_tests/create_range_name.py b/uitest/calc_tests/create_range_name.py index 5f3b8c381d61..1ab7805bf970 100644 --- a/uitest/calc_tests/create_range_name.py +++ b/uitest/calc_tests/create_range_name.py @@ -8,7 +8,7 @@ from libreoffice.uno.propertyvalue import mkPropertyValues from uitest.framework import UITestCase -from uitest.uihelper.common import type_text +from uitest.uihelper.common import type_text, select_pos class CreateRangeNameTest(UITestCase): @@ -40,9 +40,7 @@ class CreateRangeNameTest(UITestCase): type_text(xEdit, "simpleRangeName") xScope = xAddNameDlg.getChild("scope") - props = {"POS": "1"} - scopeProps = mkPropertyValues(props) - xScope.executeAction("SELECT", scopeProps) + select_pos(xScope, "1") xAddBtn = xAddNameDlg.getChild("add") xAddBtn.executeAction("CLICK", tuple()) |