You need to sign in to do that
Don't have an account?
Anjali Joshi 22
unable to load data in test class
I am trying to create test data in test class using Test.loaddata (). i see last name missing error in logs but dont see any information as which record in file is givign this error. can anyone help here?
Check below examples to load data using Test.loadData.
https://www.jitendrazaa.com/blog/salesforce/using-test-loaddata-to-import-records-with-relationship/
https://sfdctechie.wordpress.com/2019/02/11/use-test-loaddata-to-import-records-with-relationship/
Please mark as Best Answer if above information was helpful.
Thanks,
As my test csv file have almost 500 records i want to get which record is giving this error while trying to insert these records in SF.