Anchor Test Site |
Images as content of hyperlinks
A sequence of hyperlinks and pictures as content like:
<a href="customers.html"><img src=
"cust.gif"></a><a href=
"reaction.html"><img src=
"react.gif"></a> etc...
Images:
Results:
since Build 651 ok
Images as content of hyperlinks
An anchor that has more than one picture as
content like:
<a href=
"/"><img src="pic6.gif"><img src=
"pic7.gif"></a>
Results:
since Build 651 ok
Hyperlinks that have to be ignored
Hyperlinks like
have to be ignored.
The follwing anchors should be ignored by the recorder
Result:
since Build 651 ok
Do not convert Url query strings to forms
Urls with an appended query string like:
<a
href="../data2html.asp?sessionid=
"203j0239j298fu398u2398u2309820398u2093u8">Link</a>
must not be converted to url strings, because the query string can hold a
sessionid which must not be hardcoded.
Use WebPageLink(...) instead.
/data2html.asp?value="randomvalue"
Results:
since Build 651 ok
Illegal nested links
<a href="http://"><a href= "http://"></a></a>
The outer anchor should be ignored. The target will be determined by the inner anchor. Anyway well known browsers add both hyperlinks to their list of anchors. When resolving this link the innermost one has to be taken.
Two possibilities that result can look like:
According to HTML specification one hyperlink
Like browsers use to handle it
since Build 651 ok
Nasty nested link
<a href="http://"><a href="http://"> link</a><a href= "http://lab4">lab4link</a> </a>
link
lab4 linkTwo hyperlinks have to be extracted:
since Build 651 ok
WebPageLink and Identification of hyperlinks
The picture is the content of a hyperlink that targets http://. The content of the second link is '' and targets http:// as well.
<a href="http://"><IMG
alt=SegueLogo border=0 src="segue.gif"></a>
<a href=
"http://"></a>
When you click the second link the recorder should create something like
WebPageLink("", "SilkPerformer Test Site")
Result should look like:
since Build 651 ok