Activity › Forums › Salesforce® Discussions › Create test data with more than 10000 rows dynamically in apex

  • Surbhi

    Member
    June 7, 2016 at 1:40 PM

    Hi Himanshu,

    My solution for this would be to insert 5000 in one pass, and then use the Test.Starttest(), which will give you a set of limits and then insert another 5,000. Then, run the test with "seeAllData= true". But this is not ideal approach.

    Thanks

     

Log In to reply.

Popular Salesforce Blogs

Why Enroll in a Salesforce Administrator Course? Key Benefits for Your Career Advancement

Blog in

  In today's competitive digital landscape, organizations rely heavily on customer relationship management (CRM) systems to streamline their operations and build stronger customer relationships. As…

Popular Salesforce Videos