
You have different options to test your applications locally in Eclipse.
You have created a SAPUI5 application using the SAPUI5 application development tools, see Developing Applications Using SAPUI5 Tools.
If you have created a SAPUI5 application for a mobile target device, the application can only run in a WebKit-based browser. You can, however, use the mentioned options for testing your application locally in Eclipse and copy and paste the URL into a WebKit-based browser.
If your application has to access resources on a back-end system (OData), you must enable the back-end access for local testing.