Sunteți pe pagina 1din 3

Text field generic tests:

Description: the text field can contain only alphanumeric values and can be x
chars long. Pressing the Send button will send the information to the database.

Purpose: Be sure that the correct values can be updated, and wrong data is
filtered.

Initialization: Open the application and navigate to the relevant field.

Positive tests:

# Step Expected Result


1. Enter an alphabetical value, as Value is accepted and entered into the
“metaphysical”. Press Send. DB in full and in the same order.
2. Enter a numeral value, as Value is accepted and entered into the
“0123456789”. Press Send. DB in full and in the same order.
3. Enter an alphanumeric value, Value is accepted and entered into the
as DB in full and in the same order.
“m0e1t2a3p4h5y6s7i8c9a0l”.
Press Send.
4. Enter a letter, as “k”. Press Value is accepted and entered into the
Send. DB in full and in the same order.
5. Enter a digit, as “0”. Press Value is accepted and entered into the
Enter. DB in full and in the same order.
6. Enter an alphanumeric value Value is accepted and entered into the
with the length of X. DB in full and in the same order.
7. Repeat #6 with only digits. Value is accepted and entered into the
DB in full and in the same order.
8. Repeat #6 with only Value is accepted and entered into the
alphabetical chars. DB in full and in the same order.
9. Enter an alphanumeric value Value is NOT accepted and NOT
with the length of X+1. entered into the DB. Appropriate
notification message appears.
10. Repeat #9 with only digits. Value is accepted and entered into the
DB in full and in the same order.
11. Repeat #9 with only Value is accepted and entered into the
alphabetical chars. DB in full and in the same order.
12. Copy from word and paste an Value is accepted and entered into the
alphanumeric value, as DB in full and in the same order.
“m0e1t2a3p4h5y6s7i8c9a0l”.
Press Enter.
13. Repeat 4, 5 and 9 by copying Same relevant results.
and pasting.
Negative tests:

# Step Expected Result


14. Enter a none alphanumeric Value is NOT accepted and NOT
value, as “-”. Press Send. entered into the DB. Appropriate
notification message appears. A better
program will NOT let you enter these
chars to begin with.
15. Repeat #14 with this and other Value is NOT accepted and NOT
chars, separately: entered into the DB. Appropriate
!@$%^&*()♥͖ λϝʐ 핾 notification message appears. A better
program will NOT let you enter these
chars to begin with.
16. Enter a none alphanumeric Value is NOT accepted and NOT
value, as “-” between legal entered into the DB. Appropriate
characters, as: notification message appears. A better
m0e(1t2a3p4h5y6s7i8c9a0l. program will NOT let you enter these
Press Send. chars to begin with.
17. Enter a space at the beginning Value is NOT accepted and NOT
of an alphanumeric value entered into the DB. Appropriate
notification message appears. A better
program will NOT let you enter these
chars to begin with.
18. Repeat #17 with the space in Value is NOT accepted and NOT
the middle and end. entered into the DB. Appropriate
notification message appears. A better
program will NOT let you enter these
chars to begin with.
19. Paste from word text with Value is NOT accepted and NOT
none alphanumeric chars, with entered into the DB. Appropriate
Enter (2 lines) and tab notification message appears. A better
program will NOT let you enter these
chars to begin with.
20. Enter text and try to move to Relevant message: Are you sure you
another page. want to move….
21. Enter specific letters as ë Depends on your requirements…

Monkey testing:
# Step Expected Result
22. Enter an alphanumeric value, Value is NOT accepted and NOT
as entered into the DB. Appropriate
“m0e1t2a3p4h5y6s7i8c9a0l”. notification message appears.
Press Send fast for 5 times. The multi pressing has no affect.
23. Enter an alphanumeric value, Value is NOT accepted and NOT
as entered into the DB. Appropriate
“m0e1t2a3p4h5y6s7i8c9a0l”. notification message appears.
Press Enter fast for 5 times. The multi pressing has no affect.
24. Enter random text fast and Verify the correct values enter the
press enter again and again. database, the forbidden are not.
Sometime with forbidden chart
25. Move to the text field page and Verify the correct values enter the
try to enter a text as fast as database, the forbidden are not.
you can and press enter.
26. Try to paste a picture Relevant message.

S-ar putea să vă placă și