7
start_time = time.time()
10
class TestCaseUSCStartStop(unittest.TestCase):
13
ldtp.launchapp('software-center')
14
assert ldtp.waittillguiexist('frmUbuntuSoftwareCent*')
15
print sorted(ldtp.getapplist())
16
print ldtp.getmemorystat('xchat')
18
a = "Time taken for the frame to open is " + str(
19
time.time() - start_time)
23
ldtp.selectmenuitem('frmUbuntuSoftwareCent*', 'mnuClose')
24
assert ldtp.waittillguinotexist('frmUbuntuSoftwareCent*')
25
c = "This test took a total of " + str(time.time() - start_time)
27
print '\n'.join(self.msgs)
30
ldtp.waittillguiexist('frmUbuntuSoftwareCent*', 'btnAccessories')
31
assert ldtp.objectexist('frmUbuntuSoftwareCent*', 'btnAccessories')
32
b = "Time taken from start to find the Accessories button " + str(
33
time.time() - start_time)
37
if __name__ == "__main__":