Skip to content

QA Testing: Link Plugin

Jon Gunderson edited this page Mar 16, 2018 · 10 revisions

The functionality for this plugin resides mainly in the Link dialog, invoked by selecting the Link button in the second row of the toolbar.

Testing domain within the Link dialog

  • Of the three tabs in the Link dialog, only the Link tab functionality needs to be tested.
  • Within the Link tab, all three of the options provided by the Link Type select box need to be tested: URL, Link to anchor in the text and E-mail.
  • The following three sections describe how to test each of these.
  • The last section describes the string matches used in validating display text for all link types.

Link Type: URL

  • Invocation: Position cursor within paragraph (no selection) and select Link button
  • Initial state: Focus is placed within Display Text; Link Type defaults to URL

Conditions, Actions & Responses Matrix

Display Text URL User action System response & message User action System response
empty empty Select OK Warning dialog with OK button; 'Please type the display text for the link' Dismiss dialog with OK Focus: Display Text
empty test.org Select OK Warning dialog with OK button; 'Please type the display text for the link' Dismiss dialog with OK Focus: Display Text
test empty Select OK Warning dialog with OK button; 'Please type the URL for the link' Dismiss dialog with OK Focus: URL
test.org test.org Select OK Confirmation dialog with OK and Cancel buttons; 'For accessibility reasons the URL is considered a poor choice as the display text for the link. Are you sure you want to continue?' Select Cancel Focus: Display Text
test.org test.org Select OK Confirmation dialog with OK and Cancel buttons; 'For accessibility reasons the URL is considered a poor choice as the display text for the link. Are you sure you want to continue?' Select OK Link is inserted in document
test test.org Select OK Link is inserted in document n/a n/a

Link Type: E-mail

  • Invocation: Position cursor within paragraph (no selection) and select Link button
  • Initial state: Focus is placed within Display Text; select E-mail Link Type

Conditions, Actions & Responses Matrix

Display Text E-Mail Address User action System response & message User action System response
empty empty Select OK Warning dialog with OK button; 'Please type the display text for the link' Dismiss dialog with OK Focus: Display Text
empty abc@test.org Select OK Warning dialog with OK button; 'Please type the display text for the link' Dismiss dialog with OK Focus: Display Text
test empty Select OK Warning dialog with OK button; 'Please type the e-mail address for the link' Dismiss dialog with OK Focus: URL
abc@test.org abc@test.org Select OK Confirmation dialog with OK and Cancel buttons; 'For accessibility reasons the e-mail address is considered a poor choice as the display text for the link. Are you sure you want to continue?' Select Cancel Focus: Display Text
abc@test.org abc@test.org Select OK Confirmation dialog with OK and Cancel buttons; 'For accessibility reasons the email address is considered a poor choice as the display text for the link. Are you sure you want to continue?' Select OK Link is inserted in document
test abc@test.org Select OK Link is inserted in document n/a n/a

Link Type: Link to anchor in the text

  • Invocation: Position cursor within paragraph (no selection) and select Link button
  • Initial state: Focus is placed within Display Text; select Link to anchor in the text Link Type

Conditions, Actions & Responses Matrix

Display Text Select an Anchor User action System response & message User action System response
empty no anchors Select OK Warning dialog with OK button; 'Please type the display text for the link' Dismiss dialog with OK Focus: Display Text
empty no selection Select OK Warning dialog with OK button; 'Please type the display text for the link' Dismiss dialog with OK Focus: Display Text
empty sub1a Select OK Warning dialog with OK button; 'Please type the display text for the link' Dismiss dialog with OK Focus: Display Text
test no anchors Select OK Warning dialog with OK button; 'No anchors available in the document. The link will be inserted, but will not link to an anchor.' Dismiss dialog with OK Link is inserted in document
test no selection Select OK Confirmation dialog with OK and Cancel buttons; 'The link is not associated with an anchor. Do you want to continue?' Select Cancel Focus: By Anchor Name
test no selection Select OK Confirmation dialog with OK and Cancel buttons; 'The link is not associated with an anchor. Do you want to continue?' Select OK Link is inserted in document
test sub1a Select OK Link is inserted in document n/a n/a
sub1a sub1a Select OK Confirmation dialog with OK and Cancel buttons; 'For accessibility reasons, in many cases the anchor name or ID may not be a good choice as the display text for the link. Are you sure you want to continue?' Select Cancel Focus: Display Text
sub1a sub1a Select OK Confirmation dialog with OK and Cancel buttons; 'For accessibility reasons, in many cases the anchor name or ID may not be a good choice as the display text for the link. Are you sure you want to continue?' Select OK Link is inserted in document

Link Type: Any

  • Invocation: Position cursor within paragraph (no selection) and select Link button
  • Initial state: Focus is placed within Display Text; select any Link Type

Conditions, Actions & Responses Matrix

Display Text Other fields User action System response & message User action System response
click not applicable Select OK Warning dialog with OK button; 'Please replace "click" with text that describes the target of the link' Dismiss dialog with OK Focus: Display Text

Clone this wiki locally