IBM Worklight v5.0.5 > Develop IBM Worklight applications

Worklight Studio - Test mobile web applications


You can use the Mobile Browser Simulator to emulate various mobile devices and test web applications without the need to install the device vendor native SDK.

Supported browsers...

To test...

  1. Create a mobile web project.

  2. Create web pages for mobile devices.

  3. Add Dojo mobile widgets to your mobile web pages.

  4. In the Enterprise Explorer view, right-click your mobile web page and select...

      Run As | Run on Mobile Browser Simulator

  5. In the Run on Server wizard, select...

      Choose an existing server

  6. Select a server from the list of servers and then click Finish.


Related concepts:

Mobile browser simulator


Related tasks:

Calibrating the mobile browser simulator
Enable user agent switching


Switch devices

Before you begin

To view your web application in the simulated devices using the appropriatestyle sheets, ensure that you completed the following tasks:

  1. Enable the detect device option when you created your web page.
  2. Enable user agent switching.

Procedure

In the simulator, click the device list and then select the device that you want to simulate.


Add devices

Before you begin

To view your web application in the simulated devices using the appropriatestyle sheets, ensure that you completed the following tasks:

  1. Enable the detect device option when you created your web page.
  2. Enable user agent switching.

Procedure

In the simulator, click Add Device and then select the device that you want to simulate.