[Wtr-general] OT: How to Navigate the Watir FAQ

Paul Carvalho tester.paul at gmail.com
Thu May 11 11:51:49 EDT 2006


Hi there, this is totally aside and just 'FYI' so please disregard if you
are not interested.

It's been bugging me for a few weeks so I just took a look and discovered
why the anchors to the FAQ haven't been working as expected.  Here's an
example -- Bret sent out the following link in a recent email:
   http://wiki.openqa.org/display/WTR/FAQ#concurrent-ie

I followed the link, and like other similar links, I am brought to the *top*
of the FAQ page, but not the actual intended section. (unexpected)

I browsed the 'code' on the page and you will see the following line just
above the corresponding section:
   {anchor:concurrent-ie}

--> I think the assumption here is that you would form the URL by simply
adding a # in place of the 'anchor:', but this is not how this code is
actually translated to HTML.

First off, all the dashes are removed from the actual HTML.   So the anchor
will really be identified as "concurrentie".
Next, for some reason, the page Title is being *prefixed* to the real
anchor.

This means that the anchor name is actually: #FAQ-concurrentie

So, to go to that section of the FAQ, you would have to follow this URL:
   http://wiki.openqa.org/display/WTR/FAQ#FAQ-concurrentie

Using another example, another popular section that is often referenced is
the "Access denied when trying to access a frame."  This has the following
corresponding 'code': {anchor:access-denied}

Therefore, to access this URL you would use the following:
   http://wiki.openqa.org/display/WTR/FAQ#FAQ-accessdenied

I thought some of you might be interested to know this.

Cheers.  Paul.
(no, the *other* Paul. ;))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060511/2bc4747a/attachment.html 


More information about the Wtr-general mailing list