Activity Forums Salesforce® Discussions Whai is Test.setpage() in Salesforce?

  • shariq

    Member
    September 19, 2018 at 7:38 am

    Hi,

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

    Thanks

  • Parul

    Member
    September 19, 2018 at 9:12 am

    Hi

    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