[ 
https://issues.apache.org/jira/browse/WICKET-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Ray updated WICKET-1638:
-----------------------------

    Attachment: UniqueIDs.patch

Here's an SVN patch that will generate unique but consistent IDs. I also 
changed all of the other code that used the Page classes AutoIndex to use the 
new id generation so that things like check box values will be consistent.

> Wickets unique IDs cause problems for automated testing
> -------------------------------------------------------
>
>                 Key: WICKET-1638
>                 URL: https://issues.apache.org/jira/browse/WICKET-1638
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>            Reporter: John Ray
>         Attachments: UniqueIDs.patch
>
>
> Wickets unique markup IDs cause problems writing automated tests. 
> They should be changed so that the first instance of a component with an ID 
> of "foo" on a page would have a generated ID of "foo", the second would be 
> "foo2" and so on. This would make the IDs consistent enough that they could 
> be used for testing.
> See the following discussion for more info.
> http://www.nabble.com/Wickets-unique-IDs-cause-problems-for-Selenium-td17267339.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to