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

Enhancing Business Efficiency: Professional Salesforce Integration Services

Blog in

Salesforce integration services aim to enable seamless connections between Salesforce solutions and your other business-critical systems. In today's fast-paced digital landscape, businesses strive to optimize their operations, maximize productivity,…

Popular Salesforce Videos