Entries Tagged 'Bug Defect tracking' ↓
June 21st, 2007 — Bug Defect tracking, How to be a good tester, Testing Skill Improvement, Testing Tips and resources
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.
I was testing one module from my search engine project. I do most of the activities of this project manually as it is a bit complex to automate. That module consist of traffic and revenue stats of different affiliates and advertisers. So testing such a reports is always a difficult task. When I tested this report it was showing the data accurately processed for some time but when tried to test again after some time it was showing misleading results. It was strange and confusing to see the results.
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.
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.
9) Last and the best trick is try very hard to find the bug
As if you are testing only to break the application!
I will include more tips in some coming posts.
Meantime you can comment out more tips here.
Like this post? Please subscribe to Email Newsletter or RSS Feed to have future Software Testing Tips delivered to your email inbox or feed reader!
May 12th, 2007 — Automation Testing, Bug Defect tracking, Testing Tips and resources
Bugzilla is a open-source Bug tracking tool. Many companies are using this open source tool for managing the software development process.
After a long break finally Bugzilla project announced a new version of bugzilla 3.0 with some cool features like:
Custom Fields
mod_perl support for greatly-improved performance
Per-Product Permissions
XML-RPC Interface
Create and Modify Bugs by Email.
See the features in detail here.
I am using Bugzilla 2.0 for the last one year and found it as an interesting bug tracking tool. Before this I was using Mercury Test director to track the bugs.
Now we will also upgrade to this new version soon and will enjoy the new features.
You can download the new version at Bugzilla 3.0 download.
February 25th, 2007 — Bug Defect tracking, Testing Skill Improvement, Testing Tips and resources
A million Dollar question!!!
Why does Software have bugs?
There are many reasons for Bug in software, Most are man introduced and some are machine oriented.
Here is the the broad list:
1. Miscommunication or no communication –
As to specifics of what an application should or shouldn’t do (the application’s requirements).
2. Software complexity –
The complexity of current software applications can be difficult to comprehend for anyone without experience in modern-day software development. Windows-type interfaces, client-server and distributed applications, data communications, enormous relational databases, and sheer size of applications have all contributed to the exponential growth in software/system complexity. And the use of object-oriented techniques can complicate instead of simplify a project unless it is well-engineered.
3. Programming errors -
Programmers, like anyone else, can make mistakes.
4. Changing requirements -
The customer may not understand the effects of changes, or may understand and request them anyway – redesign, rescheduling of engineers, effects on other projects, work already completed that may have to be redone or thrown out, hardware requirements that may be affected, etc. If there are many minor changes or any major changes, known and unknown dependencies among parts of the project are likely to interact and cause problems, and the complexity of keeping track of changes may result in errors. Enthusiasm of engineering staff may be affected. In some fast-changing business environments, continuously modified requirements may be a fact of life. In this case, management must understand the resulting risks, and QA and test engineers must adapt and plan for continuous extensive testing to keep the inevitable bugs from running out of control.
5. Time pressures -
Scheduling of software projects is difficult at best, often requiring a lot of guesswork. When deadlines loom and the crunch comes, mistakes will be made.
Egos – people prefer to say things like:
‘no problem’
‘piece of cake’
‘I can whip that out in a few hours’
‘it should be easy to update that old code’
Instead of:
‘that adds a lot of complexity and we could end up
making a lot of mistakes’
‘we have no idea if we can do that; we’ll wing it’
‘I can’t estimate how long it will take, until I
take a close look at it’
‘we can’t figure out what that old spaghetti code
did in the first place’
If there are too many unrealistic ‘no problem’s', the result is bugs.
1. Poorly documented code -
It’s tough to maintain and modify code that is badly written or poorly documented; the result is bugs. In many organizations management provides no incentive for programmers to document their code or write clear, understandable code. In fact, it’s usually the opposite: they get points mostly for quickly turning out code, and there’s job security if nobody else can understand it (‘if it was hard to write, it should be hard to read’).
2 Software development tools -
Visual tools, class libraries, compilers, scripting tools, etc. often introduce their own bugs or are poorly documented, resulting in added bugs.