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 Practice Questions with 280 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments