|
我也遇到这个问题,导致单个执行testng.xml可以正常在界面上跑通所有用例,一旦用Jenkins部署,不打开界面式的运行就基本都失败,总是报
[CDATA[Element is not currently visible and so may not be interacted with
Command duration or timeout: 13 milliseconds
Build info: version: '2.35.0', revision: 'c916b9d', time: '2013-08-12 15:42:01'
System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.6.0_21'
Session ID: 96fc2958-c81c-46f9-af06-d52365dd097a
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{platform=XP, acceptSslCerts=true, javascriptEnabled=true, browserName=firefox, rotatable=false, locationContextEnabled=true, version=15.0, cssSelectorsEnabled=true, databaseEnabled=true, handlesAlerts=true, browserConnectionEnabled=true, nativeEvents=true, webStorageEnabled=true, applicationCacheEnabled=true, takesScreenshot=true}]]]>
</message>
<full-stacktrace>
<![CDATA[org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with
Command duration or timeout: 13 milliseconds
Build info: version: '2.35.0', revision: 'c916b9d', time: '2013-08-12 15:42:01'
System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.6.0_21'
Session ID: 96fc2958-c81c-46f9-af06-d52365dd097a
Driver info: org.openqa.selenium.firefox.FirefoxDriver
求解!!!!!!!!!!!!!!!!!!! |
|