Favoriteakshay desai (CG) asked in #ApexOct 2, 2019, 11:36 AMhow should I cover schema.sobject field in test class1 answerSortSort by Most HelpfulSort by Most HelpfulSort by DateAman Pathak (Deloitte Digital)Oct 7, 2019, 5:46 AMHi Akshay, It seems Like your are trying to achieve dynamic picklist , So in order to do that, just pass the Dependent field API, and Controlling field API in test Method .Regards,Aman Write an answer...BoldItalicUnderlineStrikethroughBulleted ListNumbered ListAdd linkCode blockInsert imageAttach filesLink URLCancelSave0/9000Reply
Aman Pathak (Deloitte Digital)Oct 7, 2019, 5:46 AMHi Akshay, It seems Like your are trying to achieve dynamic picklist , So in order to do that, just pass the Dependent field API, and Controlling field API in test Method .Regards,Aman