Also bear in mind that the list 'container' the OL tag isn't normally itself rendered on the screen in a visible way.. so users don't normally interact with it. The 'guts' of the list (<li> tags) is where the interaction normally happens, and also what most commonly verified or acted on in scripts. And of course <li> tags are supported by Watir.
The main reason you'd need <ol> support in my experience would be as an easy way to disambiguate which <li> tag you were referring to, in a situation where there was more than one list on the page, and no easy way to distinguish between one set of <li> tags and another. And often if things are inside divs or tables or some other structure you can use that instead to narrow down for the system which <li> tag you need. Not that it doesn't make sense to add in <ol> support, just that until that happens, you may well be able to get by without having to implement Georges 'patch' to add it in. On Sep 29, 7:05 am, Željko Filipin <[email protected]> wrote: > On Wed, Sep 29, 2010 at 4:02 PM, Mark Winteringham < > > [email protected]> wrote: > > Seems a little odd to me that UL is in there but not OL > > You could create a ticket: > > http://jira.openqa.org/browse/WTR > > Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
