3 answers
Hi,It seems, you already have a class with name 'Test'. Could you delete that and try saving this 'LoadData' class ?Thanks,Govindaraj.S Looks like you have an apex class with the name "Test" that is causing an issue so
- Delete the apex class name "Test"
- and use this code
List<sObject> ls = System.Test.loadData(Account.sObjectType, 'TestLoadData');