Mobile Testing Scenarios

 

Positive Scenarios

  1. Valid Input

    • Scenario: The user enters a string of 50 characters.
    • Expected Outcome: The text is accepted without any issues. Clicking "OK" saves the text, and clicking "Close" dismisses the input without saving.
  2. Maximum Character Limit

    • Scenario: The user enters exactly 100 characters.
    • Expected Outcome: The text is accepted without any issues. Clicking "OK" saves the text, and clicking "Close" dismisses the input without saving.
  3. Empty Field

    • Scenario: The user leaves the text field empty.
    • Expected Outcome: Clicking "OK" prompts an appropriate message to the user about the required input, and clicking "Close" dismisses the prompt without saving.
  4. Special Characters

    • Scenario: The user enters special characters (e.g., @#$%^&*).
    • Expected Outcome: The text is accepted and treated like any other input. Clicking "OK" saves the text, and clicking "Close" dismisses the input without saving.
  5. Whitespace Handling

    • Scenario: The user enters a string with leading, trailing, and multiple spaces between words.
    • Expected Outcome: The text is accepted, and leading/trailing spaces are either trimmed (depending on the specification) or kept as they are. Clicking "OK" saves the text, and clicking "Close" dismisses the input without saving.
  6. Alphanumeric Input

    • Scenario: The user enters a combination of letters and numbers.
    • Expected Outcome: The text is accepted without any issues. Clicking "OK" saves the text, and clicking "Close" dismisses the input without saving.

Negative Scenarios

  1. Character Limit Exceeded

    • Scenario: The user enters 101 characters.
    • Expected Outcome: The system prevents the user from entering more than 100 characters, or displays an error message indicating the character limit has been exceeded.
  2. Invalid Characters

    • Scenario: The user enters characters that are not allowed by the application (if any, like emojis or certain symbols).
    • Expected Outcome: The system rejects these characters or displays an error message indicating the invalid characters.
  3. System Performance

    • Scenario: The user rapidly enters and deletes text in the field multiple times.
    • Expected Outcome: The system handles the rapid input and deletion without crashing or slowing down.
  4. Error Handling for Network Issues

    • Scenario: The user enters text and tries to save it (clicks "OK") when there is no network connectivity (if saving requires network access).
    • Expected Outcome: The system displays an appropriate error message indicating the network issue and does not lose the entered text.
  5. Input During System Interruption

    • Scenario: The user enters text and a system interruption occurs (e.g., an incoming call or notification).
    • Expected Outcome: The text input is preserved and the system resumes normal function after the interruption.
  6. Screen Rotation

    • Scenario: The user enters text and then rotates the device (from portrait to landscape or vice versa).
    • Expected Outcome: The text input is preserved during and after the rotation, and the field adapts to the new orientation.
  7. Accessibility Features

    • Scenario: The user is using a screen reader or other accessibility features while entering text.
    • Expected Outcome: The text field and buttons are fully accessible, and the screen reader correctly reads out the text field content and button actions.
  8. Low Battery or Resource Constraints

    • Scenario: The user enters text while the device is on low battery or under heavy resource constraints.
    • Expected Outcome: The system continues to function without crashing or significant performance degradation.

Additional Considerations

  1. Input Persistence

    • Scenario: The user enters text and switches to another app or the app is sent to the background.
    • Expected Outcome: Upon returning to the app, the text input is still present.
  2. Multilingual Input

    • Scenario: The user enters text in different languages (e.g., Chinese, Arabic).
    • Expected Outcome: The text is accepted and displayed correctly without any issues.

Comments

Popular posts from this blog

Technologies Use for Money transfer

Mobile Testing Questions

Install Native app into Android Device