What is the best practice to initialize a Visualforce page in a test class?

What is the best practice to initialize a Visualforce page in a test class?
A . Use Test.setCurrentpage,MyTestPage;
B . Use Test.currentpage, getParameter, put (MyTestPage);
C . Use Test, setCurrentPage(Page.MyTestPage);
D . Use controller,currentPage, setPage (MyTestPage

Answer: C

Latest PDII Dumps Valid Version with 280 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments