上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 30 下一页
摘要: from lib.appController import driver_queuefrom lib.pyapp import Pyappfrom lib.logger import loggerclass BasePage(object): def __init__(self, driver=No 阅读全文
posted @ 2018-10-06 22:26 laosun0204 阅读(179) 评论(0) 推荐(0)
摘要: import osfrom lib.path import APP_PATHfrom lib.path import APP_PICTURE_PATHimport yamlfrom lib.logger import loggerclass Tool(object): @property def a 阅读全文
posted @ 2018-10-06 22:22 laosun0204 阅读(166) 评论(0) 推荐(0)
摘要: from selenium import webdriverfrom selenium.webdriver.common.action_chains import ActionChainsfrom selenium.webdriver.support import expected_conditio 阅读全文
posted @ 2018-10-06 22:13 laosun0204 阅读(197) 评论(0) 推荐(0)
摘要: from lib.pyse import Pysefrom selenium.webdriver.support import expected_conditions as ECfrom selenium.webdriver.support.ui import WebDriverWaitfrom a 阅读全文
posted @ 2018-10-06 22:11 laosun0204 阅读(773) 评论(0) 推荐(0)
摘要: import osBASE_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))# 配置文件的信息APP_PATH = os.path.join(BASE_PATH, 'conf', 'appController.yml 阅读全文
posted @ 2018-10-06 21:59 laosun0204 阅读(171) 评论(0) 推荐(0)
摘要: from logging import handlersimport loggingfrom lib.path import SYSTEM_PATHclass Logger(object): __instance = None def __new__(cls, *args, **kwargs): i 阅读全文
posted @ 2018-10-06 21:58 laosun0204 阅读(272) 评论(0) 推荐(0)
摘要: from lib.tool import Toolfrom appium import webdriverfrom lib.logger import loggerfrom lib.path import LOGPATH, APPPICTUREPATHimport osimport timeimpo 阅读全文
posted @ 2018-10-06 21:54 laosun0204 阅读(245) 评论(0) 推荐(0)
摘要: tester:# 通用的配置 # appium专用输入法 unicodeKeyboard: True # 结束运行后重置为原来的输入法 resetKeyboard: True # 是否清除数据启动 noReset: False# app # appPackage: com.android.brows 阅读全文
posted @ 2018-10-06 21:49 laosun0204 阅读(309) 评论(0) 推荐(0)
摘要: from lib.path import APP_CASE, APP_REPORT, EMAIL_INFOimport unittestfrom lib.appController import Controllerfrom BeautifulReport import BeautifulRepor 阅读全文
posted @ 2018-10-06 21:46 laosun0204 阅读(291) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-10-06 21:41 laosun0204 阅读(299) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 30 下一页