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.

  • [adinserter block='9']
  • 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.