can you please let me know whether it is possible to write test class to validate Layout ? For example in task creation layout if the position of button is changed, is it possible for apex test class to detect the change and test class or method fails ?
Wanted to ensure layout changes are detected, so test method fails during validation and developer notices and fix the layout .