`
jerome_wang
  • 浏览: 147652 次
  • 性别: Icon_minigender_1
  • 来自: 云南
社区版块
存档分类
最新评论
文章列表
 转自 http://blog.csdn.net/kq1983/article/details/44671961 fsck -y /   #执行修复文件系统shutdown -r now   #修复完成后重启系统
In this example, we will discuss logging capabilities of Jetty. We will first enable the logging module in Jetty and configure it afterwards. As in the previous Jetty examples, we will start with standalone Jetty; thereafter we will configure logging for Embedded Jetty server too.We are going to use ...
已在qaa03上成功搭建NTPD服务。该服务已设置为开机启动服务,如遇到问题,请在root用户下,用命令#service ntpd ****进行相关操作。 客户机校准时间: Linux: /usr/sbin/ntpdate ntpdate qaa03.jinfonet.com.cn /sbin/hwclock -w; //把系统时间写入硬 ...
https://code.google.com/p/selenium/wiki/InternetExplorerDriver#Internet_Explorer_Driver     InternetExplorerDriver   Everything you wanted to know about the Internet Explorer driver WebDriver Updated May 29, 2014 by james.h....@gmail.com Internet Explorer Driver The InternetExplor ...
http://shijunjuan.iteye.com/blog/1997764   Download and install IDE, such as Eclipse create folder c:\source, clone selenium repository: git clone https://code.google.com/p/selenium/ Open IDE, import projects: client, server, third-party Debug org.openqa.grid.selenium.GridLauncher.java as JAV ...
转自 http://www.cnblogs.com/alterhu/p/3191701.html  问题情况                                                  先说下问题情况,最近在做testNG与selenium集成做自动化测试的问题。 因为如果将testNG做UI 测试的话,很多情况下可能测试是失败的,但是这些失败可能是一些其他的问题导致的,可能是脚本的问题或者是网络环境不稳定导致的,所以我们需要重新尝试运行这个失败的测试用例。 testNG倒是没有直接的retry testcase的功能,不过它却提供了很多的接口,我们可以实现这些 ...
转自 http://stackoverflow.com/questions/31023861/how-to-run-single-selenium-test-case-in-two-different-nodes 实测通过 前提准备: 1.请参考 selenium + testng + grid 例子 + Jenkins 集成selenium grid (Jenkins 配置 网上 一大堆) 2.集成到jenkins,当ant的build.xml base.dir使用相对路径时,testng 产生报告可能会有问题 要修改下testng-result.xsl的absolute-path ...
环境准备 TestNG + Grid + Webdriver 1.启动Grid hub + node   hub端: java -jar selenium-server-standalone-2.4x0.jar -role node -hub  Node 端 java -jar selenium-server-standalone-2.4x0.jar -role webdriver -hub http://hubIP:port/grid/register -port 5555     2.测试代码如图   3.TestNG配置如图   4.结果 ...
  Web 元素操作小例子        
1.首先开发一个计算机的小程序 效果图如下  2.代码如附件  3.创建一个Android test project 4.代码如下  5.最后 Run as Android junit test  6.碰到的问题 run as 的时候 抛一下错误  解决方法->build path 删掉里面的Android Dependencies和robotium-solo-xx.jar然后重新导入robotium-solo-xx.jar 最终效果图如下       
在模拟器上玩的 1.代码  import com.android.uiautomator.core.UiDevice; import com.android.uiautomator.core.UiObject; import com.android.uiautomator.core.UiObjectNotFoundException; import com.android.uiautomator.core.UiScrollable; import com.android.uiautomator.core.UiSelector; import com.android.uiautom ...
11.UiDevice access and perform operations on the device on which the target app is running. You can call its methods to access device properties such as current orientation or display size. The UiDevice class also let you perform actions such as: Change the device rotation Press a D-pad button ...
转自   http://blog.csdn.net/robinzhou/article/details/8447058   要写UIAutomator的testcase,首先要用Eclipse创建一个Java Project 需要将Junit 的lib加入到工程里 还要添加android.jar和uiautomator.jar,这两个文件在android sdk中,没有升级SDK的朋友, ...
转自 http://blog.csdn.net/zhubaitian/article/details/39803205 网上有一篇shangdong_chu网友写的文章介绍如何在Eclipse上配置MonkeyRunner,做了挺好的一个描述,但经过我的试验在我的环境上碰到了Jython解析器出错的问题,且该文章缺少Pydev安装的步骤,所以这里按照本人的情况从新撰文描述如何在Eclipse上把MonkeyRunner的开发环境搭建起来。 1.环境 首先需要先描述下本人配置的环境,因为不确定其他环境下配置是否会有轻微的差别。   Eclipse版本 系统版本 ...
转自 http://blog.csdn.net/yibing548/article/details/42079463   1 Eclipse开发环境搭建 1.1为什么搭建Eclipse开发环境 Eclipse是著名的跨平台开源集成开发环境(IDE)。Eclipse的本身只是一个框架平台,但是众多插件的支持,使得Eclipse拥有较佳的灵活性。最初主要用来Java语言开发,目前亦有人通过插件使其作为C++、
Global site tag (gtag.js) - Google Analytics