- 博客(176)
- 资源 (76)
- 收藏
- 关注
原创 selenium 要点击的元素被其他元素遮挡 or 无法找到非可视范围内的元素
selenium 无法找到非可视范围内的元素 org.openqa.selenium.StaleElementReferenceException: The element reference of。
2023-06-20 16:59:07 1422
原创 selenium Explicit 和 Implicit Waits区别
隐式等待, 此处的隐式等待是针对Driver 每次执行命令的最长执行时间也可以理解为超时时间,一些人对此处有误解,认为是让Driver等一段时间, 确实某些时候能让Driver等一段时间, 但是影响是全局的,每次Driver执行找不到元素都会等待此处设置的时间,假设某处将此值设置的太长,必须在执行完成之后还原回来,否则判断一个元素是否存在的时候,就会遇到很坑爹的问题。这里,15是要等待的秒数.如果没有满足until()方法中的条件,就会始终在这里wait 15秒,依然找不到,就抛出异常.
2023-06-20 16:54:52 769
原创 install bitnami-testlink-1.9.17 Stack on ubuntu 14.04.4
The TestLink administrative user and password are the ones you set at installation time. MySQL admin user is called 'root', and its password is the same as the TestLink administrative user password....
2023-05-12 15:22:50 736 1
转载 Android HTTPS 抓包
网络请求抓包是研发过程中常见问题,无论是开发时的接口调试,还是测试时的数据检验,都有网络抓包的需求。随着HTTPS协议的推广以及手机系统安全性的升级,抓包的门槛可能会逐渐变高;在这篇文章里,我将带你从原理到实战全面认识HTTPS抓包,既理解HTTPS抓包背后的实现原理,又掌握市面上已有的抓包方案。对于一些方案中存在的坑点我也一一列举并给出解决方法。Fiddler目前主要是用在Window系统上的网络调试工具这里总结一下使用Charles进行抓包的主要步骤,其实就是按照第2节。...
2022-07-20 15:47:33 3839
原创 android 中设置时区为北京时间
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd-HH-mm-ss");TimeZone pst = TimeZone.getTimeZone("Etc/GMT-8");Date curDate = new Date(System.currentTimeMillis());formatter.setTimeZone(pst);String curTime = formatter.format(curDate).replace.
2021-06-02 14:57:21 1132
原创 用ListView显示ImageView和TextView
类CustomCountryListpackage com.clx.androidtest0526;import android.app.Activity;import android.view.LayoutInflater;import android.view.View;import android.view.ViewGroup;import android.widget.ArrayAdapter;import android.widget.ImageView;import and
2021-05-26 14:54:19 479
原创 Windows Server 2008 R2 Windows 找不到 inetmgr
Windows Server 2008 R2Windows 找不到 inetmgrIIS服务器我是已经安装了的报错:解决办法:服务器管理器-》角色-》Web服务器(IIS)-》添加角色服务选中 管理工具-》IIS管理控制台...
2021-02-07 11:15:16 834
原创 java servlet通过url下载文件
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Auto-generated method stub// response.getWriter().append("Served at: ").append(request.getContextPath()); response.setC..
2020-06-23 15:39:46 364
转载 java 计算自定义底数的对数
To calculate a logarithm with custom base in Java, we use the following identity: 1 2 3 4 5 6 7 8 9 @Test public void givenCustomLog_shouldReturnValidResults() { assertEquals(customLog(2, 256...
2020-06-16 18:16:52 1066
转载 php 生成AlphaID
<?php$code = AlphaID("816285");echo $code; function AlphaID($in, $to_num = false, $pad_up = false, $passKey = null) { $index = "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; if ($passKey !== null) { .
2020-06-16 16:22:06 1127
原创 打开.jmx文件时报错CannotResolveClassException kg.apc.jmeter.vizualizers.CorrectedResul
Problem loading XML from:'E:\jmeter\TestPlan-wisebuy.jmx'.Cause:CannotResolveClassException: kg.apc.jmeter.vizualizers.CorrectedResultCollectorDetail:com.thoughtworks.xstream.converters.ConversionException:---- Debugging information ----cau...
2020-06-15 16:53:13 2991
原创 打开.jmx文件时报错CannotResolveClassException com.tag.jmeter.ext.config.PropertyReader
Problem loading XML from:'E:\jmeter\BOB\BOB.jmx'.Cause:CannotResolveClassException: com.tag.jmeter.ext.config.PropertyReaderDetail:com.thoughtworks.xstream.converters.ConversionException:---- Debugging information ----cause-exception : com.tho.
2020-06-15 16:51:57 831
原创 mysql 密码包含特殊字符时,java无法连接Access denied for user
mysql 密码包含特殊字符时,java无法连接Access denied for user 'username'@'localhost' (using password: YES)
2020-06-09 16:00:36 1699
原创 windows能用navicat连接数据库,但是不能用mysql命令或者java jdbc访问数据库;但是Linux环境却可以访问
服务器IP地址是外网IP在windows的命令行工具里输入下面,报错mysql -h 212.xx.xx.xx -P 3306 -u db_view dbpasswordERROR 1045 (28000): Access denied for user 'db_view'@'180.173.xx.xx' (using password: YES)
2020-06-05 09:37:52 918
转载 java web项目中如何存放和读取资源配置文件
It's your choice. There are basically three ways in a Java web application archive (WAR):1. Put it in classpathSo that you can load it byClassLoader#getResourceAsStream()with a classpath-relative path:ClassLoader classLoader = Thread.currentThread..
2020-06-03 13:37:58 434
原创 严重: 子容器启动失败java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: 无法启动组件
eclipse eemvc spring严重: 子容器启动失败java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: 无法启动组件[org.apache.catalina.webresources.StandardRoot@63f8276e] at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)...
2020-06-02 18:37:54 4233 2
原创 eclipse 经常加载http://www.springframework.org/schema/beans/spring-beans-3.0.xsd 无法访问
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http:...
2020-05-31 14:22:05 3210
原创 eclipse官网的镜像不能访问了?
eclipse IDE下载不了了Unable to connect to the database server at this time(eclipse).Unable to connect to the database server at this time(eclipse).Unable to connect to the database server at this time(eclipse).
2020-05-15 14:02:08 917 5
转载 intellij idea 运行时报错the output path is not specified for module
intellij idea 运行时报错:the output path is not specified for module Specify the output path in the Project Structure dialog其实就是没有配置编译路径,ctrl+alrt+shift+s打开配置界面3.设置项目编译目录3.1添加目录我们在刚才创建的项目中添加几个目录...
2020-05-07 13:42:07 42973 2
转载 Windows 10 VirtualBox安装 macOS High Sierra
https://www.howtogeek.com/289594/how-to-install-macos-sierra-in-virtualbox-on-windows-10/Step Two: Create Your Virtual Machine in VirtualBoxNext, head to your Windows machine, andinstall VirtualB...
2020-03-09 10:49:47 2149
原创 java使用ssh的方式连接到mysql
using SSH tunnel in Java throughjsch, a Java an implementation of SSH2you have to have an SSH account on the remote host, and for the database example, a database account with a"connect"permi...
2019-12-13 18:20:15 984
原创 使用jsch以ssh的方式访问mysql ,如果提示PortForwardingL: local port 127.0.0.1:1119 cannot be bound.,则每次运行程序前先把原来的程
使用jsch以ssh的方式访问mysql ,如果提示PortForwardingL: local port 127.0.0.1:1119 cannot be bound.,则每次运行程序前先把原来的程序暂停JSchException**:PortForwardingL: local port 127.0.0.1:1119 cannot be bound.也可以在获取异常后} f...
2019-12-13 14:41:21 2007
原创 eclipse一打开就提示'Initializing Java Tooling 'has encountered a problem
'Initializing Java Tooling 'has encountered a problemAn internal error occurred during:"Initializing Java Tooling".An internal error occurred during: "Initializing Java Tooling".java.lang.NullPoi...
2019-12-02 17:37:35 449
原创 postman request failed "404 not found"
查了半天才发现是api地址里有空格,以后在code里看下curl命令可以方便看到这些低级错误。
2019-06-17 11:13:09 6617 1
原创 android studio运行app(设备上已经安装和未安装的情况)
如果手机设备上已经安装过了app, 点击 工具栏中的Apply Changes 去更新app.或者点击Run去安装和运行app.
2019-06-14 14:51:07 1619
原创 小米手机解锁刷机后,安装apk出现Failure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user]
C:\Users\17030102>adb install E:\素材\apk\weixin.apkPerforming Streamed Installadb: failed to install E:\素材\apk\weixin.apk: Failure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user]设置--...
2019-06-14 11:07:14 6566 1
翻译 android studio layout的Design页面不能放大缩小,但是Text页面可以放大缩小
It happens from time to time in Android Studio 3. This are steps to try to resolve this issue:invalidate cache and restart studio; choose different emulator from drop-down menu; refresh layout by ...
2019-06-13 14:25:34 2584
原创 android studio Missing Constraints in ConstraintLayout
This view is not constrained. It only has designtime positions, so it will jump to (0,0) at runtime unless you add the constraints The layout editor allows you to place widgets anywhere on the canvas...
2019-06-12 13:28:38 15981 1
原创 Android .xml file error: resource color/green (aka com.wm.helloapp:color/green) not found.
Caused by: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failedE:\git_code\helloapp\app\src\main\res\layout\activity_main.xml:2: error: resource color/green(aka com.w...
2019-06-11 14:01:46 6038
原创 读取的问题内容有中文,java file not found exception,
读取的问题内容有中文,java file not found exception,文件类型encoding 应该为utf-8无bom
2019-05-17 10:40:31 493
转载 Selenium实战:如何跳过绕不过的登录验证
背景先说一下背景,今天的这个主题是来源于我之前工作中的实战经历,当时在做一个爬虫项目,遇到了非常牛逼的反爬验证,就是之前提到过的某度指数数据,当时费了九牛二虎之力才用selenium+firefox登录成功,可是好景不长,没过多久就发现登录出现了图形验证码了,像下方这样的,出现这东西总不能手工去输入吧,兵来将挡水来土掩,一言不合就开干!马上就想到了图形的OCR识别技术,这个也不麻烦,有很多现成...
2019-05-13 17:45:52 4057 2
原创 selenium firefox console.error: BroadcastService: Message: Error: Polling for changes failed: Networ
console.error: BroadcastService: receivedBroadcastMessage: handler for remote-settings/monitor_changes threw error: Message: Error: Polling for changes failed: NetworkError when attempting to...
2019-03-01 09:41:49 1087
原创 Java 11, eclipse报错polling news feeds has encountered a problem javax/xml/bind/JAXBContext
java升级到11之后Eclipse IDE for Java DevelopersVersion: 2018-09 (4.9.0)Build id: 20180917-1800Windows 10eclipse报错polling news feeds has encountered a problemAn internal error occurred during: "P...
2019-02-14 11:25:51 1481
翻译 java pattern.matcher() vs pattern.matches()
pattern.matcher(String s) returns a Matcher that can find patterns in the String s. pattern.matches(String str) tests, if the entire String (str) matches the pattern.In brief (just to remember the...
2019-02-13 15:30:26 986
原创 selenium 获取直接的子节点
Get all immediate children and nothing deeper <html> <body> <div> </div> <span> <table> </table> </span>
2019-01-29 11:31:26 7544
BadboyInstaller-2.2.exe Jmeter组件
2015-07-20
firefox火狐原版,英文版,非中国版,最新,Firefox Setup Stub 39.0.exe
2015-07-10
TestLink Client API jars
2015-03-21
Maven: The Complete Reference权威指南
2015-01-11
DB2 10.1 Fundamentals certification exam 610 prep series
2014-11-16
DB2 10.1 fundamentals certification exam 610 prep PDF文档
2014-11-16
db2ese_c.lic DB2 V9.7 license linux x86_64
2014-11-02
第5 章 Servlet 技术基础知识
2014-09-08
Font 'Trebuchet MS' 'Regular'
2014-08-21
IBM DB2 9.7 for Linux, UNIX, and Windows 资料
2014-07-13
Repository Management with Nexus book 英文版
2014-06-25
T1载波与E1载波.txt
2020-03-09
机器之心 pdf
2018-12-25
奇点临近(高清完整版).pdf (美)Ray Kurzweil 著雷·库兹韦尔
2018-12-25
fiddler4抓包工具
2016-12-16
GeckoDriver64
2016-12-11
EX-Converter.rar excel批量导入testlink工具
2016-11-16
bitnami-testlink-1.9.15-1-windows-installer.exe
2016-11-10
slf4j-api-1.7.21.jar
2016-11-09
tableenhancer-3.1.3.jar
2016-11-01
jsch-0.1.54.jar
2016-10-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人