
| Key: |
SEL-300
|
| Type: |
Bug
|
| Status: |
Open
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
Patrice Neff
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
Selenium
Created: 31/Aug/06 04:49 AM
Updated: 12/Dec/07 07:29 PM
|
|
| Component/s: |
Waiting
|
| Affects Version/s: |
0.7.1
|
| Fix Version/s: |
None
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
|
I have a test where one command is a "waitForCondition" with a timeout of 50ms. Then a few commands later, I call the "open" command. That command will abort with a timeout exception after 50ms.
I hacked the following patch:
--- core/scripts/selenium-executionloop.js (revision 10102)
+++ core/scripts/selenium-executionloop.js (working copy)
@@ -110,6 +110,7 @@
this.commandComplete(result);
if (result.processState == SELENIUM_PROCESS_WAIT) {
+ this.waitForConditionTimeout = 30 * 1000;
this.waitForCondition = function() {
LOG.debug("Checking condition: isNewPageLoaded?");
return selenium.browserbot.isNewPageLoaded();
But that's probably not the clean solution.
|
|
Description
|
I have a test where one command is a "waitForCondition" with a timeout of 50ms. Then a few commands later, I call the "open" command. That command will abort with a timeout exception after 50ms.
I hacked the following patch:
--- core/scripts/selenium-executionloop.js (revision 10102)
+++ core/scripts/selenium-executionloop.js (working copy)
@@ -110,6 +110,7 @@
this.commandComplete(result);
if (result.processState == SELENIUM_PROCESS_WAIT) {
+ this.waitForConditionTimeout = 30 * 1000;
this.waitForCondition = function() {
LOG.debug("Checking condition: isNewPageLoaded?");
return selenium.browserbot.isNewPageLoaded();
But that's probably not the clean solution. |
Show » |
|