小肥羊要进步

上一页 1 2 3 4 5 6 7 8 ··· 27 下一页

2021年12月9日

Windows 无法成功安装 staging app(IPA文件) 到苹果手机

摘要: 1.内部测试的Staging app,通过xcode或者爱思助手都无法安装成功 2.百思不得其解 ,我用Mac 中的 idevices install 命令强制安装成功的 3.但是通过windows ,爱思助手如何成功安装IPA呢? 安装签名 将签名好的IPA staging app保存在桌面 导入 阅读全文

posted @ 2021-12-09 15:31 小肥羊要进步 阅读(246) 评论(0) 推荐(0)

2021年11月22日

警告框处理

摘要: 在 web 中,除了上面提到的元素和操作乊外,还有就是页面的提示框的处理了,页面 的警告框通常分为这几类 js alert 、 confirm 以及 prompt,这些警告框,我们都可以 通过 switch_to_alert()来处理。 对警告框的处理有以下几种:text 获叏警告框中的文本  a 阅读全文

posted @ 2021-11-22 17:33 小肥羊要进步 阅读(59) 评论(0) 推荐(0)

多层窗口定位&多层框架定位

摘要: 多层框架定位 导入 webdriver driver = webdriver.Firefox() 打开浏览器 driver.get('file:///D:/test/test.html') 打开 test.html driver.switch_to_frame('f2') 先切换到 f2 的 fra 阅读全文

posted @ 2021-11-22 17:26 小肥羊要进步 阅读(141) 评论(0) 推荐(0)

自动化selenium -鼠标键盘操作& 按键用法

摘要: 鼠标键盘操作 在浏览器中,通常会用到鼠标来迚行操作,比如右键菜单中选择一个操作,在 selenium 中提供了下列鼠标相关操作。 ActionChains 类提供了以下方法: context_click()右击 ActionChains(driver).context_click(test).per 阅读全文

posted @ 2021-11-22 17:19 小肥羊要进步 阅读(330) 评论(0) 推荐(0)

什么是显示等待和隐式等待?

摘要: 智能等待 隐式等待:implicitly_wait() 则默认每隔 0.5 秒检查一次,直到 10 秒后超时,如果在 10 秒内完成,则继续执行代码。 显式等待:WebDriverWait() WebDriverWait(driver,10).until(expected_conditions.pr 阅读全文

posted @ 2021-11-22 11:03 小肥羊要进步 阅读(1985) 评论(0) 推荐(0)

2021年11月6日

写了一个线性的自动化脚本01

摘要: 我觉得我我代码没有优化,先写出线性脚本,功能至少先实现了再说 import unittestfrom time import sleepimport self as selffrom selenium import webdriverfrom selenium.webdriver.common.by 阅读全文

posted @ 2021-11-06 00:17 小肥羊要进步 阅读(82) 评论(0) 推荐(0)

2021年11月3日

Shell学习

摘要: 常用Shell bash sh zsh 变量 ls cd a=1 (变量定义的时候左右没有空格) (echo 向屏幕输出 ) echo $a (输出和引用a这个变量) a=hello echo a 变量定义大小写敏感 a="hello world" 当遇到空格的时候用引号 a=‘hello worl 阅读全文

posted @ 2021-11-03 23:03 小肥羊要进步 阅读(39) 评论(0) 推荐(0)

2021年10月20日

同时连接多个设备, adb移除多余设备

摘要: jacliu@Jacs-MacBook-Pro ~ % adb devicesList of devices attachedDDYNW20603001725 deviceK6S4041231B0050 device 我只需要连接一台设备,不需要连接2台设备,而且我需要安装apk在一个设备上 輸入指 阅读全文

posted @ 2021-10-20 15:28 小肥羊要进步 阅读(8200) 评论(0) 推荐(0)

2021年8月11日

RF定位

摘要: 1.导包SeleniumLibrary 失败,红色字体 解决方法 重新导入就成功了 元素定位 相对路径 //form/span/input xpath=//form/span[2]/input 通过属性定位 xpath=//input[@autocomplete='off'] 通过部分属性 xpat 阅读全文

posted @ 2021-08-11 22:23 小肥羊要进步 阅读(66) 评论(0) 推荐(0)

For android devices ,how to test the update the OTA

摘要: Background: 1.The OTA (Fireware version is lower version than the currect version ,or now the firewire version is not the updatest version) Then it wi 阅读全文

posted @ 2021-08-11 17:48 小肥羊要进步 阅读(149) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 ··· 27 下一页

导航