Explain the core concepts of OOPs and how you have applied inheritance and polymorphism in your automation framework.