Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Sanjay Pandey

Sanjay Pandey

Community Learner
Active in: Tableau Salesforce
Share
4Questions
1Answers
5.9KViews on questions

Why nonstatic method cannot be referenced from a static context in testclass?

To avoid this error, you can directly call the method without the instance. Addcontroller.saveContacts(conts); Also, in your saved contacts method, you are inserting and updating the contacts which you can combine together. get the current user contact accountId and assign it to the contacts before the insert. no need…

Salesforce

Answered Aug 8, 2021 · 1.3K Views Read answer →

More members from the Tableau community

Learners asking and answering questions on the same topics — follow their questions and join in.

Latest Tableau Blogs

Guides, tips and career advice on Tableau from JanBask experts.

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.