ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 129 - Certified Platform Developer II discussion

Report
Export

A developer wrote a Visualforce page for Sales Reps to add products to an order. The page takes a URL query parameter, productFamily, which filters the product results. The test method for the filter behavior has an assertion failing due to an incorrect number of results.

Why could the test be failing? (Choose two.)

A.
The test does not call Test.startTest()
Answers
A.
The test does not call Test.startTest()
B.
The test does not create product data
Answers
B.
The test does not create product data
C.
The test is not run by a System Administrator
Answers
C.
The test is not run by a System Administrator
D.
The test does not set the current page reference
Answers
D.
The test does not set the current page reference
Suggested answer: B, D
asked 23/09/2024
mr Craig Ferguson
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first