没懂。Markdown 是工具吗?
同问
感谢楼主的分享,比较全面,学习了
#3 楼 @chenhengjie123
好的,谢谢
期待干货!~30924405
log is here
:null,"sessionId":"1794bc16-2e4e-4342-bd10-3b3fbd661cc8"}
info: --> POST /wd/hub/session/1794bc16-2e4e-4342-bd10-3b3fbd661cc8/touch/perform {"sessionId":"1794bc16-2e4e-4342-bd10-3b3fbd661cc8","actions":[{"action":"press","options":{"y":497,"x":333}},{"action":"wait","options":{"ms":1000}},{"action":"moveTo","options":{"y":497,"x":50}},{"action":"release","options":{}}]}
info: [debug] Pushing command to appium work queue: "au.dragApp(333,497,50,497,1)"
info: [debug] Sending command to instruments: au.dragApp(333,497,50,497,1)
info: [debug] [INST] 2015-07-27 07:06:04 +0000 Debug: Got new command 6 from instruments: au.dragApp(333,497,50,497,1)
info: [debug] [INST] 2015-07-27 07:06:04 +0000 Debug: evaluating au.dragApp(333,497,50,497,1)
info: [debug] [INST] 2015-07-27 07:06:04 +0000 Debug: target.dragFromToForDuration({x:"333", y:"497"}, {x:"50", y:"497"}, "1")
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"},"isShuttingDown":false},"sessionId":"1794bc16-2e4e-4342-bd10-3b3fbd661cc8"}
info: <-- GET /wd/hub/status 200 1.317 ms - 178 {"status":0,"value":{"build":{"version":"1.4.8","revision":"c8179bd8352d3c62d98fa58b324491230df9342a"},"isShuttingDown":false},"sessionId":"1794bc16-2e4e-4342-bd10-3b3fbd661cc8"}
info: [debug] [INST] 2015-07-27 07:06:05 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-07-27 07:06:05 +0000 Debug: responding with:
info: [debug] [INST] 2015-07-27 07:06:05 +0000 Debug: Running system command #7: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":""}...
info: [debug] Socket data received (25 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":""}
info: [debug] Responding to client with success: {"status":0,"value":"","sessionId":"1794bc16-2e4e-4342-bd10-3b3fbd661cc8"}
info: <-- POST /wd/hub/session/1794bc16-2e4e-4342-bd10-3b3fbd661cc8/touch/perform 200 2218.502 ms - 74 {"status":0,"value":"","sessionId":"1794bc16-2e4e-4342-bd10-3b3fbd661cc8"}
info: --> POST /wd/hub/session/1794bc16-2e4e-4342-bd10-3b3fbd661cc8/timeouts/implicit_wait {"sessionId":"1794bc16-2e4e-4342-bd10-3b3fbd661cc8","ms":15000}
info: [debug] Set iOS implicit wait to 15000ms
info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"1794bc16-2e4e-4342-bd10-3b3fbd661cc8"}
info: <-- POST /wd/hub/session/1794bc16-2e4e-4342-bd10-3b3fbd661cc8/timeouts/implicit_wait 200 2.629 ms - 76 {"status":0,"value":null,"sessionId":"1794bc16-2e4e-4342-bd10-3b3fbd661cc8"}
def test_welcome(self):
# for swiping through welcome screen
print u"""欢迎页cases"""
self.driver.implicitly_wait(5)
for i in range(4):
print u'开始执行滑动', i+1
self.driver.swipe(start_x=333, start_y=497, end_x=50, end_y=497, duration=1000)
self.driver.implicitly_wait(15)
感谢分享,android 手机多得话,用这个工具还不错
有没有更多 python 写的工具呢?
很全,楼主辛苦
可以上传到 github 里,参考一下吗楼主?
我想说的是,想要做 UI 测试的前提,是项目的开发和测试选取框架,先做好底层的单元测试和接口测试,然后我得理解里,应用的大部分流程和功能比较稳定了,UI 测试才比较可行。 UI 测试在迭代里扮演着验证的角色,初期的版本改动过大就建立 UI 测试,成本太高了,个人愚见
感谢分享,我先看看内容去
请问楼主,fuzz 手机端怎么测试呢?
过来 mark 一下
感谢分享,ios 的设备怎么无线连接呢?
同问。。我这边实践的效果是只开了一个。