会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
奔跑的蜗牛
博客园
首页
新随笔
联系
订阅
管理
2022年3月8日
Appium+ios环境搭建
摘要: appium 环境搭建 安装homebrew(Mac OSX上的软件包管理工具) $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 安装libimo
阅读全文
posted @ 2022-03-08 14:35 奔跑的蜗哞
阅读(320)
评论(0)
推荐(0)
2021年11月29日
appium报错Message: Cannot set the element to ‘XXXX’. Did you interact with the correct element?
摘要: appium+python+android 在定位到模块输入内容的时候遇到了一个问题 send_keys报错 appium报错Message: Cannot set the element to ‘XXXX’. Did you interact with the correct element? 查
阅读全文
posted @ 2021-11-29 12:37 奔跑的蜗哞
阅读(754)
评论(0)
推荐(0)
2021年11月22日
git命令合集
摘要: ##快捷键 ##一. 快捷键 1. 清屏快捷键 control+L 2. vim快捷操作 * control+b 往上翻页 * Control+f 往下翻页 * shift+g 回到末尾 3. oh my sh(https://ohmyz.sh/) 4. 数据库查询工具 Data grip 5. c
阅读全文
posted @ 2021-11-22 11:29 奔跑的蜗哞
阅读(591)
评论(0)
推荐(0)
adb常用命令大全——查看手机设备信息
摘要: 查看手机型号 adb shell getprop ro.product.model 查看电池状况 adb shell dumpsys battery 其中 scale 代表最大电量,level 代表当前电量。上面的输出表示还剩下 50% 的电量。 查看分辨率 adb shell wm size 设备
阅读全文
posted @ 2021-11-22 11:07 奔跑的蜗哞
阅读(2923)
评论(0)
推荐(0)
2021年11月19日
appium1-macOS10.12下如何丝滑的使用appium?
摘要: 1、下载或者更新Homebrew:homebrew官网 macOS 不可或缺的套件管理器 $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" #下载
阅读全文
posted @ 2021-11-19 20:47 奔跑的蜗哞
阅读(141)
评论(0)
推荐(0)
2021年11月16日
appium滚动查找屏幕外的控件
摘要: 嗯,还是把自己做的实验保存一下 Appium1.12.1+python2.7 实验滚动,查找屏幕外控件以及控制seekbar scroll() 是根据页面中两个元素位置之间的距离进行滑动。 滑动寻找屏幕外的特定元素,Python可以用find_element_by_android_uiautomat
阅读全文
posted @ 2021-11-16 23:15 奔跑的蜗哞
阅读(381)
评论(0)
推荐(0)
appium ios 相对坐标点击和控件滑动操作
摘要: 环境: 系统:ios 10.13.6 (17G12034) appium:1.14.0 xcode:10.1 iphone:iphone7 12.4 在尝试使用driver.tap([(a,b)],500)做点击操作报错(复制了一个别人的,自己的当时没有存,大致格式就是这样): WebDriverE
阅读全文
posted @ 2021-11-16 17:38 奔跑的蜗哞
阅读(567)
评论(0)
推荐(0)
2021年11月5日
关于UI自动化IOS元素定位方法说明
摘要: 1. 元素属性介绍 下图是通过weditor定位的微博的“我的钱包”,各属性如下图: className:元素类型,如:XCUIElementTypeButton isEnabled:元素是否可点击,一般值为1或者0 isVisible:元素是否可见,一般值为1或者0 value: 一般不用 lab
阅读全文
posted @ 2021-11-05 15:48 奔跑的蜗哞
阅读(805)
评论(1)
推荐(0)
2021年8月25日
python如何data格式和时间戳的转换
摘要: Python 获取几天前的时间 计算几天前并转换为指定格式。 import time import datetime # 先获得时间数组格式的日期 threeDayAgo = (datetime.datetime.now() - datetime.timedelta(days = 3)) # 转换为
阅读全文
posted @ 2021-08-25 14:04 奔跑的蜗哞
阅读(625)
评论(0)
推荐(0)
2021年8月24日
Python获取当前时间或者当前时间戳【转】
摘要: 取得时间相关的信息的话,要用到python time模块,python time模块里面有很多非常好用的功能,你可以去官方文档了解下,要取的当前时间的话,要取得当前时间的时间戳,时间戳好像是1970年到现在时间相隔的时间。你可以试下下面的方式来取得当前时间的时间戳:import timeprint
阅读全文
posted @ 2021-08-24 18:18 奔跑的蜗哞
阅读(516)
评论(0)
推荐(0)
下一页
公告