def setUp(self): super(MessageTest, self).setUp() d.wakeup() #d.start_activity(action='android.intent.action.DIAL', data='tel:13581739891', flags=0x04000000) d.press('back')\ .press('back')\ .press('home')
def testSendMessage1(self): #sys.stderr.write(str(d(text="Settings").click())) d.wakeup() #d.click(100, 200, waittime=2) #d.start_activity(action='android.intent.action.DIAL', data='tel:13581739891', flags=0x04000000) d.click('a.png', waittime=1, threshold=0.01)\ .expect('no_msg.png')\ .click('create_btn.png') if d.find('input_label.png'): d.click('input_label.png')\ .click('content_label.png') d.expect('send_btn.png')
def setUp(self): super(BrowserTest, self).setUp() d.wakeup() u.backHome(d)
def setUp(self): super(AngrybirdTest, self).setUp() #d.start_activity(action='android.intent.action.DIAL', data='tel:13581739891', flags=0x04000000) d.wakeup() u.backHome(d)
def setUp(self): super(WeiboTest, self).setUp() d.wakeup() u.backHome(d)
def setUp(self): super(Browser, self).setUp() #d.start_activity(action='android.intent.action.DIAL', data='tel:13581739891', flags=0x04000000) d.wakeup()
def setUp(self): super(MusicTest, self).setUp() d.wakeup() u.backHome(d)
def setUp(self): super(Phone, self).setUp() d.wakeup()