Activity Forums Salesforce® Discussions What is the use of Test.setPage() in Salesforce?

  • Manpreet

    Member
    April 28, 2017 at 1:23 pm

    Hi Saurabh,

    Test.setPage() method in Salesforce is used to set the context to current page, normally used for testing the Visualforce controller in test classes.

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos