WebDriver:SendKeys(Integer)在Firefox中不起作用29 [英] WebDriver : SendKeys(Integer) NOT working in Firefox 29

查看:81
本文介绍了WebDriver:SendKeys(Integer)在Firefox中不起作用29的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Firefox 29和WebDriver Java 2.41.0绑定来自动化测试场景.有一种情况是将一个整数输入一个输入框,该输入框在Firefox 28上可以正常使用,而现在在v29(即最新的FF版本)上却无法使用.我为此写的代码是:

I am using Firefox 29 and WebDriver java 2.41.0 bindings to automate test scenarios. Have one scenario to input an integer to a input-box which was working FINE with Firefox 28 and now failing with v29 i.e latest FF version. The code I wrote for the same is:

int inputString = 123456;
driver.FindElement(By.Id("tinymce")).SendKeys(inputString);

请帮助我解决这个问题.

Please help me getting through of this.

推荐答案

这将是此问题的结果:

https://code.google.com/p/selenium/issues/detail?id = 7291

此修订版已通过Selenium代码修复:

Fixed by this revision in the Selenium code:

https://code.google.com/p/selenium/来源/详细信息?r = afde40cbbf5c

这篇关于WebDriver:SendKeys(Integer)在Firefox中不起作用29的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆