review First Project Test Scenarios | Trello

Test Scenarios

When we write test scenarios, we can write them in the form of first person, second or third person First: You are the user. Ex, I will enter the username Second: You are talking to the users. Ex, You ar entering a username

It’s not recommended to use first person or second person Mostly, We write test scenarios, test cases or defect reports in the form of third person

Third: The user provides the username

Let’s start to wrtie scenarios

First, we write the valid scenarios then the invalid Valid scenarios or positive scenarios are the normal scenarios Ex, The user provided a correct username and correct password …

Invalid scenarios or negative scenarios are scenarios that are expected to cause errors in the system Ex, The user provided a wrong username or empty email or forgot the password …

Why not testing all invalid data together? لو دخلت كل المعلومات غلط المفروض يطلعلي error وانا مش هعرف الerror دا جاي منين بالظبط فالأحسن اني أعمل Test لكل واحدة لوحدها واخلي الباقي كله valid

Example 1

![[Sign-up [Mobile App - SRS].pdf]]

Example 2

Localization issue: An issue that occurs while testing and is related to a specific region, locale or culture.

Example 3 (Sign-up FB)

If we are testing the signup functionality on a website and it has 6 fields, What is the minimum number of test scenarios to write? 7 Dropdown lists restrict the number of inputs that a user can provide to the system, allowing us to apply a technique called equivalence partitioning, which is used in … Black box testing We have only four test scenarios in the Gender field, applying those four test scenarios makes us reach something that’s called … testing. Exhaustive It is a technique of software testing in which we divide the system into partitions, and each partition has similar output. Equivalence partitioning

![[Sign-up [Facebook Website].pdf]]

Example 4 (Sign in FB)

Interview Questions: The main difference between invalid email for registration and signin? In the registration, the word invalid email address means that this email has a wrong format, or it is already used, So you can’t register with it. In the login form, the word invalid email means that this email is not registered to the website Same for Phone number and password. In signin, there’s only one valid password, email or phonenumber In registiration, There’s a lot of valid password, email or phonenumber

Example 5 (Search Udemy)

  • In fields like the search, we need to perform more than one test scenario on the same search (like the category section in Udemy).
  • In Searching functionality, Filtering results and Sorting them are … Two different scenarios