Automation framework for mobile application