TESTEVERYTHING

Wednesday 18 July 2018

Install Sauce Connect on Mac OSX and Run from local

   Install Sauce Connect on Mac OSX



Install the App

  1. Press Command+Space and type Terminal and press enter/return key.
  2. Run in Terminal app:
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null ; brew install caskroom/cask/brew-cask 2> /dev/null
    and press enter/return key. 
    If the screen prompts you to enter a password, please enter your Mac's user password to continue. When you type the password, it won't be displayed on screen, but the system would accept it. So just type your password and press ENTER/RETURN key. Then wait for the command to finish.
  3. Run:
    brew cask install sauce-connect
  4. In terminal set all the required parameter
  5. export SAUCELABS_HOST="127.0.0.1"
    export SAUCELABS_PORT="4448"
    export SAUCELABS_USER_NAME="<YOUR USER ACCOUNT>"
    export SAUCELABS_KEY="<YOUR SAUCELABS LAB KEY>"
    export SAUCE_LAB_GULP_TASK="<TASK NAME>"
    export SAUCELABS_TUNNEL="Tunnel Name"
    export APPLICATION_ENVIRONMENT="ENVIRONMENT NAME"
  6. Execute below command once the parameter set in terminal
  7. sc --no-autodetect -u $SAUCELABS_USER_NAME -k $SAUCELABS_KEY -i $SAUCELABS_TUNNEL -l /tmp/sauce_connect.log --se-port 4448

2 comments:

Post a Comment

Which one is right ?

Translate







Tweet