You need to sign in to do that
Don't have an account?
SANDEEP CHITTINENI
Thanks in Advance.....!
How to write a test class fot this below code I having a problem covering code coverage
public pageReference View(){ String str = ApexPages.currentPage().getParameters().get('agentid'); String str1 = ApexPages.currentPage().getParameters().get('agencyid'); Validations = [select id, Validation_Name__c, Approved_By__c, Activity__c from Carrier_Validation__c where id =:str or id =:str1]; PageReference pg; system.debug('@@@@@@@@@@@'+Validations +'######' +str); if(str != null){ pg = new pageReference('https://c.cs1.visual.force.com/apex/View_Validations?id='+str); } if(str1 != null){ pg = new pageReference('https://c.cs1.visual.force.com/apex/View_Validations?id='+str1); } pg.setredirect(true); return pg; }
Thanks in Advance.....!
Let me know if any issue.
Thanks
Banwari
All Answers
Let me know if any issue.
Thanks
Banwari