Testing a Textfield in 10 points

By | August 26, 2008

I’ll post some tips about testing during the time I learn. So if you have any comments or tips to add, feel free to comment!

Here a 10 values I submit to test a textfield:

  1. An empty value ()
  2. Zero (0)
  3. A string made of whitespace (   )
  4. String containing spaces (foo bar)
  5. Name containing special chars (♥♠♣♦)
  6. Chars with accents ( ä, ö, ü / Ä, Ö, Ü, ß, Ñ, Á, Â, Ã, À, Ç, É, Ê, Í, Ó, Ô, Õ, Ú, Ü, œ, æ, à, â, ç, é, è, ê, ë, î, ï, ô, û, ù, ü, ÿ)
  7. ‘Foreign’ chars(新 闻 – भारत)
  8. A string length between 0 and 255 chars
  9. A string length bigger than 255 chars
  10. A string length bigger than 99999 chars

Have more general test for texfield in mind?

Ahmet

 
0 Kudos
Don't
move!

5 thoughts on “Testing a Textfield in 10 points

  1. Fab

    Hi Ahmet,
    It’s nice to know that you’re well at Micro$oft.

    For your tests, I have the 11th :
    A String which is a number 😉

    Reply
  2. CRT

    Yea, some dev folks overlook the fact that you can put this in the text fields:

    HI

    Does some interesting things when you do.

    Reply
  3. CRT

    SEE

    OK – was putting body text brackets for html in front of and behind the HI.

    Reply
  4. Ahmet Post author

    Very good point, inseting HTML or injecting SQL can be interesting tests to pass, depending of the context.

    Thanks for highlighting this.

    Reply

Thoughts?