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
Dinesh1617Dinesh1617 

Need Help in writing Test Class

When i'm trying to include the controller of VF page. It is not accessable from the test class

Best Answer chosen by Dinesh1617
Sonam_SFDCSonam_SFDC

Hi Din,

 

Just confirming - did you trying instantiating the controller in the test class - the process is described in the sample code on the following link:

http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_error_handling.htm

 

Please go through, hoping this helps!