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-18 17:02:26 +0200 |
commit | 7ffaaf37c1e052339c1148283a773ce7e520739f (patch) | |
tree | eddba2e164b75d335bd58e4b0db93b030dbb3575 /uitest/calc_tests | |
parent | 4d7ace84c8b80177a5c8dae6f7ca9d8291fd2e5d (diff) |
uitest: split the demo
Change-Id: Iec2acce4e7777995d3e5a8e4bea5f069f579721d
Diffstat (limited to 'uitest/calc_tests')
-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) |