| || |
Squish tip of the week: How to test Web Apps on Mobile Devices
Did you know that you can test web applications on mobile device or tablet browsers as well as desktop browsers?
Check out our tip of the week to learn how: Squish tip of the week: How to test Web Apps on Mobile Devices
With the Squish for Web edition installed on a desktop machine:
1 Configure Squish to use standalone proxy server listening on a port (letís say 8001) by executing the following command from your Squish install directory:
$ ./bin/squishserver --config setProxyConnectAddress localhost:8001
2 Start an HTTP-Proxy server (using a different port number, letís say 8044) on the same computer by executing the following command from your Squish install directory:
$ ./bin/webproxy/proxy -H PC_NAME_OR_IP -p 8044 localhost 8001
3 Connect your mobile device or tablet to the same network as your desktop computer
4 Open the deviceís Wi-Fi settings and edit your currently connected Wi-Fi network settings (iOS Ė click the i for more info, and in the HTTP PROXY section click Manual; Android Ė tap and hold the currently connected Wi-Fi network, click Modify network and check the Show advanced options check box)
5 Enter your desktop computerís IP address or name in the Proxy hostname or Server box, and enter the HTTP-Proxy port (in this example 8044) in the Proxy Port or Port box
6 Save and close the settings area on your device
7 To test your connection, open a browser on your device and navigate to http://www.froglogic.com/startsquish/ (or any link followed by /startsquish). The browser page should load a Squish/Web Automated GuiTesting page with a Waiting for start of next testcaseÖ status
8 Open the Squish (for Web) IDE and select Edit > Server Settings > Browser, and choose the Browser on Mobile Device option.
Squish is now configured to test Web applications on your device!