summaryrefslogtreecommitdiff
path: root/scripts/applet-show-desktop.py
blob: 585bd4aff4b933508de283eae939e99fc15603a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/python

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

program_name = 'applet-show-desktop'
applet_title = 'Show Desktop Button'

a11y_test_init (program_name, None, 1)

window_title = a11y_find_panel_with_applet (applet_title)

if (window_title != None):
    print applet_title + " found on " + window_title
else:
    print "No panel found with " + applet_title

a11y_test_shutdown ()