summaryrefslogtreecommitdiff
path: root/test/test2.py
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-06-26 10:15:07 +0800
committerraveit65 <[email protected]>2019-07-01 16:22:46 +0200
commitdc0b8781552c221ac9910faf70224f2ac506775d (patch)
tree447e06dbb0518d7355e0708a01a2e6297adf39a3 /test/test2.py
parentcb4293fe6cb01c7ffcb890a22e91ed0702d2656f (diff)
downloadatril-dc0b8781552c221ac9910faf70224f2ac506775d.tar.bz2
atril-dc0b8781552c221ac9910faf70224f2ac506775d.tar.xz
force get focus on atril when testing
Diffstat (limited to 'test/test2.py')
-rwxr-xr-xtest/test2.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test2.py b/test/test2.py
index f4263e52..7e3a8e30 100755
--- a/test/test2.py
+++ b/test/test2.py
@@ -11,6 +11,7 @@ from dogtail.procedural import *
run('atril', arguments=' '+srcdir+'/test-encrypt.pdf')
# Try an incorrect password first
+focus.application('atril')
type('wrong password')
click('Unlock Document', roleName='push button')
focus.dialog('Enter password')