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
Amit GoyalAmit Goyal 

I could not access my Test Class Methods in my Developer Edition Account Like Test.StartTest()

I could not access my Test Class Methods in my Developer Edition Account Like Test.StartTest(), Test.StopTest() or Test.setCurrentPage() methods, I could be able to do it before but from today only when I am saving the test class with this methods its giving me compile time errors and the test classes in which I have used it earlier. Its throwing exception at run test.

What could be the reason.
Best Answer chosen by Amit Goyal
Waqar Hussain SFWaqar Hussain SF
see in you organization that you have create an apex class named "test" . delete that class and try again.

All Answers

James LoghryJames Loghry
Sounds to me like there is an issue with another Apex class that is causing your compile error.  If you could provide the error message and Apex class associated with it, perhaps we could help more.
Waqar Hussain SFWaqar Hussain SF
see in you organization that you have create an apex class named "test" . delete that class and try again.
This was selected as the best answer