function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sudhakar ReddySudhakar Reddy 

Testmethod

can we access TestMethod() in trigger?

bharath kuamarbharath kuamar

yes we can

Rajesh SriramuluRajesh Sriramulu

Hi

 

We can't write or access testmethod from or in trigger.

 

 

Regards,

Rajesh.

Shreya...Shreya...

We can't write the test method in trigger but we can write it in regular class.

 

Regards,

Shreyaa