|
|
|
[
Permlink
| « Hide
]
Matthew Purland - 13/Dec/06 03:54 PM
This would also be good for modal dialog windows which cannot be selected by their internal "name" attribute because they do not have one.
This patch provides the new selectWindow by title function and provides Selenium unit tests in the TestSuite.html for selecting the window by the title and verifying it.
The current patch does not yet as I know include support for PI mode, but I will try to support that soon.
Allow selectWindow to work in PI mode mode by selecting window by title. Included in the patch is an edit to the pom.xml file in order to have selenium-server pull in the local repository pulled in version of 0.8.3 of selenium-core for the selectWindow browserbot patch. With the other patch, the build should generate sources and pull in the TestSelectWindowTitle.java and use that in the PI mode tests.
This patch also implements getAllWindowNames on the server side from There is a set of jsunit tests (which I had myself never run) which suffered a failure w/ patch #1, that Dan fixed. You can run these tests by doing
cd selenium-core/trunk/code/ Applied non-PI patch. Other one coming soon.
Please note that in TestSelectWindowTitle.html test you must remove the comment <!-- Select this popup from the title --> otherwise there may be xlator issues.
This patch including the PI mode patch is depended upon by SRC-212 Will this patch be closed out soon?
Applied patch for PI mode in selenium-rc purland branch revision 1732.
Please reply - http://forums.openqa.org/thread.jspa?threadID=6109
Added functionality to trunk as of revisoin 1822, but will not resolve this issue until unit tests are added and passing.
|
||||||||||||||||||||||||||||||||||||||||||||||