摘要: 1、使用google浏览器,下载插件 2、下载Selenium Standalone Server包 3、录制 5、添加包 6、javacsv.jar 开始的时候导入的是opencsv.jar 7、修改代码进行批量处理 遇到的问题 使用chromedriver 要下载和chrome版本对应的chro 阅读全文
posted @ 2018-04-12 17:24 gtBailly 阅读(143) 评论(0) 推荐(0)
摘要: Use the following method printPrimes() for questions a-f below. (a) Draw the control flow graph for the printPrime() method. (b) Consider test cases t 阅读全文
posted @ 2018-03-23 17:38 gtBailly 阅读(117) 评论(0) 推荐(0)
摘要: Write a java program for the triangle problem and test the program with Junit. Description of triangle problem: Function triangle takes three integers 阅读全文
posted @ 2018-03-23 15:17 gtBailly 阅读(200) 评论(0) 推荐(0)
摘要: 程序一 错误:for循环中i>0导致index 0 取不到 Test : x=null不执行这个fault Test : x=[2,3,5]; y=3 执行fault,不会出现error Test : x=[0,3,5]; y=2 导致error但是并不会影响最后结果,不是个failure 程序二 阅读全文
posted @ 2018-03-10 22:03 gtBailly 阅读(104) 评论(0) 推荐(0)
摘要: 在写API网关的过程中,我负责的是编写设置黑白明白名单,防火墙的代码部分,基本的逻辑是,设置一个专门的文件记录黑名单,在Java类中声明静态集合来存所有的黑名单ip,在添加新的ip的时候先写入静态集合中,然后更新文件。 在最初写完之后,发现当快速多次请求的时候,会出现静态集合中的ip和文件中的不一样 阅读全文
posted @ 2018-03-10 20:25 gtBailly 阅读(89) 评论(0) 推荐(0)