You need to sign in to do that
Don't have an account?
sudipta panja 15
test class to compare value of second batch of records with first/previous batch of records.
Hi,
The execute method runs number of times as there are number of batches.
Now if I have a batch to check duplicacy. And say I have 400 records to be processed.
I want my test class to run execute method twice to check if the second batch is introducing any duplicate record to match any already modified record in first batch.
Is this possible in test class to run two batches of apex, Hope I could expain my question.