Updated ruby file and added UI Automation test script.