![]() |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() |
![]() |
|
![]() ![]() |
Author | Message |
Mithi25
Senior Member ![]() ![]() Joined: 23Jun2009 Online Status: Offline Posts: 288 |
![]() ![]() ![]() Posted: 06Aug2009 at 10:48pm |
How to find a bug in application? Tips and Tricks A very good and important point. Right? If you are a software tester or a QA engineer then you must be thinking every minute to find a bug in an application. And you should be! I think finding a blocker bug like any system crash is often rewarding! No I don’t think like that. You should try to find out the bugs that are most difficult to find and those always misleads users.
Finding such a subtle bugs is most challenging work and it gives you satisfaction of your work.
Also it should be rewarded by seniors. I will share my experience of
one such subtle bug that was not only difficult to catch but was
difficult to reproduce also. There was a cron (cron is a automated script that runs after specified time or condition) to process the log files and update the database. Such multiple crons are running on log files and DB to synchronize the total data. There were two crons running on one table with some time intervals. There was a column in table that was getting overwritten by other cron making some data inconsistency. It took us long time to figure out the problem due to the vast DB processes and different crons. 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. So what are those tips: 1) Understand the whole application or module in depth before starting the testing. 2) Prepare good test cases before start to testing. I mean give stress on the functional test cases which includes major risk of the application. 3) Create a 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 analyse the current set of tests. 9) Last and the best trick is try very hard to find the bug I will include more tips in some coming posts. Edited by Mithi25 - 06Aug2009 at 10:51pm |
|
Post Resume: Click here to Upload your Resume & Apply for Jobs |
|
![]() |
|
tossy
Groupie ![]() ![]() Joined: 20Aug2008 Online Status: Offline Posts: 99 |
![]() ![]() ![]() |
As per my experience its good to do when encountering a difficult bug don’t try to understand all of the
application at once divide it to small pieces and find a good starting
place (anchor) that you can learn the code from. and for god sake refactor your code!
|
|
|
|
![]() |
|
![]() ![]() |
||
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
© Vyom Technosoft Pvt. Ltd. All Rights Reserved.