示例#1
0
文件: message.py 项目: hongbinbao/s4
 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')
示例#2
0
    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')
示例#3
0
 def setUp(self):
     super(BrowserTest, self).setUp()
     d.wakeup()
     u.backHome(d)
示例#4
0
 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)
示例#5
0
文件: weibo.py 项目: shaofang/falcon
 def setUp(self):
     super(WeiboTest, self).setUp()
     d.wakeup()
     u.backHome(d)
示例#6
0
 def setUp(self):
     super(Browser, self).setUp()
     #d.start_activity(action='android.intent.action.DIAL', data='tel:13581739891', flags=0x04000000)
     d.wakeup()
示例#7
0
文件: music.py 项目: shaofang/falcon
 def setUp(self):
     super(MusicTest, self).setUp()
     d.wakeup()
     u.backHome(d)
示例#8
0
 def setUp(self):
     super(Phone, self).setUp()
     d.wakeup()