摘要: 1.先把tgz的包在本地解压,把里面的tar包传到 /opt目录2.使用tar -xvf 解压tar包,解压出了xdebug-2.2.4、package.xml:[root@centos1 opt]# tar -xvf xdebug-2.2.4.tar 3、进入xdebug,执行phpize (安装... 阅读全文
posted @ 2014-12-14 00:16 hotarubi 阅读(266) 评论(0) 推荐(0) 编辑
摘要: wc 统计字节时,行的结束符算1个,中文算3个。 乱码文件,删节点 [root@centos1 opt]# ls 2345+?+???+?.url 2345+?+?????.url bugfree3.0.1 bugfree.zip lampp xampp-linux-1.8.3-3-installer.run [root@centos1 opt]# ll -i 总用... 阅读全文
posted @ 2014-12-12 15:12 hotarubi 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 安装xampp1./opt目录下放xampp-linux-1.8.3-3-installer.run、bugfree.zip2.[root@centos1 opt]# chmod 775 xampp-linux-1.8.3-3-installer.run #赋权 3.[root@centos1 op... 阅读全文
posted @ 2014-12-12 14:08 hotarubi 阅读(590) 评论(1) 推荐(1) 编辑
摘要: 创建TestNG类package com.testNg;import org.testng.annotations.Test;import static org.testng.Assert.assertEquals;import com.hpp.Sum;public class NewTest {p... 阅读全文
posted @ 2014-12-12 00:56 hotarubi 阅读(139) 评论(0) 推荐(0) 编辑
摘要: s页面代码:Xpath://开头/html/body/form[1] 绝对路径//form[1] HTML中的第一个form元素//form[@id=’loginForm’] id为loginForm的元素//form[input@name=’username’]定位有name为username的i... 阅读全文
posted @ 2014-12-12 00:52 hotarubi 阅读(292) 评论(0) 推荐(0) 编辑
摘要: ² 得到弹出的新窗口import java.util.Iterator;import java.util.Set;import org.openqa.selenium.By;import org.openqa.selenium.WebDriver;import org.openqa.selenium... 阅读全文
posted @ 2014-12-12 00:49 hotarubi 阅读(605) 评论(0) 推荐(0) 编辑
摘要: /*毕老师用电脑上课。问题领域中涉及两个对象。毕老师,电脑。分析其中的问题。比如电脑蓝屏啦。冒烟啦。*/class LanPingException extends Exception{LanPingException(String msg){super(msg);}}class MaoYanExc... 阅读全文
posted @ 2014-12-12 00:48 hotarubi 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 原作者:http://blog.sina.com.cn/s/articlelist_1371809337_1_1.html分离页面操作01-PageElement 页面元素提取1.页面元素的提取 package com.app.pageobjects; import org.openqa.se... 阅读全文
posted @ 2014-12-12 00:46 hotarubi 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Html代码Test Popup WindowLet's go!如何去得到弹出的新窗口Java代码package com.test_webdriver;import java.util.Iterator;import java.util.Set;import org.openqa.selenium.... 阅读全文
posted @ 2014-12-12 00:38 hotarubi 阅读(1519) 评论(0) 推荐(0) 编辑
摘要: a 阅读全文
posted @ 2014-12-12 00:32 hotarubi 阅读(119) 评论(0) 推荐(0) 编辑