13
PRESENATATION ON AUTOMATED SOFTWARE TESTING ADVANCED SOFTWARE ENGINEERING CSC 532 Presented by VISHAL D RAMPURE

Automated testing, Software prototyping

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Automated testing, Software prototyping

PRESENATATION

ON

AUTOMATED SOFTWARE TESTING

ADVANCED SOFTWARE ENGINEERING CSC 532Presented by VISHAL D RAMPURE

Page 2: Automated testing, Software prototyping

INTRODUCTIONINTRODUCTION

Software testing is analyzing a system or a Software testing is analyzing a system or a component by providing defined inputs and component by providing defined inputs and comparing them with the desired outputs to comparing them with the desired outputs to check the discrepancies between the desired check the discrepancies between the desired and actual outputs and correct themand actual outputs and correct them

Page 3: Automated testing, Software prototyping

TEST TYPESTEST TYPES

Software testing can be divided into Software testing can be divided into two categories.two categories.

Manual testingManual testing

Automated software testingAutomated software testing

Page 4: Automated testing, Software prototyping

AUTOMATED SOFTWARE TESTINGAUTOMATED SOFTWARE TESTING

Automated testing programs will not miss a Automated testing programs will not miss a test by mistake. test by mistake.

The automated test program will also provide The automated test program will also provide a means of storing the results of the tests a means of storing the results of the tests accurately. accurately.

The results can be automatically fed into a The results can be automatically fed into a database and can be used to provide useful database and can be used to provide useful statistics on how the software development statistics on how the software development process is progressing.process is progressing.

Page 5: Automated testing, Software prototyping

REQUIREMENTS FOR AUTOMATED REQUIREMENTS FOR AUTOMATED

SOFTWARE TESTINGSOFTWARE TESTING Can the test sequence of actions be Can the test sequence of actions be

defined? defined? Is it necessary to repeat the sequence of Is it necessary to repeat the sequence of

actions many times? actions many times? Is it possible to automate the sequence Is it possible to automate the sequence

of actions? of actions? Is the behavior of the software under test Is the behavior of the software under test

the same with automation as without? the same with automation as without? Do you need to run the same tests on Do you need to run the same tests on

multiple hardware configurations? multiple hardware configurations?

Page 6: Automated testing, Software prototyping

HOW IS AUTOMATION OF SOFTWARE HOW IS AUTOMATION OF SOFTWARE

TESTING DONE?TESTING DONE? Finalization of test automation and Finalization of test automation and

making a test planmaking a test plan Selection of tool and customizationSelection of tool and customization Development and testing scriptsDevelopment and testing scripts Testing using automated test Testing using automated test

scriptsscripts

Page 7: Automated testing, Software prototyping

TOOLS FOR AUTOMATED SOFTWARE TOOLS FOR AUTOMATED SOFTWARE

TESTINGTESTING

The following general categories The following general categories categorize the tests and tools which categorize the tests and tools which makes it easy to choosemakes it easy to choose

Developer oriented toolsDeveloper oriented tools Functional testing toolsFunctional testing tools Load testing toolsLoad testing tools Performance monitoring and Performance monitoring and

maintenance toolsmaintenance tools

Page 8: Automated testing, Software prototyping

PRACTICAL FEATURESPRACTICAL FEATURES

Run all day and night in unattended Run all day and night in unattended mode mode

System continues running even if a test System continues running even if a test case fails case fails

Quickly add scripts and modules to the Quickly add scripts and modules to the system for new features system for new features

Easy to update reusable modules Easy to update reusable modules Written in an English-like language easy Written in an English-like language easy

to understand to understand Write out meaningful logs Write out meaningful logs

Page 9: Automated testing, Software prototyping

PROSPROS Tests can be run faster. As compared to manual Tests can be run faster. As compared to manual

testing they take lesser timetesting they take lesser time Automated test are consistent. Automated test are consistent. Tests can be run over and over again with less Tests can be run over and over again with less

overhead.overhead. As more automated tests are added to the test As more automated tests are added to the test

suite more tests can be run each time suite more tests can be run each time thereafter. thereafter.

Manual testing never goes away, Manual testing never goes away, The efforts that were used for manual testing The efforts that were used for manual testing

can now be focused on more rigorous tests. can now be focused on more rigorous tests.

Page 10: Automated testing, Software prototyping

CONSCONS Costs of test automation include personnel to Costs of test automation include personnel to

support test automation for the long term. support test automation for the long term. A dedicated test environment is needed A dedicated test environment is needed The cost for the purchase of development and The cost for the purchase of development and

maintenance of tools. maintenance of tools. If contractors are used to help build or If contractors are used to help build or

champion the test automation effort because of champion the test automation effort because of their experience, there is the risk that much of their experience, there is the risk that much of the experience and skills will not be there when the experience and skills will not be there when the contractor leaves. the contractor leaves.

If there is going to be a product change then If there is going to be a product change then long term automation is a waste long term automation is a waste

It is very expensive to maintain automated It is very expensive to maintain automated testing environment.testing environment.

Page 11: Automated testing, Software prototyping

CONCLUSIONCONCLUSION

Automation of software testing is not an Automation of software testing is not an easy process. easy process.

It involves a lot effort. Automation is also a It involves a lot effort. Automation is also a expensive process in terms of direct expensive process in terms of direct finance and the people required for. finance and the people required for.

We can conclude that if automation is dine We can conclude that if automation is dine in very definitive manner and with all in very definitive manner and with all aspects considered it can be asset to the aspects considered it can be asset to the companycompany..

Page 12: Automated testing, Software prototyping

REFERENCESREFERENCES http://www.origsoft.com/Issues3-buscase-4save.htmhttp://www.origsoft.com/Issues3-buscase-4save.htm

http://www.origsoft.com/Issues2-comptest-1cov.htmhttp://www.origsoft.com/Issues2-comptest-1cov.htm

http://www.cssttechnologies.com/Test%20Requirementshttp://www.cssttechnologies.com/Test%20Requirements%20for%20automated%20Testing.htm%20for%20automated%20Testing.htm

http://www.stsc.hill.af.mil/crosstalk/2002/05/rice.pdfhttp://www.stsc.hill.af.mil/crosstalk/2002/05/rice.pdf

http://www.stickyminds.com/sitewide.asp?http://www.stickyminds.com/sitewide.asp?ObjectId=3583&Function=DETAILBROWSE&ObjectType=ObjectId=3583&Function=DETAILBROWSE&ObjectType=ARTART

http://www.mactech.com/articles/mactech/Vol.13/13.10/http://www.mactech.com/articles/mactech/Vol.13/13.10/SoftwareTestAutomationSoftwareTestAutomation

Page 13: Automated testing, Software prototyping

THANK YOUTHANK YOUQUESTIONS PLEASE?QUESTIONS PLEASE?