You need to sign in to do that
Don't have an account?
Darshit Pathak 3
How to generate bulk test data in apex test class without numeric value?
I have a validation which does not accepts only alphabetic characters for contact first and last name. No numerics are allowed.
So how can I generate bulk data with unique names for my test class without using numeric value in first last name.
So how can I generate bulk data with unique names for my test class without using numeric value in first last name.
Try following code:
Extend this for more records.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi