Posts

Showing posts from December, 2011

How to Report Bugs Effectively

As per defined in wikipedia – “A software bug is the common term used to describe an error, flaw, mistake, failure, or fault in a computer program or system that produces an incorrect or unexpected result, or causes it to behave in unintended ways. Most bugs arise from mistakes and errors made by people in either a program's source code or its design, and a few are caused by compilers producing incorrect code. Reports detailing bugs in a program are commonly known as bug reports, fault reports, problem reports, trouble reports, change requests, and so forth.” There might be many fields (information) need to be filled while reporting a bug.  The number of fields, mandatory fields, optional fields etc. differs from team to team.  But few bare minimum fields that are required during reporting a bug in almost all teams are as follows: Title Description Steps to Repro Expectation Severity / Priority Most of the time, testers go and try to provide these information in hurry, with

Validating Forms at Client Side

Image
Catching or preventing errors at client side improve the performance of the application, firstly by providing the quick feedback to users and secondly by reducing the load on server by eliminating unnecessary requests.  The application should be developed by taking this into the consideration.  It doesn’t mean that the validation for input should happen only at client side, the server code should be able to handle incorrect input data as well.  Usually at client side, message shown to end user should be more meaningful whereas server should not behave incorrectly or crash due to negative set of input data. While designing the form of an application, it should be first considered to provide input controls that are smart enough to restrict users to submit only required or correct data, e.g. Calendar control, Combo Box etc.  Secondly, it can have few business rules validation logic at client end also if possible, e.g. Age and Insurance premium requirement validation. Validating