会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
天际流云
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2018年6月28日
python 中json和字符串互相转换
摘要: string =" { "status": "error", "messages": ["Could not find resource or operation 'BZK1.MapServer' on the system."], "code": 404 }" print '对象:' string
阅读全文
posted @ 2018-06-28 10:54 天际流云
阅读(65872)
评论(1)
推荐(1)
2018年6月21日
appium获取元素属性
摘要: 乙醇的教程 https://testerhome.com/easonhan007/topics 1、获取 content-desc 的方法为 get_attribute("name") ,而且还不能保证返回的一定是 content-desc (content-desc 为空时会返回 text 属性值
阅读全文
posted @ 2018-06-21 09:43 天际流云
阅读(826)
评论(1)
推荐(0)
2018年6月16日
appmw
摘要: # coding:utf-8 from appiumServer import AppiumServer from stfConnect import stfConnect from adbCom import adbCommand import time,os def startAppium(connName,taskTempDir): s=AppiumServer(connNam...
阅读全文
posted @ 2018-06-16 17:28 天际流云
阅读(198)
评论(0)
推荐(0)
ipcookie
摘要: import random,time,sys,os from selenium import webdriver from _weakref import proxy import ssl import json sys.path += ["C:\\01mywork\\workspace\\TestAutomationForIT5\\TOMTOP\\Tools\\auto.test-0.0.1...
阅读全文
posted @ 2018-06-16 17:28 天际流云
阅读(579)
评论(0)
推荐(0)
appm
摘要: #!/bin/env python #-*- encoding=utf8 -*- import random,os,sys import ip_cookie from time import * from appium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.sup...
阅读全文
posted @ 2018-06-16 17:27 天际流云
阅读(728)
评论(0)
推荐(0)
orderzmz
摘要: #-*- coding:utf-8 -*-import APPMethod,PublicMethod,osfrom appium import webdriverfrom TOMTOP.androidtest import *from time import *class Order(): def
阅读全文
posted @ 2018-06-16 17:26 天际流云
阅读(122)
评论(0)
推荐(0)
2018年6月12日
zhilianceshi
摘要: 1 #-*- coding:utf-8 -*- 2 from selenium import webdriver 3 import requests 4 from time import * 5 6 class Zhilian(): 7 def __init__(self,keywords,education,working_life,update_date): 8 ...
阅读全文
posted @ 2018-06-12 23:09 天际流云
阅读(185)
评论(0)
推荐(0)
2018年5月28日
鼠标中轴滚动&键盘输入
摘要: python模拟鼠标中轴滚动 网上对这个说的不多,自己搜了些帖子,写下自己的经验: 需要用到的模块win32api、win32con,安装pywin32即可 下载地址:http://download.csdn.net/detail/clean_water/9759816 下面这个方法可模拟鼠标中轴滑
阅读全文
posted @ 2018-05-28 12:29 天际流云
阅读(1237)
评论(0)
推荐(0)
2018年5月5日
下载最新版本火狐浏览器,并且下载geckodriver.exe
摘要: 2、在火狐浏览器中执行,需要下载最新版本火狐浏览器,并且下载geckodriver.exe,放入火狐安装目录,把目录加入path变量中即可。 第二种办法当然就是使用限制的selenium3.0的版本,由于不在默认支持火狐浏览器,且 Message: 'geckodriver' executable
阅读全文
posted @ 2018-05-05 10:44 天际流云
阅读(1527)
评论(0)
推荐(0)
Selenium 调用IEDriverServer打开IE浏览器(Unable to getbrowser & No browser is open)
摘要: IEDriverServer下载链接: http://selenium-release.storage.googleapis.com/index.html 无论是selenium2(WebDriver)还是selenium2Library,如果想要调用ie浏览器,均需以下步骤。 下载IEDriver
阅读全文
posted @ 2018-05-05 10:12 天际流云
阅读(646)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告