上一页 1 2 3 4 5 6 7 8 9 ··· 16 下一页
摘要: 1、下载postman插件,可以自己到网上下载,也可以点击http://download.csdn.net/detail/u010246789/9528471 2、解压文件,在解压后的文件夹中找到.crx文件,将.crx改为.zip或.rar,并在此解压。(改成rar加压出错时,改成zip) 3、在 阅读全文
posted @ 2017-08-22 11:10 YunMan 阅读(625) 评论(0) 推荐(0)
摘要: 1.元素比较明确(可视) 2.元素隐藏,需要鼠标移动到一定地方才显现(下图为某论坛列表,需要将鼠标移动到列表才显示操作按钮) 阅读全文
posted @ 2017-08-09 17:54 YunMan 阅读(1613) 评论(0) 推荐(0)
摘要: 方法一: 经验证可行 方法二:直接通过js操作,不需要switchTo跳转,代码如下: String text = "a new post"; String js = "document.getElementById('Editor_Edit_EditorBody_ifr').contentDocu 阅读全文
posted @ 2017-08-07 17:36 YunMan 阅读(886) 评论(0) 推荐(0)
摘要: 无论是selenium还是appium,元素定位都是我们开始实现自动化面临的第一个问题。selenium还好,我们可以在浏览器的调试页面进行元素定位还是蛮方便的。那么appium怎么做呢? 我看到很多资料,帖子都是说的appium自带的Inspector这个工具进行的元素定位。而笔者不知道是电脑还是 阅读全文
posted @ 2017-07-19 16:05 YunMan 阅读(537) 评论(0) 推荐(0)
摘要: 1、AutoIT介绍 AutoIT是一个类似脚本语言的软件,利用此软件我们可以方便的实现模拟键盘、鼠标、窗口等操作,实现自动化。 2、实现原理 利用AutoIT编写合适的脚本,然后将脚本编译成可执行文件,在自动化实现时,直接调用此脚本实现文件上传。 备注:编写脚本和编译,需要借助AutoIT提供的工 阅读全文
posted @ 2017-07-03 20:19 YunMan 阅读(3825) 评论(0) 推荐(2)
摘要: 阅读全文
posted @ 2017-06-28 16:14 YunMan 阅读(191) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2017-06-28 15:38 YunMan 阅读(3212) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2017-06-28 08:50 YunMan 阅读(226) 评论(0) 推荐(0)
摘要: //操作js的confirm弹窗,bool控制是否点击确定,true为点击确定,false为点击取消 public static void OperaterJSOfConfirm(WebDriver driver,String str,Boolean bool) throws InterruptedException, AWTException{ WebElement ... 阅读全文
posted @ 2017-06-26 11:04 YunMan 阅读(5444) 评论(0) 推荐(0)
摘要: 问题一:问题org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server 阅读全文
posted @ 2017-06-24 10:08 YunMan 阅读(561) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 16 下一页