Skip to main content
At present code coverage is 63% for the below provided trigger. Required code coverage is 80%.Can any one help me with Test class for this trigger

 

Thanks In advance
1 respuesta
  1. 4 nov 2014, 4:05
    Venkataramana,

     

    Try like this,

    Create Case object in Test class,

    Case cs=new Case();

    cs.Origin='web';

    cs.Status='NEW';

    cs.Service_Location__c='testlocation';

    provide mandatory fields

    insert cs;

    This Answers Community is focused on configuration and design questions. Programmatic questions are best submitted to the developer forums at

    https://developer.salesforce.com where the forums and participants are geared toward programming troubleshooting and support

     

     
0/9000