CF995E Number Clicker 题目描述 Allen is playing Number Clicker on his phone. He starts with an integer u u on the screen. Every second, he can press one o ...
分类:
其他好文 时间:
2018-10-09 21:51:12
阅读次数:
331
之前尝试使用过testNG自带的测试报告、优化过reportNG的测试报告,对这两个报告都不能满意。后经查找资料,发现有个神器: Allure(已经有allure2了,笔者使用的就是allure2),生成的测试报告与上述两种对比,简直完美!先上个测试报告的图表,给大家直观感受下: 接下来教大家来使用 ...
分类:
其他好文 时间:
2018-10-09 21:39:27
阅读次数:
709
代码如上,结果显示的时候竟然出现scroll滚动之后,背景里面还有未滚动的样子,傻眼了,差了几小时才记起来在父Controller里面已经吊用了setupUI方法,这里super后重复调用了setupUI导致此bug,回去抽自己个嘴巴。。。。 ...
分类:
编程语言 时间:
2018-10-09 12:19:48
阅读次数:
202
1. 介绍 在谷歌浏览器中,我们有时候需要截取全屏的网页,这时可以使用谷歌自带的截取整个屏幕的功能 2. 用法 (1) 按快捷键: ctrl + shift + p 打开搜索 (2) 搜索 capture (中文: 捕获) -- 选择 Capture full size screenshot ...
分类:
其他好文 时间:
2018-10-09 10:18:01
阅读次数:
3546
Sub Main crt.Sleep 10000 Dim cnt For cnt = 0 To 1000000 crt.screen.Send "admin-status down" & Chr(10) crt.Sleep 600000 crt.screen.Send "admin-status u ...
分类:
其他好文 时间:
2018-10-06 14:37:48
阅读次数:
149
Sub Main Dim cnt Dim delay delay = 10000 For cnt = 0 To 80 crt.screen.Send "interface optical-receiver 0 " & chr(13) crt.Sleep delay crt.screen.Send " ...
分类:
其他好文 时间:
2018-10-06 14:30:00
阅读次数:
168
Sub Main Dim cnte Dim cnt Dim delay Dim time Dim onetime onetime = 9999999 delay = 5000 time = 700 For cnte = 0 To onetime crt.screen.Send "quit " & C ...
分类:
其他好文 时间:
2018-10-06 14:26:12
阅读次数:
123
Sub Main Dim cnt Dim delay Dim time Dim atttime atttime = 20 delay = 3000 time = 50 crt.screen.Send "root" & chr(13) crt.Sleep delay crt.screen.Send " ...
分类:
其他好文 时间:
2018-10-06 14:25:30
阅读次数:
197
Sub Main Dim cnt Dim delay Dim time Dim atttime atttime = 20 delay = 3000 time = 50 cnt_time=3 crt.screen.Send " " & chr(13) crt.screen.WaitForString" ...
分类:
其他好文 时间:
2018-10-06 14:23:49
阅读次数:
164