解决org.openqa.selenium.WebDriverException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms org.springframework.beans.BeanInstantiation
摘要:解决方法为将selenium-server-standalone-2.37.0.jar升级至selenium-server-standalone-2.41.0.jar即可。下载地址:http://selenium-release.storage.googleapis.com/2.41/selenium-server-standalone-2.41.0.jar这里是因为更新firefox所导致的问题,从27更新到28.0所致。错误如下:WARN , HHH000409: Using org.hibernate.id.UUIDHexGenerator which does not generate
阅读全文
posted @
2014-04-02 10:02
Hi_Amos
阅读(2992)
推荐(0) 编辑
【总结 】550,535,553 Mail from must equal authorized user— jenkins(hudson) email163邮箱和26邮箱成功配置总结
摘要:Failed to send out e-mailcom.sun.mail.smtp.SMTPSendFailedException: 553 Mail from must equal authorized user; nested exception is: com.sun.mail.smtp.SMTPSenderFailedException: 553 Mail from must equal authorized user at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2057)...
阅读全文
posted @
2014-02-14 17:37
Hi_Amos
阅读(8113)
推荐(0) 编辑
java.lang.IllegalStateException: Failed to load ApplicationContext selenium 异常 解决
摘要:WARN , HHH000409: Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values; consider using org.hibernate.id.UUIDGenerator insteadERROR prepareTestInstance, Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.De...
阅读全文
posted @
2013-11-23 14:15
Hi_Amos
阅读(7471)
推荐(0) 编辑
java+win7+eclipse+Maven+sikuli 配置总结---图形脚本语言
摘要:简介:Sikuli是一种新颖的图形脚本语言,或者说是一种另类的自动化测试技术。它与我们常用的自动化测试技术(工具)有很大的区别。关于配置,一直是一个问题,下面做个总体介绍,用sikuli也有几个月时间了,是时候做个备忘.技术难点:怎么用maven+sikuli做个组合?http://mvnrepository.com/artifact/org.sikulimaven仓库里只有四个jar包,sikuli的核心jar包script包没有,这应该怎么办?先把pom.xml贴出来: 4.0.0 com.infomorrow.clientdetect clientdetect 0.0.1-SNA...
阅读全文
posted @
2013-11-20 23:23
Hi_Amos
阅读(3571)
推荐(0) 编辑
org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or br
摘要:WARN , HHH000409: Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values; consider using org.hibernate.id.UUIDGenerator insteadERROR prepareTestInstance, Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.Depe.
阅读全文
posted @
2013-11-20 10:39
Hi_Amos
阅读(3824)
推荐(0) 编辑
jenkins+maven+git+ 邮件自动转发 持续化集成 图文教程
摘要:1.所需要的插件,安装plugin,进入mangae Jenkins→ manage Plugins,切换到Available tab,选择如下plugin安装 Gitplugin,GitHubPlugin,GitClientPlugin,Email-ext plugin 如果你的git仓库是private的还需要安装SSHSlavesplugin,SSHCredentialsPlugin,否则git不成功。2.插件安装完之后 ,进入系统设置3.设置jdk,这个是必须的!.4.Git配置下载git zip包,并解压缩,下载地址为:http://code.google.com/p/m...
阅读全文
posted @
2013-11-19 19:38
Hi_Amos
阅读(1453)
推荐(0) 编辑
【经验总结】 fisheye 3.1.5 安装、破解全过程 图文教程(2.0以上版本均可成功!)
摘要:声明:此破解仅为个人娱乐,如果你有钱,请支持正版!重要说明,只要把fisheye先关掉即可,然后执行下面的破解步骤,一样可以破解!本人已测试通过。一、安装、破解fisheye最新版3.1.5 所需文件1.下载fisheyehttps://www.atlassian.com/software/fisheye/download 最新版本链接https://www.atlassian.com/software/fisheye/download-archives以前版本链接 2.下载所需要的破解文件 “fisheye2以上破解文件.7z”http://pan.baidu.com/s/18BOWC百度网
阅读全文
posted @
2013-11-17 16:48
Hi_Amos
阅读(5426)
推荐(0) 编辑
fisheye Error occurred during initialization of VM Could not reserve enough space for object heap 问题解决!
摘要:参考文章:https://answers.atlassian.com/questions/9397/not-enough-heap-space-to-run-fisheyefisheye下载好了之后,解压后怎么运行run.bat都报错误,错误提示如下:D:\developsoft\fisheye-3.1.5\fecru-3.1.5>bin\run.bat --debugError occurred during initialization of VMCould not reserve enough space for object heapError: Could not create
阅读全文
posted @
2013-11-17 14:52
Hi_Amos
阅读(12912)
推荐(0) 编辑
【总结】selenium webdriver 远程连接firefox和IE 环境搭建
摘要:参考链接:http://code.google.com/p/selenium/wiki/Grid2本地环境为:win7,eclipse,jdk 1.7,本机ip为192.168.0.301.下载所需文件1.1 下载好jar包,下载网址为:http://selenium.googlecode.com/...
阅读全文
posted @
2013-11-17 00:45
Hi_Amos
阅读(1603)
推荐(0) 编辑
webDriver.Close() 和 webDriver.Quit() 、webDriver.Dispose() 的区别
摘要:1.webDriver.Close() - Close the browser window that the driver has focus of //关闭当前焦点所在的窗口2.webDriver.Quit() - Calls dispose //调用dispose方法3.webDriver.Dispose() Closes all browser windows and safely ends the session 关闭所有窗口,并且安全关闭session
阅读全文
posted @
2013-11-14 18:03
Hi_Amos
阅读(659)
推荐(0) 编辑
Selenium webdriver 获取属性值 元素里的value
摘要:1.WebElement webElemt= webElement.findElement(By.xpath("//*[@class='xxxxxx]/a"));//在ie下使用innerText 在火狐下使用textContentString linktext = webElemt.getAttribute("innerText");2.WebElement element = ...;//测试的好像不行。 ((JavascriptExecutor) driver).executeScript("return arguments[0]
阅读全文
posted @
2013-11-09 17:23
Hi_Amos
阅读(7371)
推荐(0) 编辑
[解决问题]selenium.remote.UnreachableBrowserException 异常分析并解决问题
摘要:I have a set of automations that work fantastically in Firefox and Chrome, and I'd like to launch an instance of IEDriver as well.I've set up IEDriver as per Selenium's Google Code wiki, with the correct path (if I change the path I get a different exception, so it's definitely corre
阅读全文
posted @
2013-11-07 11:20
Hi_Amos
阅读(21081)
推荐(0) 编辑
【解决问题】failed: java.lang.RuntimeException: org.openqa.selenium.WebDriverException: Unexpected error launching Internet Explorer.
摘要:failed: java.lang.RuntimeException: org.openqa.selenium.WebDriverException: Unexpected error launching Internet Explorer. Protected Mode settings are not the same for all zones. Enable Protected Mode must be set to the same value (enabled or disabled) for all zones. (WARNING: The server did not prov
阅读全文
posted @
2013-11-05 17:58
Hi_Amos
阅读(4357)
推荐(1) 编辑
jenkins 图文教程 下载 --》安装--》更改默认端口号,附自启动脚本
摘要:参考文章:1.http://www.ibm.com/developerworks/cn/java/j-lo-jenkins/2.http://blog.csdn.net/zhaolixin007/article/details/9298013第一步:下载第二步 下载中第三步 启动脚本1.windows下的批处理脚本: 新建txt将以下代码拷入,更改下你下载的jenkins.war的地址即可,更改文件后缀名为.bat,双击运行即可!set JENKINS_HOME=D:\developsoft\Selenium_Test cd /d %JENKINS_HOME%java -jar %JENK..
阅读全文
posted @
2013-10-31 00:13
Hi_Amos
阅读(1189)
推荐(0) 编辑
Selenium WebDriver使用IE浏览器 属性设置
摘要:System.setProperty("webdriver.ie.driver", "D:\\developsoft\\Selenium_Test\\IEDriverServer.exe");WebDriver driver = new InternetExplorerDriver();
阅读全文
posted @
2013-10-30 19:11
Hi_Amos
阅读(1688)
推荐(0) 编辑
(org.jbehave.core.failures.BeforeOrAfterFailed: webdriver selenium错误解决。
摘要:(org.jbehave.core.failures.BeforeOrAfterFailed: Method initWebDriver (annotated with @BeforeStory in class com.infomorrow.story.CommonStep) failed: org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or brows
阅读全文
posted @
2013-10-30 13:23
Hi_Amos
阅读(430)
推荐(0) 编辑
sikuli 如何 清空文本框中的内容??解决方法!
摘要:Screen s = new Screen();s.click("name.png");s.type("a",KeyModifier.CTRL);s.type(Key.BACKSPACE);
阅读全文
posted @
2013-09-13 16:25
Hi_Amos
阅读(600)
推荐(0) 编辑