Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] B. User interfaceminorrandom2010-06-03 20:302010-06-03 20:30
ReporterelopioView Statuspublic 
Assigned Todbaz 
PriorityurgentResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0013517: Selenium requires an additional openWindow command to notice popups opened from the menu.

DescriptionThis is something to be added in the wishlist to facilitated integration tests with selenium.

The popups opened from the menu (Financial>Accounting>Transactions>Reset accounting, for example), are not noticed by selenium. So, the function
will fail with a time out.

There exists a workaround as it is explained in the API of the openWindow command:
This command can also be a useful workaround for bug SEL-339. In some cases, Selenium will be unable to intercept a call to (if the call occurs during or before the "onLoad" event, for example). In those cases, you can force Selenium to notice the open window's name by using the Selenium openWindow command, using an empty (blank) url, like this: openWindow("", "myFunnyWindow").

So, we can select those popups calling the openWindow function. However this has proven to be unreliable, as sometimes the popup is not recognized even after calling openWindow. This behaviour is random, and happens just a few times.

As explained in [^] the problem is probably caused by opening the popup before the onload function finishes. If this is the case in openbravo, then the feature request is to explore the possibility of opening this popups after the onload function so selenium can manipulate without workarounds.

If this is not the case, the please help me to spot the cause and look for a solution.

I don't know how much work would this require, or if it's even possible. But I'm openning this issue to discuss about it.
Steps To ReproduceLog in to openbravo and select a menu popup with selenium ide.

For example, this will fail:


Before the wait for waitForPopUp, and openWindow("", "BUTTON") is required.
Proposed SolutionOpen the popups in a way that's easy for selenium.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2010-06-03 20:30 elopio New Issue
2010-06-03 20:30 elopio Assigned To => dbaz

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker