diff options
author | Wu Xiaotian <[email protected]> | 2019-06-26 10:15:07 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-07-01 16:22:46 +0200 |
commit | dc0b8781552c221ac9910faf70224f2ac506775d (patch) | |
tree | 447e06dbb0518d7355e0708a01a2e6297adf39a3 /test/test5.py | |
parent | cb4293fe6cb01c7ffcb890a22e91ed0702d2656f (diff) | |
download | atril-dc0b8781552c221ac9910faf70224f2ac506775d.tar.bz2 atril-dc0b8781552c221ac9910faf70224f2ac506775d.tar.xz |
force get focus on atril when testing
Diffstat (limited to 'test/test5.py')
-rwxr-xr-x | test/test5.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test5.py b/test/test5.py index 87729995..48218881 100755 --- a/test/test5.py +++ b/test/test5.py @@ -10,11 +10,13 @@ from dogtail.procedural import * run('atril', arguments=' '+srcdir+'/test-page-labels.pdf') +focus.application('atril') focus.widget('page-label-entry') focus.widget.text = "iii" activate() if focus.widget.text != "III": + focus.application('atril') click('File', roleName='menu') click('Close', roleName='menu item') exit (1) |