100% found this document useful (1 vote)
548 views

Software Testing 12

Test Automation is an investment Treat Test Automation as a "development project" "Test automation must be implemented as a full-time development project" "humans can spot bugs that automation ignores"

Uploaded by

vinitajenny
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
548 views

Software Testing 12

Test Automation is an investment Treat Test Automation as a "development project" "Test automation must be implemented as a full-time development project" "humans can spot bugs that automation ignores"

Uploaded by

vinitajenny
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 10

Summary

• Have a clear mission – Plan, Plan, Plan !!! (Define your What,
When and How)
• Focus on the most important areas first
• Automation is more than building scripts
• Test Automation is an investment
• Treat test automation as a “development project”
Tips on Testing
Tips n Tricks on Testing
• Know what output to expect
• Focus on boundaries
• Range input, a to b, test with a, b, a-1, b+1 (if integer range,
otherwise, slightly less than a and slightly more than b)
• Set of input values, test with min of set, max of set, min of set -
1, and max of set + 1
• For output values, push the boundaries as in two previous models
More Tips..
• Check for Initialization errors
• Test simplest and most commonly executed parts first
• Check array bounds to know if the system does it or not
• Check for Pop up & Msg Boxes to know if the production code
removes testing parts
• Test output should include input to aid in reproducibility
Some More Tips

• Vary your test cases


• Test on multiple machines, compilers, operating systems
• All tests should be traceable to customer requirements
Tips for Testing White Box Testing

• Check for defensive Programming


• Use assertions
• Check for Pre & Post conditions in functions
• Check error returns
• Check Array initializations
• Check if Conditions
• Entry and Exit conditions in Loops
TIPS on Automation

• Avoid introducing automation on projects that are already


behind schedule
• Build extra time into the schedule.
• Recorded automated tests shouldn’t be developed until you
have a relatively stable UI for modules of the application
• Generally Test automation increases as the project evolves
More TIPs on Automation
• Think of automation as a baseline test suite to be used in
conjunction with manual testing, rather than as a replacement
for it.

• Assure that the product is mature enough so that maintenance


costs from constantly changing tests don't overwhelm any
benefits provided.

• To make it a good investment, as well, the secret is to think


about testing first and automation second.

• Automation is a development project”

• “Test automation must be implemented as a full-time


Automation Tips (con’t)
• Humans can spot bugs that automation ignores.
• More so because humans are good at making mistakes
• With “Automation” , we now have another added software
development effort
• No immediate payback from automation.
• No automatic defect reporting without human analysis
Reference Books
Art of Software Testing – Glenford J. Myers

Testing Computer Software – Cem Kaner

Software Testing in the Real World – Edward Kit

Effective methods for Software testing – William E.

Perry

Software Engineering -A Practitioner’s Approach –

Roger S. Pressman

Software Testing Techniques – Boris Beizer

You might also like