ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 193 - Certified Platform Developer II discussion

Report
Export

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

A.
Use Test.setCurrentpage,MyTestPage;
Answers
A.
Use Test.setCurrentpage,MyTestPage;
B.
Use Test.currentpage, getParameter, put (MyTestPage);
Answers
B.
Use Test.currentpage, getParameter, put (MyTestPage);
C.
Use Test, setCurrentPage(Page.MyTestPage);
Answers
C.
Use Test, setCurrentPage(Page.MyTestPage);
D.
Use controller,currentPage, setPage (MyTestPage
Answers
D.
Use controller,currentPage, setPage (MyTestPage
Suggested answer: C
asked 23/09/2024
Luis Hernaiz
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first