摘要: 安装在D:\mysql\mysql-5.6.24-winx64下的mysql 由于系统坏了,移到另外一台机器上启动 步骤如下 1、复制以前的mysql安装文件及data文件下;2、全新安装mysql3、用root登录,提示;access deny for user'root'@'localhost' 阅读全文
posted @ 2016-07-27 15:27 testway 阅读(6888) 评论(0) 推荐(0) 编辑
摘要: 运行结果 aaaa12367890bbbbsendCode":"12367890123bbbb123aaaa12367890bbbbsendCode":"12367890123bbbb123 匹配后group(0)表示整个匹配的串 group(1)表示正则中第一个()中表示的正则匹配值 group( 阅读全文
posted @ 2016-07-24 22:27 testway 阅读(19030) 评论(0) 推荐(0) 编辑
摘要: java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal 解决办法: pom 添加 阅读全文
posted @ 2016-07-14 14:03 testway 阅读(275) 评论(0) 推荐(0) 编辑
摘要: genymotion+Oracle VM VirtualBox + eclipse + appium 脚本运行慢解决步骤 1、lenove 机器启动时按F1 进入bios 设置,设置cpu virtualization 为enabled 2、SDK Manager 安装intelhaxm-andro 阅读全文
posted @ 2016-07-11 15:25 testway 阅读(577) 评论(0) 推荐(0) 编辑
摘要: Maven install失败 Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project autotest_fchtgl: Compil 阅读全文
posted @ 2016-06-25 13:41 testway 阅读(46612) 评论(0) 推荐(2) 编辑
摘要: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to 阅读全文
posted @ 2016-06-20 18:15 testway 阅读(19464) 评论(0) 推荐(1) 编辑
摘要: 删除项目文件夹下的target文件夹里面内容,重新运行测试代码,报错 org.testng.TestNGException: Cannot find class in classpath: com.fc.htgl.testcases.TestOrderYD at org.testng.xml.Xml 阅读全文
posted @ 2016-06-17 20:40 testway 阅读(1418) 评论(0) 推荐(0) 编辑
摘要: 添加或修改my.ini 配置文件,设置编码字符为utf8 ,默认为latin1,见红色字体 [mysql]# 设置mysql客户端默认字符集default-character-set=utf8 [mysqld]#设置3306端口port = 3306 # 设置mysql的安装目录basedir=D: 阅读全文
posted @ 2016-06-13 17:12 testway 阅读(2293) 评论(1) 推荐(0) 编辑
摘要: mysql存储过程功能 1、使用临时表,动态游标只能用临时表 2、临时表有多个字段,游标同时有多个参数来接受 3、循环读写数据 4、 如果存在记录就更新记录,如果不存在记录,就插入记录 阅读全文
posted @ 2016-06-10 17:23 testway 阅读(310) 评论(0) 推荐(0) 编辑
摘要: MailInfo.java MyAuthenticator.Java SimpleMail.java emailTest.java 在SimpleMail.java 类中, //设置收件人信息,这种方法只可以发送给一个人Address to = new InternetAddress(mailInf 阅读全文
posted @ 2016-05-31 12:20 testway 阅读(285) 评论(0) 推荐(0) 编辑