You need to sign in to do that
Don't have an account?
Pandeiswari
Copy code coverage of All apex class to Excel sheet
Hi,
I have executed "Run all test" to get code coverage of all apex classes. Is there way to get all apex classes code coverage with percentage copy to excel sheet. I am able to see all classes with percentage in Developer console. But not able to copy all those. Please provide some suggestion.
I have executed "Run all test" to get code coverage of all apex classes. Is there way to get all apex classes code coverage with percentage copy to excel sheet. I am able to see all classes with percentage in Developer console. But not able to copy all those. Please provide some suggestion.
Please check this out: http://blog.adityanaag.com/23/Export+Apex+Code+Coverage+to+Excel
Good luck!!
You can simply run this query in Workbench and copy/paste in Excel.
select id,apexClassorTrigger.Name,numLinescovered, numlinesuncovered from apexcodecoverageAggregate
Thanks
shashi
Thanks
D Naveen Rahul.
https://appexchange.salesforce.com/listingDetail?listingId=a0N3000000DXzlpEAD
Please let us know if this will help you
Thanks
Amit Chaudhary
------------------------------------------------------------------------------------------
https://www.youtube.com/watch?v=ZSGqjPrcYsM
https://chrome.google.com/webstore/search/salesforce%20code%20coverage%20monitor?utm_source=chrome-ntp-icon
Thanks for the extension,it is working fine, but is there any inbuilt component with the extension so that we can directly export the results to excel?
You Can try below appExchange product for same
https://appexchange.salesforce.com/listingDetail?listingId=a0N3000000DXzlpEAD
https://appexchange.salesforce.com/listingDetail?listingId=a0N3A00000FKAQ2UAP
Please let us know if this will help you
Thanks
Amarjeet
Please follow the below steps:
- Download the (SFDC Dev Console Data Exportor Chrome Extension (https://chrome.google.com/webstore/detail/sdfc-dev-console-data-exp/mfcddagpdnfokfnbnoeephmfoifgdbid)
- Execute this SOQL in dev console with "Use Tooling API" Checked
- Press the button on the Chrome extension downloaded above and it will ask you the format (excel/CSV)
- It gets downloaded in the excel/CSV
Please like the answer to promote.https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000GCUo1UAH