Plat-Dev-201 practice question 8 of 30

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…

Choose your answer, then check it against the explanation.

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?
Answer options
Question 8 of 30

Keep practicing

Take the free Plat-Dev-201 practice test

Ten exam-style questions with answers and explanations, plus the exam facts and study guides.

Start the free practice test

More questions

Other Plat-Dev-201 practice questions

Scroll to Top