Testing Circus September 2010
Testing Circus September 2010
Agile Testing
Trish Khoo’s – Testers and
Developers – Blurring the line
Jai Ho Testers!
Testers &
9 In Lighter
Moods 10 Developers
- Blurring
the line
12 Testers
@Twitter
Software
14 Jai Ho
Testers! 16 Test Case
Practice 18 Testing
News
Team -
24 Emails to
Editor 25 Testing
Circus
26 Next Issue
We would like to give this e-magazine free of cost. This means the people who
are working behind this initiative are working without expecting any monetary
benefit. By doing so we believe we are giving back to the society of software
testers. We are known today because of software testing and we would like to
contribute to it back.
We have just started it overnight. We don’t have very good graphic and layout
designers. Our website does not have a good look. Simply, we don’t have
enough resources to cater those needs. Also we don’t want to complicate
things. We will, for now, use Microsoft office software and Acrobat Reader to
publish our e-magazine. We are thankful to Microsoft and Adobe for this.
We would like to thank all our contributors and mentors for helping us publish
this magazine. Special thanks to Mr. Vipul Kocher for encouraging and guiding
us at various point of time. Thanks to our subscribers for subscribing our
magazine.
Please forward, share, debate, criticize our work. We love your feedbacks.
Logging off for now. Come, let us celebrate the 1st issue of Testing Circus.
If your bug report is effective, chances are higher that it will get fixed. So fixing a bug
depends on how effectively you report it. Reporting a bug is nothing but a skill and a
good tester must possess this skill.
Be precise
Be clear - explain the steps to reproduce the bug
Give all evidence and explain in clear language
No bug is too trivial to report - small bugs may hide big bugs
Attach proofs for the bug - logs, screenshots etc
The Word Agile means "Moving Quickly" and this explains the whole concept of Agile
Testing. Testers have to adapt to rapid deployment cycles and changes in testing
patterns.
Agile testing involves testing from the customer perspective as early as possible,
testing early and often as code becomes available and stable enough from module/unit
level testing.
Since working increments of the software are released often in agile software
development, there is also a need to test often. This is commonly done by using
automated acceptance testing to minimize the amount of manual labour involved.
Undertaking only manual testing in agile development may result in either buggy
software or slipping schedules, as it may not be possible to test the entire build
manually before each release.
In Agile Testing, testers are no longer a form of Quality Police. Testing moves the
project forward leading to new strategy called Test Driven Development. Testers
provide information, feedback and suggestions rather than being last phase of
defense.
Reduce feedback loops, Manual regression tests take longer to execute and, because a
resource must be available, may not begin immediately. Feedback time can increase
to days or weeks. Manual testing, particularly manual exploratory testing, is still
important. However, Agile teams typically find that the fast feedback afforded by
Keep the code clean. Buggy software is hard to test, harder to modify and slows
everything down. Keep the code clean and help fix the bugs fast.
Agile testers:
________________________________________________________________________
In Lighter Moods
I’m a tester who used to be a developer. I find my developer skills to be very useful in
my job as a tester.
Knowing how to build software goes beyond just knowing how to code up a script. If a
tester can understand how software fits together, then that tester will have a greater
understanding of how to find points of failure. Not only that, but
understanding how something went wrong can lead the tester to discover even greater
risks to the system. If the tester’s understanding of the system stops at the GUI level,
then their exploratory testing path stops there too.
Understanding how different system components interact, and being able to program
these components opens up possibilities for new kinds of tests. Very focused and
powerful tests can be imagined and implemented this way.
Being able to
communicate with
developers at the same
level as them is also
extremely beneficial. It
not only makes it easier
for both parties to
understand each other,
but it fosters a mutual
respect. Building
software isn’t easy, and
knowing what’s involved
gives testers a greater appreciation for the developer’s job. Developers respect testers
who have taken the time to understand what they have built and how they have built
it.
Working with software means that having programming skills gives the tester greater
power over that software. Much of testing is about comparing system states. Being
My advice to manual testers: consider devoting some time learning how to build
software. If coding doesn’t appeal to you, then at least consider studying software
architecture and design, which will help your understanding of how software
components fit together and interact. These are skills that will be very useful to you.
There is a great deal of work involved in learning these, but is worthwhile.
Michael Bolton
BIO: I solve testing problems that other people can't solve, and I teach people how they
can do it too.
96 following,
1,652 followers
197 listed
http://twitter.com/michaelbolton
Vipul Kocher
BIO: Bhartiya, entrepreneur, Software Tester. Books, History, Movie, Food, ~Lover - TOO
MANY INTERESTS, TOO FEW SKILLS
482 following
343 followers
17 listed
http://twitter.com/vipulkocher
uTest
BIO: uTest is the largest software testing marketplace & leader in crowdsourced
software testing: 25,000+ testers in 160+ countries
1,501 following
1,594 followers
107 listed
http://twitter.com/utest
TestingCircus
Bio: Testing Circus is a free e-magazine on Software Testing.
214 following
31 followers
4 listed
http://twitter.com/testingcircus
In theory, if we analyze a
requirement well and design it
properly, we code accurately then
there should not be any problem.
But in reality it is not true.
Particularly in this age of deadlines
we keep on doing things in hurry and
we end up getting into a mess.
A problem in one small unit can cause major regression issues in other part of the
application. Let’s take an example of an application which supposed to handle
thousands and millions of transactions at a time. The developer writes a unit but in
unit test it gets pass without a problem. But it may fail in real scenario .The test
engineers test these scenarios which are not generally tried at developer’s end. Not
(This test case document is just an indication of how to write test cases. The test steps are
not exhaustive. The author believes that more test steps can be written for a pet bottle.)
Sr. Actual
Steps to Execute Expected Result Remarks
No. Result*
1 Measure the Volume of bottle 1 ltr (1.05 qt) bottle
Should be transparent and
2 Examine the Colour of Bottle
light green in colour
3 Measure the Height of bottle 10.1 in (25.7 cm) tall
4 Check shape of bottle Round Shape
Measure the Diameter of
5
bottle
At the Top 1/4 in (3.2 cm) diameter
At the Middle 3 in (7.6 cm) diameter
At the Bottom 3 in (7.6 cm) diameter
6 Weigh the Empty bottle 1.45 oz (41 g)
Check the surface finish of Bottle should be smooth at
7
outside and inside the bottle both sides
Check the tightness of the Cap should be sealed and
8
bottle cap should be airtight
Clockwise should close the
Examine the rotation of cap
9 bottle cap, Anti-clockwise
clockwise/anti-clockwise
should open the cap
Bottle should not leak when
10 Check for Leakage the bottle is filled with liquid
(water).
13 Check the Base of the bottle The bottle base should be flat
AppLabs had earlier acquired three companies — KeyLabs for $7 million in 2005, IS
Integration for $37 million in 2006 and Hyderabad-based ValueMinds for an undisclosed
sum in August 2010. The over $100-million company, has raised $17 million from global
venture capital funds such as Sequoia Capital and Silicon Valley Bank to fund these
buyouts. “The proposed acquisition will be funded through internal accruals and debt
from banks and large private equity players,” Reddi said. AppLabs presently employs a
little over 2,000 globally, of which 1,650 work out of its Hyderabad centre. Reddi said
the debt-free company was expanding its presence in Hyderabad and was taking more
space at the DLF special economic zone here at a cost of Rs 12 crore.
“I can picture that we can add probably more than 1,000 people in the next 12
months,” he said, adding the new facility would be fully operational by the end of this
December. Reddi said there was a change in the mix of people that the company was
taking because of the bigger companies that it was currently working with. The new
recruitment at AppLabs, will include 60 per cent freshers and the rest laterals.
Stating that the global software testing market was estimated to be $6 billion and
growing at a rate of 20 per cent, which is far higher than the growth of the general IT
services market, he said the growth could be achieved if the testing moves from in-
house to outside. “But where is it going is the question, whether it is going to big
"IDC views Cognizant as one of the leading players with major market momentum that
is helping drive efficient process and workflow into its global testing services
practice," according to "IDC MarketScape: Global Testing Services, 2010 Vendor
Analysis" by Rona Shuchat, Mukesh Dialani, and Melinda-Carol Ballou.
"Our highly experienced testers, consulting expertise, and robust testing processes,
methodologies, tools, and frameworks help us enhance testing efficiency and
precision, reduce costs, decrease cycle times, and provide our clients with superior
software quality," Sumithra added. "Thanks to our expertise on both the business and
technical sides of testing, we have been able to create enterprise-wide managed test
centers and expand our service portfolios to related areas such as test environment
management and cloud-based testing."
1) According to the ISTQB Glossary, the word 'bug' is synonymous with which of the
following words?
A. Incident
B. Defect
C. Mistake
D. Error
4) A test team consistently finds between 90% and 95% of the defects present in
the system under test. While the test manager understands that this is a good
defect-detection percentage for her test team and industry, senior management
and executives remain disappointed in the test group, saying that the test team
misses too many bugs. Given that the users are generally happy with the system
and that the failures which have occurred have generally been low impact, which
of the following testing principles is most likely to help the test manager explain to
these managers and executives why some defects are likely to be missed?
A. Exhaustive testing is impossible
B. Defect clustering
C. Pesticide paradox
D. Absence-of-errors fallacy
Solution:
Here is the QTP code to solve your problem.
row=Browser("Welcome to Indian Railway").Page("Welcome to Indian Railway").WebTable("Zonal
Railways").GetRowWithCellText("Delhi Metro Rail Corporation")
col= Browser("Welcome to Indian Railway").Page("Welcome to Indian Railway").WebTable("Zonal Railways").ColumnCount(row)
For ctr=1 to col step 1
txt= Browser("Welcome to Indian Railway").Page("Welcome to Indian Railway").WebTable("Zonal
Railways").GetCellData(row,ctr)
If strcomp(trim(txt),"Delhi Metro Rail Corporation",1)=0 Then
Set MetroLink=Browser("Welcome to Indian Railway").Page("Welcome to Indian Railway").WebTable("Zonal
Railways").ChildItem(row,ctr,"Link",0)
MetroLink.click
Exit for
End If
Next
Q: What qualities will you look for in a candidate when you want to recruit someone
for software testing job?
A: A questioning mind not easily satisfied with “authoritative” answers, an eye for
details and most important of all, a will to excel.
We would like to thank Jaijeet Pandey, Kumar Gaurav, Trish Khoo, Nasim
Ahmed, Naresh Bisht for contributing content for this magazine. We also
thankful to Ish Chand Tripathi for helping us in campaign activities, Anuj
Batta for blogging about Testing Circus in his blog. Special thanks to C.
Nellai Sankar for providing inputs on test case section. There are lots of
people who encouraged us to launch this magazine. We approached lots of
people for helping us. Some helped, some refused, some never replied. But
we are thankful to all of them too.
Our special thanks to Mr. Vipul Kocher, President – Indian Testing Board for
giving us guidance and allowing us to publish his interview in this issue.
Last but not the least. Ajoy Kumar Singha – Founder and Editor of this
magazine would like to thank his wife and son who sacrificed their personal
time and attention and helped him work on this magazine – mostly late
nights.
www.TestingCircus.com
http://www.Twitter.com/TestingCircus
http://TestingCircus.blogspot.com