New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Salesforce Certified Platform Developer 1 Exam CRT-450 Question # 60 Topic 7 Discussion

Salesforce Certified Platform Developer 1 Exam CRT-450 Question # 60 Topic 7 Discussion

CRT-450 Exam Topic 7 Question 60 Discussion:
Question #: 60
Topic #: 7

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?


A.

The test method does not use system. runAs to execute as a specific user.


B.

The test method is calling an @future method.


C.

The test method relies on existing data in the sandbox.


D.

The test method has a syntax error in the code.


Get Premium CRT-450 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.