+ 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!