You need to sign in to do that
Don't have an account?
Ganeeesh
Test class code coverage....
can anybody help me how can i cover this code...
public PageReference recedit() {
System.debug('*************************'+accid);
pagereference ref=new pagereference('/'+accid+'/e');
return ref;
}
and
public PageReference deleterec() {
Account acc=[select id,name from Account where id =: accid];
System.debug('***********************************'+acc);
delete acc;
pagereference ref=new pagereference('/apex/vieweditdelete');
ref.setredirect(true);
return ref;
}
Hope this helps !!
Please give KUDOS if this answer helped you :)