Activity Forums Salesforce® Discussions How to resolve the below error in Test Class in Salesforce?

  • How to resolve the below error in Test Class in Salesforce?

    Posted by Deepak on May 6, 2020 at 1:38 PM

    How to resolve the System.DmlException: Insert failed. First exception on row 1; first error: DUPLICATE_USERNAME, Duplicate Username.The username already exists in this or another Salesforce organization. Usernames must be unique across all Salesforce organizations. To resolve, use a different username (it doesn't need to match the user's email address). : [Username]error in Test Class in Salesforce?

    Deepak replied 6 years, 4 months ago 1 Member · 0 Replies
  • 0 Replies

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Salesforce Admin Certification 2020 Questions Explained with References - Part II

Video in

How to prepare and pass Salesforce Admin Certification with Practice Exam Questions 2020 practice questions and answers for the Salesforce Administration Salesforce Certified Admin Exam Questions Salesforce Administrator Certification Exam…

Popular Salesforce Infographics