<small id='UzxgY'></small><noframes id='UzxgY'>

<legend id='UzxgY'><style id='UzxgY'><dir id='UzxgY'><q id='UzxgY'></q></dir></style></legend>

    <bdo id='UzxgY'></bdo><ul id='UzxgY'></ul>
<i id='UzxgY'><tr id='UzxgY'><dt id='UzxgY'><q id='UzxgY'><span id='UzxgY'><b id='UzxgY'><form id='UzxgY'><ins id='UzxgY'></ins><ul id='UzxgY'></ul><sub id='UzxgY'></sub></form><legend id='UzxgY'></legend><bdo id='UzxgY'><pre id='UzxgY'><center id='UzxgY'></center></pre></bdo></b><th id='UzxgY'></th></span></q></dt></tr></i><div id='UzxgY'><tfoot id='UzxgY'></tfoot><dl id='UzxgY'><fieldset id='UzxgY'></fieldset></dl></div>
  • <tfoot id='UzxgY'></tfoot>

      1. 当我尝试通过使用 Selenium RC 单击提交按钮进入下一页时,在 30000 毫秒后超时

        Timed out after 30000ms when I tried to go next page by clicking Submit button using Selenium RC(当我尝试通过使用 Selenium RC 单击提交按钮进入下一页时,在 30000 毫秒后超时)
        <legend id='D8Xay'><style id='D8Xay'><dir id='D8Xay'><q id='D8Xay'></q></dir></style></legend>

        <small id='D8Xay'></small><noframes id='D8Xay'>

      2. <i id='D8Xay'><tr id='D8Xay'><dt id='D8Xay'><q id='D8Xay'><span id='D8Xay'><b id='D8Xay'><form id='D8Xay'><ins id='D8Xay'></ins><ul id='D8Xay'></ul><sub id='D8Xay'></sub></form><legend id='D8Xay'></legend><bdo id='D8Xay'><pre id='D8Xay'><center id='D8Xay'></center></pre></bdo></b><th id='D8Xay'></th></span></q></dt></tr></i><div id='D8Xay'><tfoot id='D8Xay'></tfoot><dl id='D8Xay'><fieldset id='D8Xay'></fieldset></dl></div>
              <bdo id='D8Xay'></bdo><ul id='D8Xay'></ul>

                <tbody id='D8Xay'></tbody>

                1. <tfoot id='D8Xay'></tfoot>

                  本文介绍了当我尝试通过使用 Selenium RC 单击提交按钮进入下一页时,在 30000 毫秒后超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在通过 java 使用 Selenium RC.在第一页填写必要的数据-->点击提交按钮进入下一页.我的代码是:

                  I am using Selenium RC by java. Fill up necessary data on 1st page-->Click Submit button to go next page. My code is:

                  selenium.click("Submit");
                  selenium.waitForPageToLoad("30000");
                  

                  点击提交按钮后发现错误:

                  After clicking Submit button I found the error:

                  com.thoughtworks.selenium.SeleniumException: Timed out after 30000ms
                  

                  谁能帮帮我?

                  推荐答案

                  Selenium.waitforpagetoload("30000");

                  Selenium.waitforpagetoload("30000");

                  表示您给时间 30000 m.s= 30 秒

                  这意味着您的页面需要 30 多秒才能完全加载.

                  It means your page is taking more than 30 seconds to load completely.

                  所以为了避免错误给更多的时间.比如 60 秒或 90 秒.

                  So in order to avoid the error give more time. like 60 seconds or 90 seconds.

                  通过手动单击提交大致查看页面完全加载所需的时间并记下时间.(如果您的互联网连接较低,则可能需要很长时间).

                  Once roughly see how much time the page is taking to load completely by clicking on the Submit manually and note down the time.(it may take long time if your internet connection is low).

                  所以在检查了加载时间之后,在

                  So after checking the time it is taking to load, Give that time in

                  selenium.waitforpagetoload("time in m.sec").

                  这篇关于当我尝试通过使用 Selenium RC 单击提交按钮进入下一页时,在 30000 毫秒后超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)
                  How to make a report page direction to change to quot;rtlquot;?(如何使报表页面方向更改为“rtl?)
                  Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)
                  Is there any way to detect an RTL language in Java?(有没有办法在 Java 中检测 RTL 语言?)
                  How to load resource bundle messages from DB in Java?(如何在 Java 中从 DB 加载资源包消息?)
                  How do I change the default locale settings in Java to make them consistent?(如何更改 Java 中的默认语言环境设置以使其保持一致?)

                      <small id='1SR7g'></small><noframes id='1SR7g'>

                        <tbody id='1SR7g'></tbody>
                    • <tfoot id='1SR7g'></tfoot>

                          <legend id='1SR7g'><style id='1SR7g'><dir id='1SR7g'><q id='1SR7g'></q></dir></style></legend>
                          <i id='1SR7g'><tr id='1SR7g'><dt id='1SR7g'><q id='1SR7g'><span id='1SR7g'><b id='1SR7g'><form id='1SR7g'><ins id='1SR7g'></ins><ul id='1SR7g'></ul><sub id='1SR7g'></sub></form><legend id='1SR7g'></legend><bdo id='1SR7g'><pre id='1SR7g'><center id='1SR7g'></center></pre></bdo></b><th id='1SR7g'></th></span></q></dt></tr></i><div id='1SR7g'><tfoot id='1SR7g'></tfoot><dl id='1SR7g'><fieldset id='1SR7g'></fieldset></dl></div>

                            <bdo id='1SR7g'></bdo><ul id='1SR7g'></ul>