Show/Hide Toolbars

Navigation: Advanced topics

PHPrunner32x32     PHPRunner manual


Testing web apps in mobile mode

Scroll Prev Next More

There are a few different ways of how you can quickly test the mobile version of your application.

1. Using your web browser

All modern browsers have an option to show any page the way it will appear on mobile device. There is a way how to do this using Chrome web browser.

 

1.1 Hit F12 to open Chrome Developers Tools. Click Mobile device icon in Chrome Developer tools.

 

scr_chrome_tools

 

1.2 If you done everything right this is what you going to see. You can choose different device types, horizontal or vertical orientation etc.

 

mobile_testing

 

2. Using your mobile device

If your mobile device and desktop computer are on the same network you can test your app using your smartphone or tablet. Note that built-in web server that comes with PHPRunner is only designed for local testing. You will need to use your own web server like XAMPP or IIS.

 

Choose output folder under your web server root folder i.e. C:\xampp\htdocs\project1 then open a URL like http://desktop_computer_name/project1 in your browser on mobile device.

 

Another option - post your project to Demo Account, copy the link, email it to yourself. On your mobile device open that email and click the link.