Independently complete software function testing (4)

Independently complete software function testing (4)

(12.14) (Functional test====>Toutiao project actual combat)

  1. Project overview

    1. Project background and positioning: A user mobile terminal product that brings together scientific and technological consultation, technical articles and Q&A exchanges. Users can obtain the latest scientific and technological information, publish or learn technology, and exchange technical issues through this system.

    2. Project goal: develop and run online, and use testing technology to perform functional testing on this system

    3. Architecture

      1. User front desk (APP): content recommendation, search, channel management, content prompts, personal viewing, questions, personal center, system settings.

      2. Self-media front desk (PC side): content publishing, management, fan management, comment management, data analysis, my benefits, private message management, and material management.

      3. System backend (PC side, used by operation managers): user management, information management, approval management, announcement management, customer service management, and system management.

  2. Project functional testing

    1. Test object

      • Complete Toutiao web login function test
    2. Login requirements

      Insert image description here

      1. Enter the mobile phone number and verify when the text box loses focus. Red means failure and green means unsuccessful.
      2. Click to send verification code
        • If the status of the mobile phone number text box is green, "Click the button and verify" will pop up.
        • If the colors are the same, it will prompt that the mobile phone number is incorrect.
      3. Click the button and verify
        • Drag the image to the specified location and the button disappears
        • If the dragged picture does not reach the specified position, shake the reminder and the slider will return to the initial position.
        • More than 5 times, it will prompt too many attempts, click to try again.
    3. Test steps:

      • Analyze requirements
      • Extract test points
      • Design use cases
      • Use case review
      • Execute use case
      • Defect management
      • testing report
    4. analyze

      1. Login slider module (login 1+9; slider 1+4) 15 use cases
        • Function
          • Phone number
            • Forward: Registered mobile phone number
            • Reverse
              • Is empty
              • 11 is not a natural number (please enter the correct mobile phone number)
              • 10-digit natural number (not registered)
              • 12-digit natural number (not registered)
              • Correct No registered mobile number
          • Verification code
            • Forward: correct
            • Reverse:
              • Is empty
              • mistake
              • Expired
          • protocol
            • Forward: Check
            • Reverse: unchecked
          • Slider (Purpose: Verification code sent successfully)
            • Forward: swipe to the specified location and successfully send the verification code. The verification code is sent successfully.
            • Reverse: Failed to send verification code (slider does not specify position) (4 test cases)
        • Non-functional: (8 use cases)
          • Compatibility: 5 major browsers (no need to consider operating system compatibility)
          • Interface layout:
            • The layout is consistent with the ui prototype
            • The pictures and text are accurate and the UI prototype is correct
        • performance
        • Safety
  3. Test cases for web login function

    use case number Use case title Project/Module priority Preconditions Test steps Test Data expected outcome
    tt_login_001 Login function Log in P0 1. Open the login interface 2. The mobile phone number has been registered 1. Enter your mobile phone number 2. Click to send verification code 3. Click the slider button 4. Slide the slider 5. Enter the verification code 6. Check the agreement 7. Click to log in 1. Mobile phone number: registered mobile number 2. Verification code: correct value 1. Log in successfully and jump to the personal homepage 2. The mobile phone number text box loses focus and turns green
    tt_login_002 Login failed (mobile phone number is empty) Log in P1 1. Open the login interface 1. Enter the mobile phone number 2. Click to send verification code (unverified background) 3. Enter the verification code 4. Check the agreement 5. Click to log in 1. Mobile phone number: empty 2. Verification code: 12344 1. Login failed, mobile phone number cannot be empty 2. Mobile phone number text box loses focus and turns red 3. Button cannot be clicked
    tt_login_003 Login failed (11-digit non-natural number) Log in P1 1. Open the login interface 1. Enter the mobile phone number 2. Click to send verification code (unverified background) 3. Enter the verification code 4. Check the agreement 5. Click to log in 1. Mobile phone number: 1368756998a 2. Verification code: 12344 1. Login failed, please enter the correct mobile phone number. 2. The mobile phone number text box has lost focus and is red. 3. The button cannot be clicked.
    tt_login_004 Login failed (10 digit natural number) Log in P1 1. Open the login interface 1. Enter the mobile phone number 2. Click to send verification code (unverified background) 3. Enter the verification code 4. Check the agreement 5. Click to log in 1. Mobile phone number: 1368756998 2. Verification code: 12344 1. Login failed and the mobile phone number is not registered. 2. The mobile phone number text box loses focus and is red. 3. The button cannot be clicked.
    tt_login_005 Login failed (12-digit mobile phone number) Log in P1 1. Open the login interface 1. Enter the mobile phone number 2. Click to send verification code (unverified background) 3. Enter the verification code 4. Check the agreement 5. Click to log in 1. Mobile phone number: 136875699800 2. Verification code: 12344 1. Login failed and the mobile phone number is not registered. 2. The mobile phone number text box loses focus and is red. 3. The button cannot be clicked.
    tt_login_006 Login failed (11 digits of unregistered mobile phone number) Log in P1 1. Open the login interface 1. Enter the mobile phone number 2. Click to send verification code (unverified background) 3. Click the slider 4. Drag the slider 5. Enter the verification code 6. Check the agreement 7. Click to log in 1. Mobile phone number: 136875699800 2. Verification code: 12344 1. Login failed and the mobile phone number is not registered. 2. The mobile phone number text box loses focus and is red. 3. The button cannot be clicked.
    tt_login_007 Login failed (verification code is empty) Log in P1 1. Open the login interface 1. Enter your mobile phone number 2. Click to send verification code 3. Enter verification code 4. Check the agreement 5. Click to log in 1. Mobile phone number: 136875699809 2. Verification code: empty 1. The login failed and the verification code is empty. 2. The mobile phone number text box lost focus and turned red. 3. The button cannot be clicked.
    tt_login_008 Login failed (verification code error) Log in P1 1. Open the login interface 1. Enter your mobile phone number 2. Click to send verification code 3. Enter verification code 4. Check the agreement 5. Click to log in 1. Mobile phone number: 136875699809 2. Verification code: error 1. Login failed, verification code is wrong 2. Mobile phone number text box loses focus and turns green
    tt_login_009 Login failed (verification code invalid) Log in P1 1. Open the login interface 2. The verification code has timed out 1. Enter your mobile phone number 2. Click to send verification code 3. Click the slider 4. Drag the slider 5. Enter the verification code 6. Check the agreement 7. Click to log in 1. Mobile phone number: 136875699809 2. Verification code: Expired 1. Login failed and the verification code expired. 2. The mobile phone number text box lost focus and turned green.
    tt_login_010 Login failed (agreement not agreed) Log in P1 1. Open the login interface 1. Enter your mobile phone number 2. Click to send verification code 3. Click the slider 4. Drag the slider 5. Enter the verification code 6. Agreement 7. Click to log in 1. Protocol: Uncheck 2. Others: Correct operation 1. Login failed, please check the agreement 2. The mobile phone number text box loses focus and turns green
    tt_login_011 Displays and functions normally (Google) Log in P2 1. Install Google Chrome 2. Use Google Chrome to open the login interface 1. Check whether the login page is displayed normally. 2. Check whether the login using Google Chrome is successful. 1. Display and UI 2. Login: correct account and verification code 1. Display normal 2. Login successful
    tt_login_012 Displays and functions normally (IE) Log in P2 1. Install IE browser 3. Use Google Chrome to open the login interface 1. Check whether the login page displays normally. 3. Check whether the login using IE browser is successful. 1. Display and UI 2. Login: correct account and verification code 1. Display normal 2. Login successful
    tt_login_013 Displays and functions normally (Firefox) Log in P2 1. Install Firefox 4. Use Firefox to open the login interface 1. Check whether the login page displays normally. 4. Check whether the login using Firefox browser is successful. 1. Display and UI 2. Login: correct account and verification code 1. Display normal 2. Login successful
    tt_login_014 Displays and functions normally (Apple) Log in P2 1. Install Apple Chrome 5. Use Google Chrome to open the login interface 1. Check whether the login page displays normally. 5. Check whether the login using Safari is successful. 1. Display and UI 2. Login: correct account and verification code 1. Display normal 2. Login successful
    tt_login_015 Displays and functions normally (Ege) Log in P2 1. Install Ege browser 6. Use Ege browser to open the login interface 1. Check whether the login page displays normally. 6. Check whether the login using Ege browser is successful. 1. Display and UI 2. Login: correct account and verification code 1. Display normal 2. Login successful
    tt_login_016 Display and function are normal (Open) Log in P2 1. Install Open Browser 7. Use Open Browser to open the login interface 1. Check whether the login page displays normally. 7. Check whether the login using Open browser is successful. 1. Display and UI 2. Login: correct account and verification code 1. Display normal 2. Login successful
    tt_login_017 Display consistent with UI (layout) Log in P3 1. Open the page 2. Open the UI prototype 1. Check the page layout Product prototype layout data The page is consistent with the prototype UI
    tt_login_018 The display is consistent with the UI (pictures and text) Log in P3 1. Open the page and open the UI prototype 1. Check the page pictures and text Product prototype layout data, real data The page is consistent with the real data
    tt_login_019 The verification code was sent successfully (slide the slider to the specified position) slider P0 1. Enter the correct mobile phone number 2. Open the slider interface Drag the slider to the specified vacant position 1.Mobile phone number: correct format Mobile phone number successfully obtained verification code
    tt_login_020 The verification code was sent successfully (the slider did not slide to the specified position once) slider P1 1. Enter the correct mobile phone number 2. Open the slider interface Dragging the slider does not slide to the specified vacant position 1.Mobile phone number: correct format 1. Failed to obtain verification code with mobile phone number 2. Slider shaking effect 3. Return to initial position
    tt_login_021 The verification code was sent successfully (the slider did not slide to the specified position three times) slider P1 1. Enter the correct mobile phone number 2. Open the slider interface Dragging the slider three times did not slide to the specified vacant position. 1.Mobile phone number: correct format 1. Failed to obtain verification code with mobile phone number 2. The slider shakes three times 3. Return to the initial position
    tt_login_022 The verification code was sent successfully (the slider did not slide to the specified position five times) slider P1 1. Enter the correct mobile phone number 2. Open the slider interface Dragging the slider five times does not slide to the specified vacant position. 1.Mobile phone number: correct format 1. Failed to obtain verification code with mobile phone number 2. The slider shakes five times 3. Return to the initial position
    tt_login_022 The verification code was sent successfully (the slider did not slide to the specified position six times) slider P1 1. Enter the correct mobile phone number 2. Open the slider interface Dragging the slider six times did not slide to the specified vacant position. 1.Mobile phone number: correct format 1. Failed to obtain verification code with mobile phone number 2. The slider shakes 5 times 3. The sixth time the slider interface disappears, the slider button prompts to try again
  4. Completed Toutiao web article publishing function test

    1. Use case design analysis

      Insert image description here

      Insert image description here

    2. Use case design

      Insert image description here

      Insert image description here

      Insert image description here

      Insert image description here

Guess you like

Origin blog.csdn.net/weixin_52154534/article/details/134985279