Announcement

Collapse
No announcement yet.

Write functionality (not GUI) test cases for "Find" text box in Notepad - as many as

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • AlexGrossu
    replied
    REQUIREMENTS
    - no search string - "Find Next" button is disabled
    - input data into "Find what" field - "Find Next" button is enable
    - search UP/Match
    - search UP/NO Match
    - search DOWN/Match
    - search DOWN/NO Match


    Test Data:
    user
    User
    USER

    Pre-Condistions:
    - test data is entered
    - each test case starts with cursor placed at the beginning of the document


    Test cases:

    ID Purpose Instruction Expected

    1. no search string into "Find what" field "empty field" " Find Next" button is disabled
    2. input data into "Find what" field type "user" "Find Next" button is enable

    3. search UP/MATCH cursor pointer at the end of document "User" found is selected
    open the "Find" dialog box
    set UP/MATCH
    type "User"
    push "Find Next" button

    4 search UP/NO MATCH cursor pointer at the end of doc. "USER" found is selected
    open the "Find" dialog box
    set UP/MATCH
    type "User"
    push "Find Next" button

    5. search DOWN/MATCH cursor pointer at the beginning of doc "User" found is selected
    open the "Find" dialog box
    set DOWN/MATCH
    type "User"
    push "Find Next" button

    6. search DOWN/NO MATCH cursor pointer at the beginning of doc. "user" found is selected
    open the "Find" dialog box
    set DOWN/MATCH
    type "USER"
    push "Find Next" button
    Last edited by AlexGrossu; 08-20-2019, 07:09 PM.

    Leave a comment:


  • hanksanders
    replied
    TEST CASES:

    1. Find ''Journey'' when ''Match case'' and ''Down'' are selected.
    Instructions:
    1. Enter the test data.
    2. Open ''Find'' text box.
    3. Set ''Match'' and ''Down''.
    4. Input ''Journey''.
    5. Push the ''Find next'' button.
    Expected result: the ''Journey'' is found.

    2. Find ''Journey'' when ''Match case'' and ''Up'' are selected.
    Instructions:
    1. Enter the test data.
    2. Open ''Find'' text box.
    3. Set ''Match'' and ''Up''.
    4. Input ''journey''.
    5. Push the button ''Find next''.
    Expected result: the ''journey'' isn't found.

    3. Find ''journey'' when ''Down'' is selected only.
    Instructions:
    1. Enter the test data.
    2. Open ''Find'' text box.
    3. Set ''Down''.
    4. Input ''journey''.
    5. Push the button ''Find next''.
    Expected result: the ''journey'' is found.

    4. Find ''journey'' when ''Up'' is selected only.
    Instructions:
    1. Enter the test data.
    2. Open ''Find'' text box.
    3. Set ''Up''.
    4. Input ''journey''.
    5. Push the button ''Find next''.
    Expected result: the ''journey'' is found.

    5. Find more than 1 value with a button ''Find next''.
    Instructions:
    1. Enter the test data.
    2. Open ''Find'' text box.
    3. Set ''Up''.
    4. ''Match is disable''.
    5. Input ''Journey''.
    6. Push the button ''Find next'' two times.
    Expected result: two values are found.

    Leave a comment:


  • SergeAleksandrov
    replied
    Requirements:
    1. The search field "Find what" can be sensitive to the case
    2. The search field "Find what" can be insensitive to the case
    3. The direction of the search: top-down and bottom-up
    4. The possibility to select value in the search field
    5. The multiple searches with the button "Find next"
    6. The error message "Cannot find..." appears when required

    Test data:
    Ocean
    ocean

    Pre-conditions:
    1. The test data is entered
    2. The mouse pointer is placed at the beginning of the document

    (GUI)
    1. Make sure the button "Find Next" from the search field "Find" is disabled if the text field "Find what" is empty

    (Functional)
    1. Find "Ocean" when "Match case" and "Down" are selected
    Instruction: 1.enter the test data; 2.pointer at the beginning; 3.set "Match" and "Down"; 4.input "Ocean";
    5.push the button "Find next".
    Expected result: the "Ocean" is found

    2. Find "Ocean" when "Match case" and "Up" are selected
    Instruction: 1.enter the test data; 2.pointer at the end of the document; 3.set "Match" and "Up"; 4.input "ocean";
    5.push the button "Find next".
    Expected result: the "ocean" isn't found

    3. Find "ocean" when "Down" is selected only
    Instruction: 1.enter the test data; 2.pointer at the beginning; 3.set "Down"; 4.input "ocean";
    5.push the button "Find next"
    Expected result: the "ocean" is found

    4. Find the word "ocean" when "Up" is selected only
    Instruction: 1.enter the test data; 2.pointer at the end; 3.set "Up"; 4.input "Ocean";
    5.push the button "Find next"
    Expected result: the "Ocean" is found

    5. Select value in the search field "Find what"
    Instruction: 1.input "Ocean"; 2.select the value
    Expected result: selected

    6. Find more than 1 value with a button "Find next"
    Instruction: 1.enter the test data; 2.pointer at the end; 3.set "Up", "Match is disable"; 4.input "Ocean";
    5.push the button "Find next" two times
    Expected result: two values are found

    7. Make sure The error message "Cannot find..." appears when required
    Instruction: 1.enter the test data; 2.pointer at the end; 3.set "Up"; 4.input "See";
    5.push the button "Find next".
    Expected result: error message "Cannot "find see"
    Last edited by SergeAleksandrov; 05-23-2017, 02:58 PM.

    Leave a comment:


  • guest1986
    replied
    Functionality test cases for "Find" text box in Notepad

    REQUIREMENTS:
    1. user can search down
    2. user can search up
    3. search can be case sensetive
    4. search can be case insensetive
    5. the found string gets selected
    6. multiple occurances of same string ("find next" button)
    7. "cannot find ..." message provided when needed
    8. default value provided (most recently searched string)

    DATA:
    first name
    FIRST NAME
    First Name

    Pre-req. :
    - create a notepad file with specified text inside.
    - each test case beging with mouse pointer placed in the beginning of the document

    TEST CASES:

    ID 1.
    Purpose: searching Up/Match
    Steps/Instructions: pointer to END of doc=> open "Find"=> set "Match case" and "Up" direction=> type FIRST=> push "Find next" button
    Expected Result: FIRST is found/selected

    ID 2.
    Purpose: searching Up/No match
    Steps/Instructions: pointer to END of doc=> open "Find"=> set "NO Match case" and "Up" direction=> type FIRST=> push "Find next" button
    Expected Result: word "First" will be found, which is closest to the end of doc, no matter what case is has upper or lower.

    ID 2a)
    Purpose: searching Up/No match after pushing "Find next" button second time in row
    Steps/Instructions: pointer to END of doc=> open "Find"=> set "NO Match case" and "Up" direction=> type FIRST=> push "Find next" button (observe "First" chosen word)=> push "Find next' (observe "FIRST" chosen word)
    Expected Result: after second clicking on buttong "Find next" second word "FIRST" is chosen

    ID2b)
    Purpose: searching Up/No match after pushing "Find next" button third time in row
    Steps/Instructions: pointer to END of doc=> open "Find"=> set "NO Match case" and "Up" direction=> type FIRST=> push "Find next" button (observe "First" chosen word)=> push "Find next' second time (observe "FIRST" chosen word) => push "Find next" button third time (observe "first" chosen word)
    Expected Result: after third clicking on button "Find next" third word "first" is chosen

    ID 3.
    Purpose: searching Down/Match
    Steps/Instructions: pointer to Beginning of doc=> open "Find"=> set "Match case" and "Down" direction=> type FIRST=> push "Find next" button
    Expected Result: word "FIRST" is chosen/selected


    ID 4.
    Purpose: searching Down/No match
    Steps/Instructions: pointer to Beginning of doc=> open "Find"=> set "NO Match case" and "Down" direction=> type FIRST=> push "Find next" button
    Expected Result: word "first" will be found, which is closest to the end of doc, no matter what case is has upper or lower.

    ID 4a)
    Purpose: searching Up/No match after pushing "Find next" button second time in row
    Steps/Instructions: pointer to Beginning of doc=> open "Find"=> set "NO Match case" and "Down" direction=> type FIRST=> push "Find next" button (observe "first" chosen word)=> push "Find next' (observe "FIRST" chosen word)
    Expected Result: after second clicking on buttong "Find next" second word "FIRST" is chosen

    ID 4b)
    Purpose: searching Up/No match after pushing "Find next" button third time in row
    Steps/Instructions: pointer to Beginnig of doc=> open "Find"=> set "NO Match case" and "Down" direction=> type FIRST=> push "Find next" button (observe "first" chosen word)=> push "Find next' second time (observe "FIRST" chosen word) => push "Find next" button third time (observe "First" chosen word)
    Expected Result: after third clicking on button "Find next" third word "First" is chosen

    ID 5
    Purpose: verify friendly message "Cannot find "FIRST"" appears after system found specified word already and there is no the same words in the text to be found.
    Steps/Instructions: pointer to END of doc=> open "Find"=> set "Match case" and "Up" direction=> type FIRST=> push "Find next" button (observe "FIRST" is found)=> push "Find next" button again (observe message "Cannot find "FIRST")
    Expected Result: message "Cannot find "FIRST"" appears after system found specified word already and there is no the same words in the text to be found.

    ID 6
    Purpose: "Cancel" button is working
    Steps/Instructions: pointer to END of doc=> open "Find"=> set "Match case" and "Up" direction=> type FIRST=> push "Cancel" button
    Expected Result: "Find" dialog box disapears and mouse pointer still in the end of doc (same position).

    ID 7
    Purpose: "X" (close "Find" dialog box) button is working
    Steps/Instructions: pointer to END of doc=> open "Find"=> set "Match case" and "Up" direction=> type FIRST=> push "X" close button on the top right side of the "Find" dialog box.
    Expected Result: "Find" dialog box disapears and mouse pointer still in the end of doc (same position).

    ID 8
    Purpose: to verify that default value (recent search) is provided when "Find" dialog box is opened
    Steps/Instructions: pointer to END of doc=> open "Find"
    Expected Result: observe default value "FIRST" in the "Find what" text field.

    Leave a comment:


  • a1996nton
    replied
    Test cases

    My test cases
    Attached Files

    Leave a comment:


  • Write functionality (not GUI) test cases for "Find" text box in Notepad - as many as

    REQUIREMENTS:
    1. user can search down
    2. user can search up
    3. search can be case sensetive
    4. search can be case insensetive
    5. the found string gets selected
    6. multiple occurances of same string ("find next" button)
    7. "cannot find ..." message provided when needed
    8. default value provided (most recently searched string)

    DATA:

    TEST CASES:
Working...
X