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-17 21:10:31 +0200 |
commit | 3c8fa9fb5bbd7c1293f7885b529a95063dbf7252 (patch) | |
tree | b5cba16c613aae22f27b5588bba3f86498ac4908 | |
parent | 89cf0404799344296771e1cbe8ec36f9d2604bdd (diff) |
uitest: the demo is supposed to show how to goto the page start
Change-Id: I61d2a74b50be2ab8b5077344ecd41cfa0cba2e64
-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() |