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
Ishwarya Ramachandran 6Ishwarya Ramachandran 6 

Checking Challenge - Not working for created apex class

Hi,

I am trying to test my apex class and it just throws error that the apex class does not exist/not found. While I was able to execute the code to run the apex class.

Challenge Not yet complete... here's what's wrong: 
No Apex class named 'StringArrayTest' was found

divya bharatidivya bharati
Please check the class name used in the code and class name are same or not.
Ishwarya Ramachandran 6Ishwarya Ramachandran 6
Yes I seem to have given the same (as attached)User-added image
Amit Chaudhary 8Amit Chaudhary 8
Please try to delete same class and create same class from Salesforce UI not from Developer console. And check your challange
Please check below post as well
1) https://developer.salesforce.com/forums/?id=906F0000000BWSOIA4
2) https://developer.salesforce.com/forums/?id=906F0000000BYFgIAO
 
Ishwarya Ramachandran 6Ishwarya Ramachandran 6
How do I do that in Salesforce UI Amit! Might be simple but am not sure if I know the difference. 
Amit Chaudhary 8Amit Chaudhary 8
Setup->Apex Class and then create the class