From dc0b8781552c221ac9910faf70224f2ac506775d Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Wed, 26 Jun 2019 10:15:07 +0800 Subject: force get focus on atril when testing --- test/test2.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test/test2.py') 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') -- cgit v1.2.1