diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-05-21 01:50:13 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-06-18 17:02:34 +0200 |
commit | c1317d040c93816021268426d593b3e2cae871fe (patch) | |
tree | 02e91b19b9967e6e5362fab73aadfcb044c99fee /uitest/writer_tests | |
parent | 3ba10adaa853da547aa90d69b666ada4e683fe32 (diff) |
uitest: the demo is supposed to show how to goto the page start
Change-Id: I61d2a74b50be2ab8b5077344ecd41cfa0cba2e64
Diffstat (limited to 'uitest/writer_tests')
-rw-r--r-- | uitest/writer_tests/start.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/uitest/writer_tests/start.py b/uitest/writer_tests/start.py index a9b722adc4cb..a0fe7d2b96aa 100644 --- a/uitest/writer_tests/start.py +++ b/uitest/writer_tests/start.py @@ -75,6 +75,8 @@ def goto_first_page(xContext): xWriterEdit.executeAction("TYPE", mkPropertyValues({"KEYCODE": "RETURN"})) state = get_state_as_dict(xWriterEdit) + xWriterEdit.executeAction("GOTO", mkPropertyValues({"PAGE": "1"})) + print(state) time.sleep(2) ui_test.close_doc() |