+ Start a Discussion
sessusessu 

Test case

Hi How di i write test case for following trigger please help trigger updt on Member__c (before update) { Map mem = new Map(); for (integer i=0; ilstmem=new List(); for(Member2__c x : [select id, Name__c, FirstName__c from Member2__c where Name__c in : mem.keyset()]) { Member__c member = mem.get(x.Name__c); x.FirstName__c = member.FirstName__c; lstmem.add(x); } update lstmem; }
ngabraningabrani

Please post the code again - it is not very readable in its current form.