Skip to Content

Testing UI5 Apps

Hi All,

I’ve been developing some apps in SAP HANA for desktop and mobile viewports. Here’s a tip for testing those apps without using the mobile phone simulator to check the rendering for mobile screens:

In the <head> tag of the html file there is a block of code to initialise sap.ui libraries, themes and others. It looks like this:

<script id='sap-ui-bootstrap' type='text/javascript'

In order to enable the testing for mobile screens the following line should be added before closing the <script> tag:


This line allows simulation of an iPhone/iPad viewport.

Hope this helps all SAP HANA starters.


Alejandro Fonseca

Twitter: @MarioAFC

Be the first to leave a comment
You must be Logged on to comment or reply to a post.