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

Popular Salesforce Videos