You need to sign in to do that
Don't have an account?
how to cover this line in test class
Hi ,
I am having one condtion in trigger like :
if(trigger.isUpdate && trigger.isAfter)
{
code;
}
how to satisfy the above if condition to cover the code inside if condition .
Regards,
Kiran
I am having one condtion in trigger like :
if(trigger.isUpdate && trigger.isAfter)
{
code;
}
how to satisfy the above if condition to cover the code inside if condition .
Regards,
Kiran
Just write a test class and create a record in test class and then update that reocrd.
For eg:
-Thanks
Ashlekh Gera
All Answers
Just write a test class and create a record in test class and then update that reocrd.
For eg:
-Thanks
Ashlekh Gera