码迷,mamicode.com
首页 >  
搜索关键字:until    ( 1173个结果
httpServletRequest中的流只能读取一次的原因
首先,我们复习一下InputStream read方法的基础知识, java InputStream read方法内部有一个,postion,标志当前流读取到的位置,每读取一次,位置就会移动一次,如果读到最后,InputStream.read方法会返回-1,标志已经读取完了,如果想再次读取,可以调用 ...
分类:Web程序   时间:2018-06-05 10:19:13    阅读次数:231
"//./root/CIMV2" because of error 0x80041003. Events cannot be delivered through this filter until the problem is corrected.
windows系统日志错误信息: Event filter with query "SELECT * FROM __InstanceModificationEvent WITHIN 60 WHERE TargetInstance ISA "Win32_Processor" AND TargetIns ...
分类:其他好文   时间:2018-06-04 11:54:08    阅读次数:1063
Appium+python自动化
http://www.cnblogs.com/yoyoketang/p/6189441.html#commentform 前言: Appium Python API全集,不知道哪个大神整理的,这里贴出来分享给大家。 1.contexts contexts(self): Returns the con ...
分类:移动开发   时间:2018-06-02 13:26:51    阅读次数:211
使用Selenium模拟浏览器抓取淘宝商品美食信息
1.搜索关键词:利用Selenium驱动浏览器,得到商品列表。 2.分析页码并翻页:得到商品页码数,模拟翻页,得到后续页面的商品列表。 3.分析提取商品内容:利用PyQuery分析源码,解析得到商品列表。 4.存储到MongoDB:将商品列表信息存储到数据库MongoDB。 可以利用PhantomJ ...
分类:其他好文   时间:2018-06-01 01:00:13    阅读次数:202
使用pt-query-digest进行日志分析
使用pt query digest 也可以到官网 下载安装 查看帮助 使用 会发现有很多统计信息提供!非常方便。 如果通过日志发现问题? ...
分类:其他好文   时间:2018-05-31 10:37:28    阅读次数:266
深入浅出 Java Concurrency (11): 锁机制 part 6 CyclicBarrier
如果说CountDownLatch是一次性的,那么CyclicBarrier正好可以循环使用。它允许一组线程互相等待,直到到达某个公共屏障点 (common barrier point)。所谓屏障点就是一组任务执行完毕的时刻。 清单1 一个使用CyclicBarrier的例子 package xyl ...
分类:编程语言   时间:2018-05-26 18:44:34    阅读次数:184
SPOJ:House Fence(分治&DP)
"Holiday is coming, holiday is coming, hurray hurray!" shouts Joke in the last day of his college. On this holiday, Joke plans to go to his grandmothe ...
分类:其他好文   时间:2018-05-25 23:36:32    阅读次数:337
leetcode8. String to Integer
问题描述: Implement atoi which converts a string to an integer. The function first discards as many whitespace characters as necessary until the first non ...
分类:其他好文   时间:2018-05-24 15:06:09    阅读次数:137
1111
做UI自动化时会遇到服务环境不稳定、网络环境不稳定,访问一个页面要加载好久都没出来,导致页面还没有打开就报错了,这时用到等待等待有三种方式:普通人用time等待(最不可取)聪明人用隐式等待 driver.implicitly_wait()# 隐式等待是针对整个项目的,driver生成的时候写一遍就行 ...
分类:其他好文   时间:2018-05-22 18:34:21    阅读次数:140
QTP常用老古董function
贴一些工作里经常用到的。 ——不建议专门学习QTP,web自动化有更好的工具,client自动化。。现在没多少做client的项目了。。so—— ‘检查客户端是否启动,等待n秒 Function Open_(n) If Window("XX终端").Exist Then wait(n) else m ...
分类:其他好文   时间:2018-05-22 12:41:04    阅读次数:184
1173条   上一页 1 ... 37 38 39 40 41 ... 118 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!