summaryrefslogtreecommitdiff
path: root/uitest/manual_tests
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-12-22 03:38:34 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-12-24 17:10:56 +0000
commit57e785e1cf52e422ac60cb259a2f53b696d3c4cc (patch)
treeff5adff271b61d0eb8e2c20839cf1a5a146ba47c /uitest/manual_tests
parent2dc821572e23dd0ac553e49244179e1e19d0df37 (diff)
uitest: add a helper method for typing text
Change-Id: If450e3f0ff1e2a8f33db05e9512a13e5771115a8 Reviewed-on: https://gerrit.libreoffice.org/32406 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'uitest/manual_tests')
-rw-r--r--uitest/manual_tests/calc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/manual_tests/calc.py b/uitest/manual_tests/calc.py
index 2f7f5f41cab2..2f4524134f77 100644
--- a/uitest/manual_tests/calc.py
+++ b/uitest/manual_tests/calc.py
@@ -10,7 +10,7 @@ from uitest.framework import UITestCase
from libreoffice.uno.propertyvalue import mkPropertyValues
from libreoffice.calc.document import get_cell_by_position
-from uitest.uihelper.common import get_state_as_dict
+from uitest.uihelper.common import get_state_as_dict, type_text
from uitest.uihelper.calc import enter_text_to_cell
from uitest.path import get_srcdir_url
@@ -36,7 +36,7 @@ class ManualCalcTests(UITestCase):
xDefineNameDlg = self.xUITest.getTopFocusWindow()
xEntryBox = xDefineNameDlg.getChild("entry")
- xEntryBox.executeAction("TYPE", mkPropertyValues({"TEXT": "my_database"}))
+ type_text(xEntryBox, "my_database")
xOkBtn = xDefineNameDlg.getChild("ok")
self.ui_test.close_dialog_through_button(xOkBtn)