summaryrefslogtreecommitdiff
path: root/scripts/zen-installer.py
blob: 793b6294cb4585a55c03ae1101aeccc793f2ac46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/python

import string, sys, os
from ldtp import *
from ldtputils import *
from A11yTestUtils import *

program_name = 'zen-installer'
window_title = 'Software Installer'

a11y_test_init (program_name)

guiexist (window_title)

a11y_scan_window (window_title)

click (window_title, 'btnConfigure')
a11y_scan_window ('frmConfiguration')
time.sleep (1)
click ('frmConfiguration', 'btnAddService')
time.sleep (1)
#a11y_scan_dialog ('dlgAddService', 'btnCancel')
click ('frmConfiguration', 'btnClose')

click (window_title, 'btnClose')

a11y_test_shutdown ()