summaryrefslogtreecommitdiffstats
path: root/uitest/demo_ui/treelist.py
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/demo_ui/treelist.py')
-rw-r--r--uitest/demo_ui/treelist.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/demo_ui/treelist.py b/uitest/demo_ui/treelist.py
index 91c18ea7d299..cbda8e2c1532 100644
--- a/uitest/demo_ui/treelist.py
+++ b/uitest/demo_ui/treelist.py
@@ -8,7 +8,7 @@
from libreoffice.uno.propertyvalue import mkPropertyValues
from uitest.uihelper.calc import enter_text_to_cell
-from uitest.uihelper.common import get_state_as_dict
+from uitest.uihelper.common import get_state_as_dict, select_pos
from uitest.framework import UITestCase
@@ -28,7 +28,7 @@ class TreeListTest(UITestCase):
xFunctionDlg = self.xUITest.getTopFocusWindow()
xTabs = xFunctionDlg.getChild("tabs")
- xTabs.executeAction("SELECT", mkPropertyValues({"POS":"1"}))
+ select_pos(xTabs, "1")
xTreelist = xTabs.getChild("struct")