Presented By:     Aakash Tyagi
   Background   Challenge   Proposed Solution   Reporting   Benefits   Conclusion                        2
The product was big product that provide a lot of functionality.The Product was developed in Java language.QA Team was usi...
As the product is a vast product that provides a lot of functionality soregression suite of this was very big.It was takin...
EMMA tool was to be used to find out the coverage of Java basedapplications.EMMA was to be used on the server machine wher...
InstrumentationApplication                                         Emma Meta Data                            By Emma      ...
DEMO
   Emma produce report in HTML format that contain what % of classes,    blocks and lines were executed.eg   Emma also p...
Benefits                                          Depending on the                                          coverage resul...
Conclusion  Emma can be used to know the coverage of both Manual and Automation  test suite. Emma can be used with both wi...
Thank You
Upcoming SlideShare
Loading in...5
×

Code coverage for automation scripts

2,037

Published on

Challenge: As the product is a vast product that provides so regression suite of this was very big. It was taking about 14 days to execute and with every release it was increasing. The main challenge was to keep regression suite comprehensive as well small so that it can be executed many time. Solution Emma was used to find code coverage of product code then redesign the regression suite.

Published in: Technology
1 Comment
0 Likes
Statistics
Notes
  • hi Aakash Tyagi , i liked your PPT. I am also want to used this CC tool thing in my project. can you please explain this using any video.Thanks Nancy
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Views
Total Views
2,037
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
33
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

Code coverage for automation scripts

  1. 1. Presented By: Aakash Tyagi
  2. 2.  Background Challenge Proposed Solution Reporting Benefits Conclusion 2
  3. 3. The product was big product that provide a lot of functionality.The Product was developed in Java language.QA Team was using Rational Function Tool(RFT) for automation ofregression suite. 3
  4. 4. As the product is a vast product that provides a lot of functionality soregression suite of this was very big.It was taking about 14 days to execute and with every release it wasincreasing.Regression suite was not so efficient as it was not catching bug sofrequently.Team was unaware of the amount of code coverage achieved withautomation test suite execution and what parts of application wereexecuted and what parts were not.The main challenge was to keep regression suite comprehensive sothat it is likely to catch all the bugs introduced as well small so that itcan economically be executed many times. 4
  5. 5. EMMA tool was to be used to find out the coverage of Java basedapplications.EMMA was to be used on the server machine where the source codeof the application was executing.RFT scripts were to be executed and got the source code coveragedetails from EMMA tool.
  6. 6. InstrumentationApplication Emma Meta Data By Emma Emma API Instrumented Application Web Browser Web Server RFT Test Report Emma session data Reporting By Coverage ReportEmma Meta Data Emma 6
  7. 7. DEMO
  8. 8.  Emma produce report in HTML format that contain what % of classes, blocks and lines were executed.eg Emma also provide help to identify the code which were executed and which were not by showing these in different color.eg. for unexecuted code: 8
  9. 9. Benefits Depending on the coverage results, The selected test cases can be approach provide a added to increase good input to modify code coverage and test script as we can be eliminated know what code we that are not are executing and necessary. what not. It provide input to development team to find if there is code that is no more associated with any requirement (Dead code).This code can be eliminated to reduce effort spend in management this of code.
  10. 10. Conclusion Emma can be used to know the coverage of both Manual and Automation test suite. Emma can be used with both windows and web base applications. We can use Emma with any Functional Testing Tool to find the coverage of . the automation test suite
  11. 11. Thank You
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×