Test Automation: why ‘record and replay’ fails