
18 件の回答
Please try below code to execute
NOTE:- you need to pass object of Batch job in executeBatchDataBase.executeBatch(new UserDeactivation_Batchable() );Please check below post for more information1) http://amitsalesforce.blogspot.com/2016/02/batch-apex-in-salesforce-test-class-for.htmlLet us know if this will help youUserDeactivation_Batchable obj = new UserDeactivation_Batchable();
DataBase.executeBatch(obj);