English 中文(简体)
使用Selenium IDE可以测试页面访问的等待时间吗?
原标题:Is it possible to test wait time for page access with Selenium IDE?

我想让Selenium IDE在访问网页的时间超过60秒时测试失败,并记录访问网页所需的时间。

这可能吗? (Zhè kěnéng ma?)

最佳回答

是的,应该立即使用普通的Selenium IDE实现。如果您执行waitForPageToLoad命令,则需要传递超时时间。您可以将其更新为使用SetTimeout调用将其设置为所需的内容。

Selenium 中的所有等待命令默认情况下默认超时时间为 30 秒。

问题回答

暂无回答




相关问题
Javascript communication with Selenium (RC)

My Application has a lot of calculation being done in JavaScript according to how and when the user acts on the application. The project prints out valuable information (through console calls) as to ...

Running automated Web browser tests under Hudson

I m running Hudson for my automated builds and love it. I d now like to create automated Web browser tests using either WaTiN (preferred) or Selenium. As my Hudson runs as a Windows service (under ...

Using a Java library with Scala reserved words

I m using an external library written in Java (Selenium). One of the function calls has the signature type(String, String), and I keep getting compiler errors when trying to call it from Scala, that ...

Heightened privilege selenium browsers on Windows 7 (x64)

I make use of *firefox and *iexplore etc. within my selenium tests to get around the issue of self-signed SSL certificates on my local machine. Unfortunately, now that I ve moved from XP over to 7, ...

Selenium not working with Firefox 3.x on linux

I am using selenium-server , selenium rc for UI testing in my application . My dev box is Windows with FireFox 3.5 and every thing is running fine and cool. But when i try to run selenium tests on my ...

Selenium IDE: Incrementing values by 1 and 71

Currently I m incrementing a value called wert by 1 with the following code: getEval storedVars[ wert ]=${wert}+1; The value wert is something like 80401299. I want to add 1 to the value, if it ...

热门标签