How to find a potential bug in an application

Are you an Web Application designer? Are you very much interested in designing Applications? If you know there was a bug in the application, are you confused how to find that bug? Read this article to know the complete tips to find a potential bug in an application.

How to find a bug – A Question?

This is a very good and important point. If you are a software tester or a QA engineer or anyone testing an application then you must be thinking every minute to find a potential bug that could break the system in an application.

It is always good in finding a blocker bug like any system crash or server errors is often rewarding. But it is not always like that and there are different bug when found is rewarding. One should try to find out the bugs that are most difficult to find and those always misleads users. Bugs which often go unnoticed and a good test case will unearth the bugs which always go unnoticed and also many times bugs occur because of some minute flaw in the code and also bugs get unnoticed because the Tester might overlook the functionality and that bug might become a potential hazard to the application.

Finding such a subtle bugs is most tiring and also the most challenging work and it gives you satisfaction of your work because we should thing differently than normal routine to find these kinds of bugs. Most of the time the effort put in by a tester goes unnoticed and also not rewarded by seniors may be in terms of some appreciation etc. In my capacity as a QA Lead I make it a point to always bring to the notice of the Project team about any potential bugs found by my team and appreciate them for their work and this really motivates them to do the work in a better and effective way and this has been followed in the project and we could see the results. A word of encouragement or a word of appreciation either verbally or through a team mail will really boost up the morale of the person or the team where ever it is applicable and also I encourage other to do the same. I will share my experience of one such subtle bug that was not only difficult to catch but was difficult to reproduce also. I was testing a particular feature in one module from my social networking project. Most of the activities of this project are done manually as we are not into automation. The functionality is of adding contact who are listed in the site. A user clicks on the contact and sends a add request based on this a userid is created for the person who requested in the approval list of the user for whom a request is made and upon approval another user id is created for the user who approved and in this way both will have these contact in their contact list and can communicate. Here what I did was a normal positive flow of the functionality and in the DB and in the UI the data is repored properly. Now what I did was removing user A from the contact list of User B. Then the user A request User B to be his contact and three or four times the User B rejects and finally accepts and the user ids are created. Now again what I did was User A requests for User B to be friend and User B rejects few times and then User B request User A to be friend and User A accepts User B but what happened when this flow was done is that only in User A the user Id was created and for User B the user id was not created and when this was debugged there was a condition in the procedure which was not satisfied because of repeated request. So testing in such a way is always a difficult task because we need to keep a track of what is being done and also report the process to the development team to reproduce the bug. It was strange and confusing to see the results.

My point is try to find out the hidden bugs in the system that might occur for special conditions and causes strong impact on the system. You can find such a bugs with some tips and tricks.

Tips to find these kind of hidden bugs are:

  1. Understand the whole application or module in depth before starting the testing and list out all the possible scenarios which are going to be tested.

  2. Prepare good test cases before start to testing to see that all the scenarios are covered. I mean give stress on the functional test cases which includes major risk of the application.

  3. Create sufficient test data before tests, this data set include the test case conditions and also the database records if you are going to test DB related application.

  4. Perform repeated tests with different test environment.

  5. Try to find out the result pattern and then compare your results with those patterns.

  6. When you think that you have completed most of the test conditions and when you think you are tired somewhat then do some monkey testing.

  7. Use your previous test data pattern to analyze the current set of tests.

  8. Try some standard test cases for which you found the bugs in some different application. Like if you are testing input text box try inserting some html tags as the inputs and see the output on display page and also do some tests for sql injection and session time outs.

  9. Test as if you are testing only to break the application.

  10. Try very hard to find the bug

Related Articles

How to prevent acne scars?

This article explains various measures which keep acne under control. This decreases inflammation and consequently chances of formation of acne scars too decreases. Actions like not picking at skin, proper hydration, using sunscreen lotions, proper skin care regime etc prevent formation of acne scars.

Tips to Give CAT examination 2011

How to apply to CAT examination 2011? Duration of CAT 2011? Marks pattern of CAT 2011? When CAT result will be declared? How to apply to CAT exam 2011? In this article you will find answers of all such questions. For detailed information kindly read the article below.

Some Selection Strategy Tips for CAT Allied B-Schools

If you wish to study in CAT allied schools on CAT based score, this is the right time to apply for admission lest the date to apply slips by and you miss the bus. If it happens so, you shall miss the golden chance even after obtaining better percentile in CAT. What type of is required for selecting a better B-School and seeking admission into it forms the subject matter of this present dissertation.

How To Control Anger?

Have you ever been angry and later on felt sad for being angry on some one or something? Do you want to control your anger ? Is anger good or not ? The following article will discuss about anger and measures through which we can control our anger.

What are the key factors to success in CAT?

CAT is such an examination through the medium of which, you could reach to the top. This is the reason why lacs of students every year round try their luck in this examination but a very few select are able to make it at the top of the merit list. This article helps in letting you know how best to traverse the pathways to success in this stiffly tough examination.

More articles: CAT How to


No responses found. Be the first to comment...

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: