-
Confirm with your Firewall and Proxy teams that the list of IP ranges specified in [1] are opened on the corporate side. I would imagine they were done at the time when Desktop was implemented, but it’ll save a lot of head scratching to confirm in advance.
-
In parallel with Step 1, you’ll need to download the Sauce Connect executable (also found in [1]). You’ll need to make sure that wherever you run it from, it’ll have network access to #1 above.
-
I’ve attached a sample Sauce Connect config file specifically for mobile. Be sure to tweak it to match your environment, specifically the
tunnel-domains
entry to tunnel your corporate traffic.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: $0 <file_to_upload>" | |
exit -1 | |
fi | |
FILE=$1 | |
filename=$(basename $FILE) | |
curl -u $SAUCE_USERNAME:$SAUCE_ACCESS_KEY -X POST -H "Content-Type: application/octet-stream" https://saucelabs.com/rest/v1/storage/${SAUCE_USERNAME}/${filename}?overwrite=true --data-binary @${FILE} |
- Launch a manual session with the iOS simulator of your choice.
- In the manual session, open Safari (desktop). To do this:
- Click outside the simulator, activating Finder.
- Select File in the menu → New Finder Window.
- Select Applications → Safari and open it.
- Check to see if Develop is in the menu for Safari. If it isn't:
- Select Safari → Preferences.
- Go to the Advanced tab, and check the box at the bottom to turn ON the develop menu.
- Check to see if the web inspector is active for the iOS Simulator (it should be enabled by default):
- Select Settings (for iOS Simulator) → Safari → Advanced (scroll to the bottom of the settings page) &arr; Turn on web inspector.
NOTE: These instructions only apply to Real Device LIVE Testing. For Live Desktop, Automated Desktop, Automated Emulator, Automated Simulator, and Automated Real Device testing, a separate Sauce Connect instance is needed. Reference this Gist for details: https://gist.github.com/billmeyer/5cdb1ff770b0552ef0e49c49ba122d47.
Get started by downloading the Sauce Connect executable from https://wiki.saucelabs.com/display/DOCS/Downloading+Sauce+Connect+Proxy.
See https://wiki.saucelabs.com/display/DOCS/System+and+Network+Requirements+for+Sauce+Connect+Proxy for network-specific requirements.
Get started by downloading the Sauce Connect executable from https://wiki.saucelabs.com/display/DOCS/Downloading+Sauce+Connect+Proxy.
See https://wiki.saucelabs.com/display/DOCS/System+and+Network+Requirements+for+Sauce+Connect+Proxy for network-specific requirements.
These scripts expect that environment variables are set for SAUCE_USERNAME
and SAUCE_ACCESS_KEY
.
OlderNewer