摘要: #coding:utf8 from appium import webdriver desired_caps = {} desired_caps['platformName'] = 'Android' desired_caps['platformVersion'] = '5.1.1' desired_caps['deviceName'] = 'Android Emulator' desired... 阅读全文
posted @ 2018-10-29 15:27 paulwang2018 阅读(130) 评论(0) 推荐(0) 编辑
摘要: #coding=utf8 import json import unittest class TestDictCompare(unittest.TestCase): def test_jsondiff_same(self): # self.maxDiff=None oldJson=json.loads('{"title":"com.tencent.new... 阅读全文
posted @ 2018-10-29 15:24 paulwang2018 阅读(887) 评论(0) 推荐(0) 编辑
摘要: #coding:utf-8 from appium import webdriver import time cap={ "platformName":"iOS", "platformVersion":"11.3", "deviceName":"iPad Air", "automationName":"XCUITest... 阅读全文
posted @ 2018-10-29 14:48 paulwang2018 阅读(3688) 评论(0) 推荐(0) 编辑