Activity Forums Salesforce® Discussions Explain Test.setPage() in Salesforce?

  • shariq

    Member
    September 22, 2018 at 10:26 pm

    It is used to set the context to current page, normally used for testing the visual force controller

  • Parul

    Member
    September 23, 2018 at 3:50 am

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

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos