Skip to Content
Author's profile photo Wouter Lemaire

SAPUI5 project setup for beginners with HTML views – Part4: Testing your application


This blog is the third part of the blog series “SAPUI5 project setup for beginners with HTML views”. All different parts:

Part1: Installation

Part2: Navigation and storing data with a global model – full project

Part3: Navigation and storing data with different models – full project

Part4: Testing your application

Part4: Testing your application

In the previous parts of this blog I’ve created a sapui5 application. How to test this?

There are two options:

  • Configure chrome
  • Local webserver

Last but not least there is something about caching.

Configure Chrome

The first option is to just browse to your project by using your internet explorer or chrome or …

You copy the path of your project from eclipse:


Copy the location from the properties


Paste it in your browser

Select WebContent


Select index.html


But this could give errors:


You can solve this by creating a shortcut of google chrome and add the following to the target property

–args –allow-file-access-from-files


But this did not always worked for me…

Local webserver

So another option which I mostly use is a local webserver, XAMPP:

Open XAMPP Control Panel and start Apache


Then copy the project from the workspace to the XAMPP server. The link to the workspace is in the properties of the project. Copy the project and past it in C:\xampp\htdocs.

Now  the application is able to run from the localhost:




If you do some changes to your application, it is possible that some parts are still cached. A good way to get rid of this caching is opening your development tools in chrome by pressing F12.

In the development tools, go to settings:


Disable cache while DevTools is open:


When Dev tools is open and you refresh the application nothing will be cached. From time to time it could be required to clear cache manually. Press CTRL + SHIFT + DEL:


So you are sure that the whole cache is cleared.

Kind regards,


Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      I followed part1,part2 and part3..when I run the application only the first view gets loaded..second page is not coming up..i think there is some problem with navigation part..what could be the possible error and solution?? Thanks in advance.

      Author's profile photo Wouter Lemaire
      Wouter Lemaire
      Blog Post Author

      Thanks for the feedback!

      Maybe something wrong with view names. Can you check if every view starts with the name of the folder where the views are in? (I think there is a typo in one of the blogs)

      for example: "firstsapui5project.FirstView"

      What error do you get in the console of google chrome? (open it with F12)

      You can compare with project on github.

      For part 2 :

      For part3 : lemaiwo/SAPUI5-part2 · GitHub

      Kind regards,


      Author's profile photo Former Member
      Former Member

      Thanks Wouter.I have to create a dropdownbox and radio button using HTML views..I am using resposiveflowlayoutdata...have been trying to do so..but couldn't find the code.Can u help me with it?



      Author's profile photo NetworkChampion Book
      NetworkChampion Book

      Essaytigers is one of the best writing company in United Kingdom, London. Essaytigers Write custom essay assignment for students in London. We offer online custom assistance and purely custom written papers for your guidance and it is strongly recommended that do not submit the received paper as it is, provided paper is only for reference purpose and you need to make your own paper with the help of sample paper.