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

  • Kirandeep

    Member
    September 18, 2020 at 2:48 pm

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

  • Manish

    Member
    September 18, 2020 at 3:20 pm

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

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos