Lightweight first test of viewer conformance to the requirement that the first parameter of 'linkuri' is "any valid URI".
WebCGM 1.0 requires that the URI (first) parameter of the 'linkuri' APS attribute be "any valid URL under ... RFC-2396. Other URLs in this (BE) test suite are (almost) all simple references to a local file in the local directory. This first Basic Effectivity test of URL variations will test a couple of likely and useful variations: a full URL reference to a remote Web site; and, a fragment-only id reference to an object in the same picture.
At the start of the test, the right-hand frame should display a WebCGM instance containing a simple picture with three objects: a red rectangle, a magenta circle, and a cyan triangle, all with thick black borders. The red rectangle object (APS) contains a hyperlink the CGM Open home page, http://www.cgmopen.org. The magenta circle object (APS) contains a hyperlink to the third (cyan triangle) object, the URL consisting only of "#" followed by the object's id, "thirdObject".
Both hyperlinks comprise a 'linkuri' APS attribute, with the URL in the first parameter, and the second (Link Title) and third (Behavior) parameters null. Because the Behavior parameter is null, its default value of "_self" is used, in which case the content of the destination URL should replace the initial WebCGM picture in the right-hand frame.
A mouse click anywhere over the red rectangle (labelled "first object") should cause the CGM Open home page to appear in the right frame. The "Back" button should cause the original WebCGM instance to be displayed again in the right frame. (However, this is not a pass fail criterion of the test, and if it doesn't work, then the test will have to be reloaded in order to execute the other link.)
A mouse click anywhere over the magenta circle (labelled "second object") should cause the initial WebCGM instance to be redisplayed in the right-hand frame, but with the target object (cyan triangle, labelled "third object") highlighted. The "Back" button should cause the original WebCGM instance to be displayed again in the right frame. (However, this is not a pass fail criterion of the test, and if it doesn't work, then the test will have to be reloaded in order to execute the other link.)
The initial view in the left-hand frame is a PNG reference image of how the target WebCGM picture should appear in the right-hand frame, upon execution of the hyperlink attached to the magenta circle ("second object"). There should be no significant visual deviation between the reference image of the left frame and the view in the right frame after link activation, except for the method of highlighting the cyan triangle ("third object"). One valid method is shown -- outline the object in red. Any other visual highlighting method -- e.g., changing the color of the whole object -- is equally acceptable.