7 srcdir = os.environ['srcdir']
9 from dogtail.procedural import *
11 run('evince', arguments=' '+srcdir+'/test-page-labels.pdf')
14 from dogtail.procedural import *
16 focus.application('evince')
17 focus.frame('test-page-labels.pdf')
18 click('File', roleName='menu')
19 click('Print...', roleName='menu item')
21 click('Pages:', roleName='radio button')
24 click('Page Setup', roleName='page tab', raw=True)
27 click('Print Preview', roleName='push button')
32 click('File', roleName='menu')
33 click('Close', roleName='menu item')