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
sundhar.mks1.3962649227519546E12sundhar.mks1.3962649227519546E12 

Deploy Error: INVALID TYPE test class

Hi,

       I have written custom component and test class, i'm tried to deploy the code(Custom component and Test class) sandbox to production, i got Error: INVALID TYPE - My test class, I don't no what is a problem, Kindly give any solution to this

Thanks.
Waqar Hussain SFWaqar Hussain SF
Have you define a class in your org with the name "Test"??
please check it and rename it
sandeep@Salesforcesandeep@Salesforce
Can you please confirm is this really Name issue or anything else so that we can investigate accoridngly. Test is a special keyword. 
We have many static methods over this class like starttest() and stoptest()

Thanks
Sandeep Singhal