Find As You Type Functional Tests

Welcome to the functional testcases for Find As You Type. This test suite is designed to test all features of Find As You Type. 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 slash, "/" -- this is very important! It makes Find As You Type 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 slash, is highlighted.
  3. Please wait until the green Find As You Type highlight is replaced by the normal system highlight. This should take a few seconds. When it is replaced, you may continue to test B.

Test (B)

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

Test (C)

  1. Please type the following string in without quotation marks. It shouldn't matter if you use lower or upper case. When the entire string is highlighted by the type ahead 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. It shouldn't matter if you use lower or upper case. When the entire string is highlighted by the type ahead 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 custom 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, remembering to include the single quote, "'", at the beginning: 'Embed
  8. Embed
  9. Please verify that as you type each letter, the corresponding character in the above string, excluding the single quote, is highlighted.
  10. 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
  7. Please verify that Mozilla does not find a match in the above string.
  8. 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.
  9. 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 the backspace key. 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.
  5. Continue pressing backspace until the green highlight disappears completely.
  6. Now, press M. The "M" in Mackeral should be highlighted.
  7. Press M again. It should go to the next match, "Medicine".
  8. Continue pressing M until the "M" in Mentor is highlighted.
  9. Press backspace until the green highlight disappears completely.
  10. Press M. Note that the green highlight should cover the "M" in Mackeral.
  11. Now, press F3. The "M" in Medicine should be highlighted.
  12. Press Accel+G. The "M" in Mendocino should be highlighted.
  13. Press Shift+Accel+G. The "M" in Medicine should be highlighted.
  14. Now, press Shift+F3. The M in Mackeral should be highlighted.
  15. Please wait until the green highlight has disappeared 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.
  5. Now, type P. The selection should jump to the "P" in Peru.
  6. 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 disappear.
  5. Please type the string again. When it is highlighted, press tab. The green highlight should disappear.
  6. Please type the string again. When it is highlighted, scroll down the document. The green highlight should disappear.
  7. Please type the string again. When it is highlighted, highlight any currently visible text. The green highlight should disappear.
  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 Find As You Type 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, e.g., the Mail/News application, etc.
  2. Restart 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.