我有它運行在我的本地Windows系統中運行良好的測試用例,但它上傳到我的Linux服務器後,以下錯誤的顯示:硒:經過10秒來等待元素的可見性超時
基本上我的測試用例首先是做登錄工作正常,在登錄頁面我也用id
屬性。成功登錄後,它會轉到Load User list
頁面,該頁面基本上包含大量的表格行和一個頂部具有許多文本字段的窗體。 在相同的Load User list
頁面上,我正在嘗試閱讀文本框ID屬性,但其顯示錯誤如下所示:爲什麼無法讀取此頁面的ID屬性?但是,正如我已經說過同樣的測試用例是從本地系統
Testcase: campaignEmailTestCase took 108.276 sec
Caused an ERROR
Timed out after 100 seconds waiting for visibility of element located by By.id: leadCaptureList_leadCapture_firstName
Build info: version: '2.39.0', revision: 'ff23eac', time: '2013-12-16 16:11:15'
System info: host: 'smart-systems-pro-2', ip: '10.180.31.90', os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.32-5-xen-amd64', java.version: '1.6.0_18'
Driver info: driver.version: unknown
org.openqa.selenium.TimeoutException: Timed out after 100 seconds waiting for visibility of element located by By.id: leadCaptureList_leadCapture_firstName
Build info: version: '2.39.0', revision: 'ff23eac', time: '2013-12-16 16:11:15'
System info: host: 'smart-systems-pro-2', ip: '10.180.31.90', os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.32-5-xen-amd64', java.version: '1.6.0_18'
Driver info: driver.version: unknown
at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:259)
............
............
.............
[1]: http://www.danstraw.com/installing-selenium-server-2-as-a-service-on-ubuntu/2010/09/23/
運行完美我甚至試過給990秒超時,也同樣的問題。可能是什麼原因?
我審閱this website for installing selenium in my server我的硒罐子selenium-server-standalone-2.0a5.jar
爲什麼-v投票?請寫評論 –
你好,我已經清楚地描述了我的問題,以解決這個題外話的理由(它缺乏足夠的信息來診斷問題)..希望你現在可以幫助我與這一個 –
請幫助我,掙扎自3 –