function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
akshay desai 9akshay desai 9 

how should I cover schema.sobject field in test class

User-added image
Aman PathakAman Pathak
Hi 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