SauceLabs Integration

Introduction

SauceLabs Integration with Avo Assure allows the users to execute the Avo Assure Testcases in the SauceLabs cloud environment. Any web-based Testcase written in Avo Assure can be executed in the cloud environment.

Prerequisites

Generate Access Key

  1. The user has to navigate to SauceLabs Log in Screen.

  2. The user has to enter the user name in the User Name field and the password in the Password field and click the Login button.

  3. The user has to click on the User Profile icon and click the User Setting button.

  4. The user has to copy the User Name and use it in the Enter SauceLabs Username field (SauceLabs Integration).

  5. The user has to copy the Access Key and use it in the Enter SauceLabs Access Key field (SauceLabs Integration).

  6. The user has to copy the Ondemand URL and use it in the Enter SauceLabs Remote URL field (SauceLabs Integration).

Configuration in Avo Assure

  1. The user has to Login Avo Assure with valid credentials.

  2. The user has to click the User Profile icon and click the Settings button.

  3. The user has to Click the SauceLabs Configuration button.

  4. The user has to enter the SauceLabs remote URL in the Enter SauceLabs Remote URL field.

  5. The user has to enter the SauceLabs username in the Enter SauceLabs Username field.

  6. The user has to enter the SauceLabs access key in the Enter SauceLabs Access Key field.

  7. The user has to click the Create button.

Avo Assure Testcase Execution on SauceLabs

  1. The user has to Capture the elements on the Web application. Refer to the section Object Identification - WEB Application.

  2. The user has to Design the Testcase on the Mobile Web application. Refer to the section Testcase Authoring– Web Application.

  3. The user has to Create the Execution Profile. Refer to the section Create Execution Profile.

  4. The user has to click the SauceLabs button, and the SauceLabs Login dialog box will display with pre-filled data.

  5. The user has to click the Submit button, and the SauceLabs Integration dialog will be displayed.

  6. The user has to select the Operating System from the Select OS drop-down.

  7. The user has to select the Browser from the Select Browser drop-down.

  8. The user has to select the Versions from the Select Versions drop-down.

  9. The user has to search and select the available Avo Assure Client and click the Execute button. Execution will start on the selected Avo Assure client.

  10. The user has to navigate to the SauceLabs home screen.

  11. The user has to click the Automated drop-down and click the Test Results button.

  12. The user can view the live Testcase execution in SauceLabs Test Results.

  13. After completing the Execution, the user can view the testcase execution video.

  14. To view the logs on the SauceLabs screen, the user has to click the Logs button.

Limitations

  • The openBrowser keyword is considered as the start of a scenario execution and the closeBrowser keyword is considered as the stop of a scenario execution in SauceLabs.

  • Following Avo Assure, keywords are not supported in SauceLabs.

    • Web: Drag, Drop, mouseHover, uploadFile, dropFile, mouseClick, verifyWebImages, verifySimilarityPercentage.

    • Generic: displayVariableValue, pause, sendFunctionKeys, fileOperations keywords.

    Note: If any of these non-supported keywords are present, then the execution will not start.

  • In SauceLabs, only Microsoft Edge Legacy browser is supported on Windows 10 platform. If the user selects either Edge Legacy or Edge Chromium, it always executes in Edge Legacy.

Last updated