FREE Subscription to Dr. Dobb’s Digest: Same Great Content, New Digital Edition
Site Archive (Complete)
Testing & Debugging Blog: You Are Not Done Yet: Text Entry Fields
Testing and Debugging
BREAKPOINTS

Test, Debug, Release, Rinse, Repeat ...

by Kevin Carlson
THE BOOK OF TESTING

Thoughts From a Braidy Tester

by Michael Hunter
May 15, 2006

You Are Not Done Yet: Text Entry Fields

You are not done testing yet unless...

You have covered the following boundary conditions for every text entry field in your application. (Don't forget about editable combo boxes!)


  • Zero characters

  • One character

  • Two characters

  • Some characters

  • Many characters

  • One less than the maximum allowed number of characters

  • The maximum allowed number of characters

  • One more than the maximum allowed number of characters

  • Spaces in the text

  • Symbols (e.g., colon, underscore) in the text

  • Punctuation in the text

  • ASCII characters

  • High ASCII characters

  • German characters

  • Japanese characters

  • Hebrew characters

  • Arabic characters

  • Unicode characters from multiple character ranges

  • Control characters


Text handling can be fraught with errors. If your application is one hundred percent Unicode, count yourself lucky. Even then, however, you may have to import to or export from non-Unicode encodings. If your application handles ASCII text then you get the fun of testing across multiple code pages (try switching code pages while entering text and see what happens!). And if your application uses double-byte or multi-byte encodings, you may find yourself thinking about switching careers! <g/>

Posted by The Braidy Tester at 07:30 AM  Permalink




 
INFO-LINK


Techweb
Informationweek Business Technology Network
InformationweekInformationweek 500Informationweek 500 ConferenceInformationweek AnalyticsInformationweek Events
Informationweek MagazineGlobal CIOIWK Government ITbMightyByte and SwitchDark Reading
Digital LibraryIntelligent EnterpriseInternet EvolutionNetwork ComputingPlug Into The CloudDr. DobbsContentinople
space
TechWeb Events Network
InteropVoiceConWeb 2.0 ExpoWeb 2.0 SummitEnterprise 2.0Mobile Business ExpoNoJitter
Black HatGTECEnergy CampCloud ConnectGov 2.0 ExpoGov 2.0 Summit
space
Light Reading Communications Network
Light ReadingLight Reading AsiaUnstrungCable Digital NewsInternet EvolutionPyramid Research
Heavy ReadingLight Reading LiveLight Reading InsiderEthrnet ExpoTelco TVTower Technology Summit
space
Financial Technology Network
Advanced TradingBank Systems and TechnologyInsurance and TechnologyWall Street and TechnologyAccelerating WallstreetBST SummitBuyside Trading SummitIT Summit
space
Microsoft Technology Network
MSDNTechNetTotal IT ProTotal Dev ProNET Total Dev Pro CommunitySQL Total Dev Pro Community
space