Salesforce
CRT-450 · Question #206
CRT-450 Question #206: Real Exam Question with Answer & Explanation
Sign in or unlock CRT-450 to reveal the answer and full explanation for question #206. The question stem and answer options stay visible for context.
Question
While working in a sandbox, an Apex test fails when run in the Test Runner. However, executing the Apex logic in the Execute Anonymous window succeeds with no exceptions or errors. Why did the method fail in the sandbox test framework but succeed in the Developer Console?
Options
- AThe test method has a syntax error In the code.
- BThe test method does not use System. rurAs to execute as a specific user.
- CThe test method Is calling an future method.
- DThe test method relies on existing data in the sandbox.
Unlock CRT-450 to see the answer
You've previewed enough free CRT-450 questions. Unlock CRT-450 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.