Thoughtworks interview question

Automation Framwork creation from base. Random Programme Question - Bit High level