appium代码实战
文章平均质量分 60
筑梦流年
这个作者很懒,什么都没留下…
展开
-
appium+python官方sample code(一)
下面分析下appium官方的一些代码: import os from time import sleep import unittest from appium import webdriver # Returns abs path relative to this file and not cwd PATH = lambda p: os.path.abspath(原创 2017-09-02 21:36:23 · 649 阅读 · 0 评论 -
appium+python官方sample code(二)
这是本系列的第二篇 import os import unittest from appium import webdriver from time import sleep # Returns abs path relative to this file and not cwd PATH = lambda p: os.path.abspath( os.path.j原创 2017-09-02 21:38:16 · 433 阅读 · 0 评论 -
appium+python官方sample code(三)
本系列第三篇 from appium import webdriver from appium import SauceTestCase, on_platforms app = "http://appium.s3.amazonaws.com/NotesList.apk" platforms = [{ "platformName": "Android",原创 2017-09-02 21:40:39 · 705 阅读 · 0 评论 -
appium+python官方sample code(四)
本系列第四篇android_webview.py import os import glob import unittest from time import sleep from appium import webdriver PLATFORM_VERSION = '4.4' class AndroidWebViewTests(unittest.TestCase原创 2017-09-02 21:43:15 · 313 阅读 · 0 评论 -
appium+python官方sample code(五)
本系列第五篇:android_gestures_sauce.py from appium import webdriver from appium import SauceTestCase, on_platforms from appium.webdriver.common.touch_action import TouchAction from appium.webdriver.c原创 2017-09-02 21:45:10 · 410 阅读 · 0 评论 -
appium+python官方sample code(六)
本系列第六篇:android_complex.py import os import unittest from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from appium.webdriver.common.multi_action import M原创 2017-09-02 21:47:03 · 354 阅读 · 0 评论 -
appium python-client代码分析(一)
https://github.com/appium/python-client/tree/master/appium 先看看代码的结构: common Numerous fixes 3 years ago webdriver Add method for getting current package 3 months ago原创 2017-09-02 21:55:54 · 812 阅读 · 0 评论 -
appium python-client代码分析(二)
先来看最重要的一个文件:webdriver.py #!/usr/bin/env python # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obta原创 2017-09-02 21:57:43 · 958 阅读 · 1 评论 -
appium python-client代码分析(三)
分析下一些元素:element https://github.com/appium/python-client/blob/master/appium/webdriver/webelement.py #!/usr/bin/env python # Licensed under the Apache License, Version 2.0 (the "License"); # you原创 2017-09-02 22:01:28 · 865 阅读 · 0 评论