Implementing a Single Framework for API and UI Testing