apex
Development
Kumaresan  

[Fix] Method does not exist or incorrect signature: Test.startTest()

Fix Compile Error: Method does not exist or incorrect signature: Test.startTest()

May be you will get this kind of issues in your org.

if you are facing this kind of issue, you can solve this issue with two ways

  • Check your Apex Class Name
  • Change the structure of Test.startTest()

Let’s see How to fix this issue

Check your Apex Class Name

if any class is there with the name of test rename that class name or delete

Change the structure of Test.startTest()

System.Test.startTest();
System.Test.stopTest();

That’s all Cool

Now compaile your code everything will work 🙂

Leave A Comment