Functional Testing Scenarios

Element Purpose Positive Scenario Negative Scenario
Button Triggers an action when pressed. Enter key functions as submit; Tab moves focus to the next element. Enter or Tab does not function as expected.
Input field Used to transmit information and interact with the application. Trimming whitespace in input fields works correctly; all editing methods (Insert, Delete, etc.) function properly. Leading/trailing spaces remain; input doesn't allow all editing methods (Ctrl+C/V, etc.); improper handling of fractions (1.5 | 1,5 | ⅕).
Search Allows users to quickly find relevant information. Wildcard symbols (*, ?) work as expected; search queries with or without spaces or hyphens return the same results; input in different keyboard layouts is handled correctly. Wildcard symbols do not function; search with different formatting (spaces, hyphens) returns inconsistent results; incorrect handling of alternative keyboard layouts.
Login form Enables users to access specific features or restricts their access. Inputting correct credentials allows access to restricted features; incorrect inputs result in appropriate error messages. Error messages do not appear for incorrect inputs; incorrect validation for special characters or excessive input lengths.
Calendar For selecting dates (e.g., tickets, reservations). Correctly handles invalid dates (e.g., June 31, February 29 in non-leap year); prevents selection of past dates. Allows selection of invalid dates; users can purchase tickets for past dates.
Date and time Displays schedules, such as transport arrival times. Time is synced correctly with the server, regardless of user time zone; correctly handles changes in time zones. Time displayed is incorrect due to time zone mismatches; synchronization errors with server time.
Error messages Inform the user of incorrect application functionality or user actions. Error messages are clear, informative, and easy to understand; appear when browser settings disable certain functionalities. Error messages are vague or fail to appear when browser settings affect functionality.
Pop-ups and tooltips Guide the user through the appropriate scenario. Pop-ups close correctly using various methods (clicking button, "X", ESC key, clicking outside the pop-up). Pop-ups remain on screen or cause errors when trying to close them using different methods; refreshing the page during server requests causes errors (e.g., during a purchase transaction).