{"id":3694,"date":"2014-02-15T14:29:43","date_gmt":"2014-02-15T08:59:43","guid":{"rendered":"http:\/\/JitendraZaa.com\/blog\/?p=3694"},"modified":"2015-11-25T23:16:39","modified_gmt":"2015-11-25T23:16:39","slug":"faq-writing-test-class-in-salesforce","status":"publish","type":"post","link":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/apex\/faq-writing-test-class-in-salesforce\/","title":{"rendered":"FAQ and Best Practices of Test Classes in Apex"},"content":{"rendered":"<p style=\"text-align: justify;\">Here I am going to share few answers related to Test Classes, which is being asked many times to me by novice Programmers. Please feel free to post Comments if your question is not answered here. I will try my best to add those Questions in this article. If you want to learn Test Class from very basic,<a title=\"How to write Test Class in Salesforce\" href=\"https:\/\/jitendrazaa.com\/blog\/salesforce\/step-by-step-salesforce-tutorial-%E2%80%93-creating-trigger-and-test-cases-%E2%80%93-6-of-6\/\"> you can check this article also<\/a>.<\/p>\n<ol>\n<li><a title=\"Best Practices for Test Classes\" href=\"#Q1\">Best Practices for Test Classes<\/a><\/li>\n<li><a href=\"#Q10\">Use of SmartFactory to auto generate test data<\/a><\/li>\n<li><a title=\"Test method of Controller Extension for StandardController\" href=\"#Q2\">Test method of Controller Extension for StandardController<\/a><\/li>\n<li><a title=\"Test method of Controller Extension for StandardSetController\" href=\"#Q3\">Test method of Controller Extension for StandardSetController<\/a><\/li>\n<li><a title=\"Why getSelected() method of StandrdSetController is not working\" href=\"#Q4\">Why getSelected() method of StandrdSetController is not working<\/a><\/li>\n<li><a title=\"sample Template of class which generates Dummy Data\" href=\"#Q5\">sample Template of class which generates Dummy Data<\/a><\/li>\n<li><a title=\"checking Error Page Messages in Test Classes\" href=\"#Q6\">checking Error Page Messages in Test Classes<\/a><\/li>\n<li><a title=\"How to set Current Visualforce Parameter in Apex Test class\" href=\"#Q7\">Setting Visualforce Page Parameter<\/a><\/li>\n<\/ol>\n<div id=\"Q1\">\n<p><strong>What are some Best Practices while writing Test Classes ?<\/strong><\/p>\n<p>Well, It differs from person to person, as every\u00a0programmer\u00a0has its own style of writing code. However I will list few of mine.<\/p>\n<ul>\n<li style=\"text-align: justify;\">Very important and first, &#8220;Test Coverage Target Should not be limited to 75%&#8221;. It is not about coverage, It is about testing complete functionality. It will be always better if your code fails during test execution, It will be less devastating than failing functionality after product release.<\/li>\n<li style=\"text-align: justify;\">If possible Don&#8217;t use <strong>seeAllData=true<\/strong>, Create your Own Test Data.<\/li>\n<li style=\"text-align: justify;\">Always use <strong>@testSetup<\/strong> method dedicated to create test records for that class. This is newly added annotation and very powerful. Any record created in this method will be available to all test methods of that class. Using @testSetup method will improve test execution performance by creating test records only once for that class. If you are not using this, means test record is created in each TestMethod which will be very slow. <a href=\"https:\/\/developer.salesforce.com\/docs\/atlas.en-us.apexcode.meta\/apexcode\/apex_testing_testsetup_using.htm\">Read this Salesforce documentation for more information<\/a>.<\/li>\n<li style=\"text-align: justify;\">Create Different Class which will create Dummy Data for testing, and use it everywhere (You have to be very careful, as sometimes it may slow down test class execution by creating unnecessary data which does not require by every test methods. So few developer prefer test data creation per Test class)<\/li>\n<li style=\"text-align: justify;\">If your Object&#8217;s Schema is not changing frequently, you can create CSV file of records and load in static resource. This file will act as Test data for your Test Classes.<\/li>\n<li style=\"text-align: justify;\">Use As much as Assertions like System.AssertEquals or System.AssertNotEquals<\/li>\n<li style=\"text-align: justify;\">Use <strong>Test.startTest()<\/strong> to reset Governor limits in Test methods<\/li>\n<li style=\"text-align: justify;\">If you are doing any Asynchronous operation in code, then don&#8217;t forget to call <strong>Test.stopTest()<\/strong> to make sure that operation is completed.<\/li>\n<li style=\"text-align: justify;\">Use <strong>System.runAs()<\/strong> method to enforce OWD and Profile related testings. This is very important from Security point of View.<\/li>\n<li style=\"text-align: justify;\">Always try to pass null values in every methods. This is the area where most of program fails, unknowingly.<\/li>\n<li style=\"text-align: justify;\">Always test Batch Capabilities of your code by passing 20 to 100 records.<\/li>\n<li style=\"text-align: justify;\">Use <strong>Test.isRunningTest()<\/strong> in your code to identify that context of class is Test or not. You can use this condition with OR (||) to allow test classes to enter inside code bock. It is very handy while testing for webservices, we can generate fake response easily.<\/li>\n<li style=\"text-align: justify;\"><strong>@TestVisible<\/strong> annotation can be used to access private members and methods inside Test Class. Now we don&#8217;t need to compromise with access specifiers for sake of code coverage.<\/li>\n<li style=\"text-align: justify;\">End your test class with &#8220;_Test&#8221;. So that in Apex Class list view, Main class and Test class will come together, resulting easy navigation and time saver.<\/li>\n<\/ul>\n<\/div>\n<p><!--more--><\/p>\n<hr \/>\n<div id=\"Q10\">\n<p><strong>Use of SmartFactory to auto generate test data<\/strong><\/p>\n<p style=\"text-align: justify;\">This is very common pattern where we create test data in some utility method ans reuse it across test methods. However\u00a0change in requirement is inevitable and many validation rules and mandatory fields gets introduced in application and test methods starts breaking. We can resolve this issue by using <a href=\"https:\/\/github.com\/mbotos\/SmartFactory-for-Force.com\">unmanaged package available on github<\/a>\u00a0which creates Test data and hierarchy automatically using dynamic Apex and make sure all required fields are populated.<\/p>\n<p>Just use SmartFactory in your tests to create objects:<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\nAccount account = (Account)SmartFactory.createSObject('Account');\r\n<\/pre>\n<p>To cascade and create objects for lookup and master-detail relationships:<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\nContact contact = (Contact)SmartFactory.createSObject('Contact', true);\r\n<\/pre>\n<p>The same syntax is used for custom objects:<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\nCustom_Object__c customObject = (Custom_Object__c)SmartFactory.createSObject('Custom_Object__c');\r\n<\/pre>\n<\/div>\n<div id=\"Q2\">\n<p><strong>How to write Test method of Controller Extension for StandardController ?<\/strong><\/p>\n<p>Example :<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n\/\/Lets Assume we are writing Controller Extension for Account\r\nAccount acct = &#x5B;SELECT ID FROM Account LIMIT 1];\r\n\r\n\/\/Start Test Context, It will reset all Governor limits\r\nTest.startTest();\r\n\r\n\/\/Inform Test Class to set current page as your Page where Extension is used\r\nTest.setCurrentPage(Page.YOUR_PAGE);\r\n\r\n\/\/Instantiate object of &quot;ApexPages.StandardController&quot; by passing object\r\nApexPages.StandardController stdController = new ApexPages.StandardController(acct);\r\n\r\n\/\/Now, create Object of your Controller extension by passing object of standardController\r\nYOUR_Extension ext = new YOUR_Extension(stdController);\r\n\r\n\/\/Here you can test all public methods defined on Extension &quot;ext&quot;\r\n\/\/..... your code\r\n\r\n\/\/Finish Test\r\nTest.stopTest();\r\n<\/pre>\n<\/div>\n<hr \/>\n<div id=\"Q3\"><strong>How to write Test method of Controller Extension for StandardSetController ?<\/strong><\/div>\n<div><\/div>\n<div>\n<p>In Same way, with few modification :<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n\/\/Lets Assume we are writing Controller extension to use on List View of Account\r\nList &lt;Account&gt; acctList = &#x5B;SELECT ID FROM Account];\r\n\r\n\/\/Start Test Context, It will reset all Governor limits\r\nTest.startTest();\r\n\r\n\/\/Inform Test Class to set current page as your Page where Extension is used\r\nTest.setCurrentPage(Page.YOUR_PAGE);\r\n\r\n\/\/Instantiate object of &quot;ApexPages.StandardSetController&quot;by passing array of records\r\nApexPages.StandardSetController stdSetController = new ApexPages.StandardSetController(acctList);\r\n\r\n\/\/Now, create Object of your Controller extension by passing object of standardSetController\r\nYOUR_Extension ext = new YOUR_Extension(stdSetController);\r\n\r\n\/\/Here you can test all public methods defined on Extension &quot;ext&quot;\r\n\/\/..... your code\r\n\r\n\/\/Finish Test\r\nTest.stopTest();\r\n<\/pre>\n<\/div>\n<hr \/>\n<div id=\"Q4\">\n<p><strong>Why getSelected() method of StandrdSetController is not returning anything?<\/strong><\/p>\n<p>You might be in\u00a0situation\u00a0that getSelected() method is not returning anything in your test method \u00a0inspite of proper coding. In Actual scenario we select records in ListView and after clicking on custom button, StandardSetController&#8217;s getSelected()\u00a0method returns selected record in Controller Extension. So, to Select records\u00a0programmatically\u00a0\u00a0in Test method we have to use method &#8220;setSelected()&#8221; as shown in below code.<\/p>\n<pre class=\"brush: java; highlight: [14]; title: ; notranslate\" title=\"\">\r\n\/\/Lets Assume we are writing Controller extension to use on List View of Account\r\nList &lt;acctList&gt; = &#x5B;SELECT ID FROM Account];\r\n\r\n\/\/Start Test Context, It will reset all Governor limits\r\nTest.startTest();\r\n\r\n\/\/Inform Test Class to set current page as your Page where Extension is used\r\nTest.setCurrentPage(Page.YOUR_PAGE);\r\n\r\n\/\/Instantiate object of &quot;ApexPages.StandardSetController&quot; by passing array of records\r\nApexPages.StandardSetController stdSetController = new ApexPages. StandardSetController(acctList);\r\n\r\n\/\/Here, you are selecting records programmatically, which will be available to method &quot;getSelected()&quot;\r\nstdSetController.setSelected(acctList);\r\n\r\n\/\/Now, create Object of your Controller extension by passing object of standardSetController\r\nYOUR_Extension ext = new YOUR_Extension(stdSetController);\r\n\r\n\/\/Here you can test all public methods defined on Extension &quot;ext&quot;\r\n\/\/..... your code\r\n\r\n\/\/Finish Test\r\nTest.stopTest();\r\n<\/pre>\n<\/div>\n<hr \/>\n<div id=\"Q5\"><strong>Any sample Template for method or class which generates Dummy Data?<\/strong><\/div>\n<div><\/div>\n<div>\n<p>You can create methods something like below to generate TestRecords. It will change on requirement however will give some idea.<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n\/**\r\n*\tUtility class used for generating Dummy Data for Test Methods\r\n**\/\r\npublic class DummyData\r\n{\r\n\t\/**\r\n\t*\tDescription : This method will generate List of Account with Dummy Data\r\n\t*\r\n\t*\tParameters :\r\n\t*\t@totalRecords : How many Records you want to generate ?\r\n\t*\t@withIds : Do you want returned records with generateId? If null then false\r\n\t**\/\r\n\tpublic static List&lt;Account&gt; getAccounts(Integer totalRecords, Boolean withIds)\r\n\t{\r\n\t\tList&lt;Account&gt; retList = new List&lt;Account&gt;();\r\n\t\tif(withIds == null)\r\n\t\t\twithIds = false;\r\n\r\n\t\tfor(Integer i=0;i&lt;totalRecords;i++)\r\n\t\t{\r\n\t\t\tAccount a = new Account(Name = constructTestString(20));\r\n\t\t\tretList.add(a);\r\n\t\t}\r\n\t\tif(withIds)\r\n\t\t\tinsert retList;\r\n\r\n\t\treturn retList;\r\n\t}\r\n\r\n\t\/**\r\n\t*\tThis method is used to generate Random String of supplied length\r\n\t*\/\r\n\tpublic static String constructTestString(Integer length) {\r\n\t\tBlob blobKey = crypto.generateAesKey(128);\r\n\t\tString key = EncodingUtil.convertToHex(blobKey);\r\n\t\treturn key.substring(0,length);\r\n\t}\r\n}\r\n<\/pre>\n<\/div>\n<hr \/>\n<div id=\"Q6\">\n<p style=\"text-align: justify;\"><strong>How to check Error Page Messages in Test Classes to ensure that messages are displayed as expected on Visualforce Page ?<\/strong><\/p>\n<p>Assume that you have one Controller class which adds error message to Visualforce page.<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\npublic class DemoController\r\n{\r\n    \/\/... some code\r\n\r\n    public PageReference somemethod()\r\n    {\r\n        \/\/Check for some validation. like User is Authorized or not ?\r\n        if(!validate())\r\n        {\r\n             \/\/Means User is not Authorized for this operation, Add error on Visualforce page\r\n             Apexpages.addMessage( new ApexPages.Message (ApexPages.Severity.ERROR, 'User is not Authorized to perform this Operation'));\r\n             return null;\r\n        }\r\n        return Page.SomePage;\r\n    }\r\n}\r\n<\/pre>\n<p>Now, lets say you want to check whether error message is added on visualforce page or not in Test Class.<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n@isTest\r\npublic class DemoController_Test\r\n{\r\n    public static testMethod void someMethod_Test()\r\n    {\r\n        Test.StartTest();\r\n\r\n        \/\/Set Context for Current page in Test Method\r\n        Test.setCurrentPage(Page.yourpage);\r\n\r\n        \/\/... some code Here, which will produce error in Apex:PageMessages tag\r\n        List&lt;Apexpages.Message&gt; msgs = ApexPages.getMessages();\r\n\r\n        boolean isErrorMessage = false;\r\n\r\n        for(Apexpages.Message msg : msgs){\r\n            if (msg.getDetail().contains('User is not Authorized to perform this Operation') )\r\n                isErrorMessage  = true;\r\n        }\r\n        \/\/Assert that the Page Message was Properly Displayed\r\n        system.assert(isErrorMessage );\r\n\r\n    }\r\n}\r\n<\/pre>\n<p>If you are looking on how to add &#8220;Page error message&#8221; in Visualforce through Apex, You can see <a title=\"Latest Salesforce Interview Questions \u2013 Part 4 \u2013 Related to Dynamic Apex\" href=\"https:\/\/jitendrazaa.com\/blog\/salesforce\/very-useful-tips-and-tricks-of-the-apex-salesforce-interview-questions-part-4\/\">this article<\/a>.<\/p>\n<hr \/>\n<\/div>\n<div id=\"Q7\"><strong>How to set Page Parameters for Visualforce page in Test Classes ?<\/strong><\/div>\n<div><\/div>\n<div>\n<p>First, we need to set Current page in Test method and use &#8220;ApexPages&#8221; class. Example of code snippet shown below :<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n@isTest\r\npublic class Your_TestClass\r\n{\r\n    public static testMethod void yourmethodName()\r\n    {\r\n        \/\/... your initialization code here\r\n\r\n        \/\/Set current Page Context here, consider page name &quot;Demo&quot;\r\n        Test.setCurrentPage(Test.Demo);\r\n\r\n        \/\/Now set Parameters for page &quot;Demo&quot;\r\n        ApexPages.currentPage( ).getParameters( ).put( 'parameterName' , 'param Value');\r\n\r\n        \/\/... Your remaining logic here\r\n    }\r\n}\r\n<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Here I am going to share few answers related to Test Classes, which is being asked many times to me by novice Programmers. Please feel free to post Comments if your question is not answered here. I will try my best to add those Questions in this article. If you want to learn Test Class [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"jz_research_post":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[20],"tags":[96,124,197,336],"class_list":["post-3694","post","type-post","status-publish","format-standard","hentry","category-apex","tag-faq","tag-interview-questions","tag-testclass","tag-visualforce"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":5351,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/test-setup-method-in-apex-test-class\/","url_meta":{"origin":3694,"position":0},"title":"Test Setup method in Apex","author":"Jitendra","date":"February 22, 2016","format":false,"excerpt":"How to use setup method in Apex test classes","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2762,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/salesforce-interview-questions-part-6\/","url_meta":{"origin":3694,"position":1},"title":"Salesforce Interview Questions &#8211; Part 6","author":"Jitendra","date":"March 10, 2012","format":false,"excerpt":"Basic concepts and Interview Questions of salesforce, Visualforce, Apex and SOQL","rel":"","context":"In &quot;Apex&quot;","block_context":{"text":"Apex","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/apex\/"},"img":{"alt_text":"Salesforce - External Id option while creating field","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2012\/03\/Salesforce-External-Id-option-while-creating-field.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2012\/03\/Salesforce-External-Id-option-while-creating-field.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2012\/03\/Salesforce-External-Id-option-while-creating-field.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":3598,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/listview-filter-in-apex-with-paging-and-navigation\/","url_meta":{"origin":3694,"position":2},"title":"How to access ListView in Apex | Using StandardSetController for Pagination","author":"Jitendra","date":"November 8, 2013","format":false,"excerpt":"There are scenario in project lifecycle where developer creates SOQL or Dynamic SOQL to return expected result. Also if requirement changes they go back and change existing code to reflect updated SOQL. If you are good developer and avoid to change Apex code at most you will save your SOQL\u2026","rel":"","context":"In &quot;Apex&quot;","block_context":{"text":"Apex","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/apex\/"},"img":{"alt_text":"Use ListView in Visualforce with Paging and Navigation","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2013\/11\/Use-ListView-in-Visualforce-with-Paging-and-Navigation.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2013\/11\/Use-ListView-in-Visualforce-with-Paging-and-Navigation.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2013\/11\/Use-ListView-in-Visualforce-with-Paging-and-Navigation.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":5796,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/lightning-data-services-standard-controller-for-lightning-components\/","url_meta":{"origin":3694,"position":3},"title":"Lightning Data Service &#8211; Standard Controller for Lightning Components","author":"Jitendra","date":"July 22, 2017","format":false,"excerpt":"Best Practices for Salesforce Lightning Component. How Lightning Data Service can improve Lightning Component performance and solve inconsistent data problem without writing single line of Apex code. Demo source code, image and slides included.","rel":"","context":"In &quot;Apex&quot;","block_context":{"text":"Apex","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/apex\/"},"img":{"alt_text":"Salesforce Lightning Data Services","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2017\/07\/Salesforce-Lightning-Data-Services.png?fit=1045%2C395&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2017\/07\/Salesforce-Lightning-Data-Services.png?fit=1045%2C395&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2017\/07\/Salesforce-Lightning-Data-Services.png?fit=1045%2C395&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2017\/07\/Salesforce-Lightning-Data-Services.png?fit=1045%2C395&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":5152,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/using-test-loaddata-to-import-records-with-relationship\/","url_meta":{"origin":3694,"position":4},"title":"Using Test.loadData to import records with relationship","author":"Jitendra","date":"January 6, 2016","format":false,"excerpt":"There are many resources and documents available around how to use Test.loadData to create test records in Apex class. As per best practice of writing Test classes in Apex, Its good idea to store master data (aka Seed, Reference data) in static resource and load\u00a0it in Test classes using \"Test.loadData\"\u2026","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Test.loadData and Static resource in Salesforce","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/01\/Test.loadData-and-Static-resource-in-Salesforce.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/01\/Test.loadData-and-Static-resource-in-Salesforce.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/01\/Test.loadData-and-Static-resource-in-Salesforce.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2016\/01\/Test.loadData-and-Static-resource-in-Salesforce.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":3050,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/my-favorite-top-10-features-of-winter-13-release-salesforce\/","url_meta":{"origin":3694,"position":5},"title":"My Favorite Top 10 Features of Winter 13 release &#8211; Salesforce","author":"Jitendra","date":"August 24, 2012","format":false,"excerpt":"Dear Friends, I am very excited to write this article about the cool Winter 13 features which i have added in My List. There are lots of lots of new features added in this release and i have made the list of my top 10 favorite features. Yesterday Salesforce published\u2026","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Salesforce Winter 13 Release Notes","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2012\/08\/Salesforce-Winter-13-Release-Notes-300x212.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/3694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/comments?post=3694"}],"version-history":[{"count":4,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/3694\/revisions"}],"predecessor-version":[{"id":5058,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/3694\/revisions\/5058"}],"wp:attachment":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/media?parent=3694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/categories?post=3694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/tags?post=3694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}