M
M
Mary Solar2016-08-21 20:49:20
Software testing
Mary Solar, 2016-08-21 20:49:20

How to describe a test case?

It is necessary to test the functionality in one application - choosing a photo when adding an ad. Next to the button is a requirement that I can upload no more than five photos.
Situation one:
I am writing the steps:
1. Click on the button with the camera under the field "Cost in rubles".
2. The "Add Photo" pop-up window appeared. Click on "Select from Gallery".
3. A pop-up window "Select an application" appeared. Select "Gallery".
4. Select a photo.
5. Do steps 1 through 4 four more times (choose 4 more photos).
Question ONE- is it worth describing the procedure for adding each photo (a tab popped up, click, add and blah blah) or is it enough to correctly describe the point in which it is worth doing all the previous steps several times? (Item five Do steps 1 through 4 five more times (choose 5 more photos).)
Situation two: since I have 5 photos at the most, I need to conduct a negative test - what happens if I add six photos?
I am writing the steps:
1. Click on the button with the camera under the field "Cost in rubles".
2. The "Add Photo" pop-up window appeared. Click on "Select from Gallery".
3. A pop-up window "Select an application" appeared. Select "Gallery".
4. Select a photo.
5. Do steps 1 to 4 five more times (choose 5 more photos) (or whatever you need to do it right).
Question TWO - in theory, the program should display an error for me, something like "hehey, you can't add more than 5 photos." But the program reacts differently - next to the "add photo" button, I add these ill-fated six photos, although it is clearly written next to it - no more than five. At the same time, clear requirements are unknown - whether this is a bug or a feature.
Personally, in this situation, I have a feeling that this is a clear bug.
But here's what happens next - we're trying to add an ad, right? All fields are filled, photos are added, ad is added. And that's what we see - in our review, not six, but FIVE photos have been added. That is, in theory, everything works as it should.
Tell me - what to do in the above situations and how to solve the problem?
Thanks in advance! :)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
perguunt, 2016-08-26
@MaryT

More context is needed:
1) this is a spherical situation in a vacuum (that is, this case just came to your mind)
2) this is a question from an interview, from a test, an exam,
3) this is a real life situation
...
n) something else. ..

H
Hercules Leopardovich, 2016-09-02
@HerculesH

From what I've read. I see at least 3 bugs: 1) limit values ​​2) program requirements ignored 3) no error message (limit 5) The fact that everything works does not mean that it is normal. Write to me, I will help in any way I can, here it is possible to write at least 8-12 cases (negative positive) Your cases are not written very well...

T
Temirlan Savitov, 2018-07-05
@tim312

Attach more screenshots and make a video with a description!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question