Activity Forums Salesforce® Discussions Is there any other way to execute batch class without writing its test class in Salesforce?

  • Anuj

    Member
    January 20, 2020 at 2:25 PM

    Hi Anjali ,

    First of all Batch class is Execute on Anonymous window By creating Object of class and pass the object variable in Id jobId= Database.executebatch(Object_variable);

    Test class is used to test the functionality of main class , it is not compulsory to write test calss.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Free 5 Day Salesforce Challenge!

Video in

To access the signup form head over to www.talentstacker.com/Salesforce TalentStacker Podcast Salesforce Episode: https://talentstacker.libsyn.com/how-to-earn-60k-100k-a-year-within-6-months-without-a-college-degree-say-what-salesforce-career-development-path-with-bradley-rice Do you already have a job as a Salesforce Professional and…