+ Start a Discussion
sajal bansalsajal bansal 

test class for uploading csv file via batchable class

Hi,
I had created a batchable class for inserting records in custom objects through a csv file.

now i want to create a test class for the same.
sajal bansalsajal bansal
please help me with some sample code.
AlgoworksAlgoworks
Hi Sajal Bansal,

Please follow the following link http://developer.financialforce.com/customizations/importing-large-csv-files-via-batch-apex/.
It is having some sample code, I belive it will help you!! :)

sajal bansalsajal bansal

Hi
Algoworks,

Thnx for the rpl but i had used thiscode in my class now i want to create a test class for the same.

Please help in that.