Tosca Integration With TestGrid
Overview
Tosca, or the TOSCA (Topology and Orchestration Specification for Cloud Applications) standard, is an open standard developed to enable the interoperable description of cloud services and applications, as well as their deployment and management across various cloud platforms and infrastructures. Tosca is designed to address the challenges of orchestrating complex, multi-component applications and services in cloud environments.
Integrating TestGrid with Tosca
Step 1: Open the Tosca Commander app and Click on the ‘Create new’ button.
Step 2: Enter the name of the new Workspace.
Step 3: Click on the ‘OK’ button.
Step 4: Click on the ‘Modules’ button.
Step 5: Click on the ‘Scan’ button.
Step 6: Click on the ‘Mobile’ button.
Step 7: Click on the ‘+’ button to add Device.
Step 8: Click on the ‘Add new’ button to add a new connection.
Step 9: Enter the name for the new connection and Click on the ‘Type’ dropdown.
Step 10: Click on the ‘Cloud(Appium)’ option.
Step 11: You will have to enter the Appium hub URL for the Device.
Step 12: Navigate to the TestGrid Device cloud portal and click on the device that you want to use with Tosca.
Step 13: Copy the Appium URL from the TestGrid Device cloud and paste it into the Tosca Commander window for connection.
Step 14: Paste the Appium URL and click on the ‘Add’ button.
Step 15: Enter the name and UDID of the Device from the TestGrid Device cloud screen.
Step 16: Enter the device platform version of the Device from the TestGrid Device cloud screen and click on the ‘Add’ button.
Step 17: Click on the ‘+’ Add app button.
Step 18: Click on the ‘Continue’ button.
Step 19: Click on the ‘Android’ button.
Step 20: Enter the name and Package name and Activity name of the Android application. Click on the ‘Add’ button.
Step 21: Click on the ‘Advance Configuration’ button.
Step 22: Click on the ‘Add Capabilities Set’ button.
Step 23: Click on the ‘New Capabilities Set’ button.
Step 24: Click on the ‘Add Capability’ button.
Step 25: Navigate to the Testcase Writer screen on the TestGrid and click on the ‘i’ button on Version.
Step 26: Copy the user_token parameter value.
Step 27: Enter the capability tg:userToken with the value copied in previous step. You can get the ‘systemPort’ and ‘platformVersion’ capability values from the Device cloud screen. Click on the Add button.
Step 28: Click on the ‘Connect’ button.
Step 29: You will see the Window with the title Connection established. Click on the Scan button.
Step 30: You will see the Mobile Device screen and Scan window, you can use it for scanning the resources. Click on the elements on the mobile screen to scan them.
Step 31: You will see the resources extracted.
As simple as that! Happy Testing