Type Ahead Functional Testcases

Welcome to the functional testcases for Type Ahead Find. This test is designed to test all features of Type Ahead Find. Please be sure to read the document to the end before running the tests.

If you haven't already done so, please run the acceptance tests.

Test (A)
  1. Please type the following string without the quotation marks. Type the entire string in lowercase. Note the "/" -- this is very important! It makes type ahead find search non-linked text as well as linked text. The string is: "/123CARBONDIOXIDE"
  2. Please verify that, as you type each character, each character in the above string, excluding the "/", is highlighted.
  3. Please wait until the green typeahead find highlight is replaced by the normal system highlight. This should take a few seconds. When it is replaced, you may continue to the next step.

Test (B)

  1. Please type the following string in without quotation marks. Type the entire string in uppercase. Again, don't forget the "/". The string is: "/456OXYGEN"
  2. Please verify that, as you type each character, each character in the above string, excluding the "/", is highlighted.
  3. Please wait until the green typeahead find highlight is replaced by the normal system highlight. This should take a few seconds. When it is replaced, you may continue to the next step.

Test (C)

  1. Please type the following string in without quotation marks. The case is irrelevant. When the entire string is highlighted by the typeahead highlight, please press enter. The string is: "bmozilladotorg"

  2. bmozilladotorg

  3. Please verify that as you type each letter, the corresponding letter in the above URL is highlighted. Also, please verify that when the entire link is highlighted and you press enter, Mozilla.org's main page opens in a separate window.

Test (D)

  1. Please type the following string in without quotation marks. The case is irrelevant. When the entire string is highlighted by the typeahead highlight, please press enter. The string is: "cmailmal"

  2. cmailmal

  3. Please verify that as you type each letter, the corresponding letter in the above URL is highlighted. Also, please verify that when the entire link is highlighted and you press enter, your mail application opens up. If you are using Mozilla Mail/News, a new message composition window should appear, and the "To:" field should read "malachi@bardstowncable.net"

Test (E)

  1. This test requires editing your preferences file (prefs.js under your profile directory), so you'll need to quit Mozilla to begin.
  2. With a text editor, open your prefs.js file. Please add the string below:

  3. pref("ui.textSelectBackgroundAttention", "#33CCFF");

  4. Save the file
  5. Restart Mozilla and repeat the acceptance tests. Note that the highlight (background) color should now be this light blue.
  6. When the acceptance tests are completed and you have verified that the highlight color is properly changed, you may delete that preference. Don't forget you'll need to quit Mozilla before editing prefs.js, then restart Mozilla to see the change.
Test (F)
  1. This test requires editing your preferences file (prefs.js under your profile directory), so you'll need to quit Mozilla to begin.
  2. With a text editor, open your prefs.js file. Please locate the string below:

  3. pref("accessibility.typeaheadfind.linksonly", false);

    Change it to:

    pref("accessibility.typeaheadfind.linksonly", true);

  4. Save the file
  5. Restart Mozilla, come to this step, and type 789SearchText.
  6. Please verify that as you type each letter, the corresponding letter in the above text is highlighted.
  7. Please type the following string, excluding the spaces and quotation marks: " 'Embed "
  8. Embed

    Please verify that as you type each letter, the corresponding character in the above string, excluding the ', is highlighted.
  9. Once you have completed the above steps, please change that preference back to false. Don't forget you'll need to quit Mozilla before editing prefs.js, then restart Mozilla to see the change.
Test (G)
  1. This test requires editing your preferences file (prefs.js under your profile directory), so you'll need to quit Mozilla to begin.
  2. With a text editor, open your prefs.js file. Please locate the string below:

  3. pref("accessibility.typeaheadfind.startlinksonly", false);

    Change it to:

    pref("accessibility.typeaheadfind.startlinksonly", true);

  4. Save the file
  5. Restart Mozilla, come to this step, and type "ten"
  6. concatenate

    Please verify that Mozilla does not find a match in the above string.
  7. Once you have completed the above steps, please change that preference back to false. Don't forget you'll need to quit Mozilla before editing prefs.js, then restart Mozilla to see the change.
  8. Now, type the string "ten" again. Please verify that Mozilla finds a match in the center of the above string.
Test (H)
  1. Please type in the following letters slowly. "Mento"
  2. Mackeral
    Medicine
    Mendocino
    Mental
    Mentor
  3. Watch the above words. As you type the "M", the green highlight should be on the M in Mackeral. As you type the "e", the highlight should be on the "e" in Medicine. This pattern should continue until you have typed "Mento", when the green highlight should be on "Mentor"
  4. Press backspace. The first time you press it, the green highlight should cover "Ment" in Mental. Press it again, and note that it now covers "Men" in Mendocino. Continue pressing backspace until the green highlight dissapears completely.
  5. Now, press M. The "M" in Mackeral should be highlighted. Press M again. It should go to the next match, "Medicine". Continue pressing M until the "M" in Mentor is highlighted.
  6. Press backspace until the green highlight dissapears completely.
  7. Press M. Note that the green highlight should cover the "M" in Mackeral. Now, press F3. The "M" in Medicine should be highlighted. Press Accel+G. The "M" in Mendocino should be highlighted.
  8. Press Shift+Accel+G. The "M" in Medicine should be highlighted. Now, press Shift+F3. The M in Mackeral should be highlighted.
  9. Please wait until the green highlight has dissapeared before continuing to the next test.
Test (I)
  1. Please scroll down until you see the "Stop" text. When you reach this point, please slowly type "Pen".
  2. peninsula
    X
    X
    X
    X
    X
    X
    X
    X
    X
    X
    X
    X
    X
    X
    X
    X
    X
    X
    X
    X
    X
    X
    X
    X
    X
    X
    STOP
    pragmatic
    0
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    #
    Peru
  3. Please verify that, as you typed "Pen", the "P" in pragmatic was first highlighted, followed by the "Pe" in Peru, and then the "Pen" in peninsula.
  4. Next, scroll back up to the word "Stop". Highlight the zero under the word pragmatic. Now, type "P". The selection should jump to the "P" in Peru. Type "r". The selection should jump to the "pr" in pragmatic.
Test (J)
  1. Please type in the following string: "Green Beans"
  2. Green Beans
  3. Please verify that all of the text, both before and after the space, are highlighted.
  4. Please press escape. The green highlight should dissapear.
  5. Please type the string again. When it is highlighted, press tab. The green highlight should dissapear.
  6. Please type the string again. When it is highlighted, scroll down the document. The green highlight should dissapear.
  7. Please type the string again. When it is highlighted, highlight any currently visible text. The green highlight should dissapear.
  8. Please type the string again. Press Accel+F. Verify that the string is present in the find dialog.
If the results you obtained matched the intended results, you are finished, then you have successfully completed the Type Ahead Find Functional Testcases.

Sample deviations may include the text not being highlighted, the highlight not disappearing for a long period of time (anywhere over 3 to 6 seconds), to windows not being spawned, etc.

If, at any time, the results you obtained deviated from the proper results, follow this procedure.
  1. Quit Mozilla entirely. This means closing all running windows, eg, the Mail/News application, etc.
  2. Reatart Mozilla and return to this test page.
  3. Please rerun the tests.
If the problem persists, please follow the bug filing instructions on the main page.