O
O
OlgaComrade2020-04-20 13:04:37
Software testing
OlgaComrade, 2020-04-20 13:04:37

What is the negative scenario presented?

For example, we are given to test the search string.

There are scenarios:
1. The user entered something, he was offered the results and he pressed the cancel button
2. The user entered more than the allowed number of characters
3. The user entered only spaces and clicked on search
4. The user entered invalid specials. characters
5. The user entered a string that returned an empty result set

Do I understand correctly that the negative scenarios here will be 2, 4?
And the rest of the scenarios are essentially special cases, but not negative ones?
Do we always have to get some kind of error in order for a case to be classified as negative? If not, please provide an example

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor Ommonik, 2020-04-20
@Ommonick

Positive scenarios - those scenarios that are implied by the business
- the result of the search query
- an empty result if nothing was found for an adequate query (as far as special characters and a space are considered an adequate query - it is written in the documentation)
Negative scenarios - those that imply that an error has occurred at some level of interaction. you won’t produce many of them in the search:
- incorrect request (a lot of characters, although there should probably be a string processing and the script will then flow into positive ones)
- timeout / connection loss (again, you can add the ability to cache the request and the case will become positive)
- if there are and need authentication - no result if authentication fails

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question