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 3 years, 12 months ago 1 Member · 0 Replies
  • 0 Replies

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Popular Salesforce Infographics