Activity Forums Salesforce® Discussions Is there any method to test a Visualforce page like an apex class?

  • Abhinav

    Member
    July 22, 2016 at 3:42 pm

    Hi Pranav,

    Are you using Visualforce component or you need to cover the test class of Visualforce Page Controller?

  • PRANAV

    Member
    July 25, 2016 at 5:42 am

    Hello,

    I am asking for Visualforce page controller.

  • Ajay Prakash

    Member
    February 18, 2018 at 7:27 am

    You need to do unit testing for apex classes not for visualforce pages. Yes you will need to write test classes for visualforce page controller before deployment.

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos