diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-05-20 05:11:39 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-06-17 21:10:20 +0200 |
commit | cbfe23e26c241b6427afc604dcf207cfbf47acee (patch) | |
tree | ad415d086528d96d0a9a85f39864139a6086e2b6 | |
parent | uitest: add a demo case for new keycodes (diff) | |
download | core-cbfe23e26c241b6427afc604dcf207cfbf47acee.tar.gz core-cbfe23e26c241b6427afc604dcf207cfbf47acee.zip |
uitest: split the demo
Change-Id: Iec2acce4e7777995d3e5a8e4bea5f069f579721d
-rw-r--r-- | uitest/calc_tests/gridwindow.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/uitest/calc_tests/gridwindow.py b/uitest/calc_tests/gridwindow.py index 642da4b6fc7d..b67275a231e3 100644 --- a/uitest/calc_tests/gridwindow.py +++ b/uitest/calc_tests/gridwindow.py @@ -32,6 +32,19 @@ def input(xContext): xGridWindow = xTopWindow.getChild("grid_window") + ui_test.close_doc() + +def special_keys(xContext): + xUITest = xContext.ServiceManager.createInstanceWithContext( + "org.libreoffice.uitest.UITest", xContext) + + ui_test = UITest(xUITest, xContext) + + ui_test.create_doc_in_start_center("calc") + xTopWindow = xUITest.getTopFocusWindow() + + xGridWindow = xTopWindow.getChild("grid_window") + selectProps = mkPropertyValues({"CELL": "C3"}) xGridWindow.executeAction("SELECT", selectProps) |