SideeX to Sauce Labs

  1. Open Sauce Labs official website

  2. Register an account and login

  3. Click User Setting in the menu with your profile name to get access key

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More โ†’

  4. Click Dashboard and then click Automated Tests

  5. Use Capabilities Generator, select WebDriver(W3C) and then choose your divice , operating system, browser and select node.js format, and then replace all ' to "

    โ€‹โ€‹โ€‹โ€‹{
    โ€‹โ€‹โ€‹โ€‹    "browserName": "chrome",
    โ€‹โ€‹โ€‹โ€‹    "browserVersion": "78.0",
    โ€‹โ€‹โ€‹โ€‹    "platformName": "macOS 10.13",
    โ€‹โ€‹โ€‹โ€‹    "sauce:options": {
    โ€‹โ€‹โ€‹โ€‹    }
    โ€‹โ€‹โ€‹โ€‹}
    
  6. Change browserVersion and platformName to version and platform if your browser is not the followings (W3C Capabilities support):

    • Firefox - v.53+
    • Chrome - v.61+
    • Internet Explorer 11
  7. If your browser is W3C Capabilities supported , fill your username and accesskey in sauce:options

    โ€‹โ€‹โ€‹โ€‹{
    โ€‹โ€‹โ€‹โ€‹    "browserName": "chrome",
    โ€‹โ€‹โ€‹โ€‹    "browserVersion": "78.0",
    โ€‹โ€‹โ€‹โ€‹    "platformName": "macOS 10.13",
    โ€‹โ€‹โ€‹โ€‹    "sauce:options": {
    โ€‹โ€‹โ€‹โ€‹        "accesskey": "your_accesskey",
    โ€‹โ€‹โ€‹โ€‹        "username": "your_user_name"
    โ€‹โ€‹โ€‹โ€‹    }
    โ€‹โ€‹โ€‹โ€‹}
    
  8. Otherwise, remove sauce:options and manually add username and accesskey on top level

    โ€‹โ€‹โ€‹โ€‹{
    โ€‹โ€‹โ€‹โ€‹    "browserName": "chrome",
    โ€‹โ€‹โ€‹โ€‹    "version": "78.0",
    โ€‹โ€‹โ€‹โ€‹    "platform": "macOS 10.13",
    โ€‹โ€‹โ€‹โ€‹    "accesskey": "your_accesskey",
    โ€‹โ€‹โ€‹โ€‹    "username": "your_user_name"
    โ€‹โ€‹โ€‹โ€‹}
    
  9. Open SideeX and press the setting button

  10. Toggle Playback through WebDriver

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More โ†’

  11. Add a new service and then add a new browser

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More โ†’

  12. Fill in Server URL with ondemand.saucelabs.com and port 80

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More โ†’

  13. Click on Capability Editor

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More โ†’
    and paste the capability
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More โ†’

  14. Play the test case. A browser window will be automatically triggered by Sauce Labs.

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More โ†’