Management of cloud credentials
You can find information about managing the credentials that are required to connect to cloud-based applications such as mobile device clouds and AI providers from HCL DevOps Test Hub (Test Hub).
Contents
Mobile device clouds
Mobile device clouds are cloud computing services offered by cloud service providers who host real mobile devices in a cloud. You can purchase plans from the service providers to use the mobile devices in the cloud to test your mobile apps. The cloud service providers also offer different browsers in the cloud to test web applications.
To use the cloud services, you must subscribe to their services that suit your testing requirements.
Mobile device clouds and Test Hub
If you already use mobile device clouds to test your mobile apps, testers in your organization must be required to set up the connection to the mobile device clouds individually. They use the same credentials that you subscribed to as an organization. This can be a potential risk of exposure of your subscription details and without proper monitoring can lead to misuse of the credentials.
You can use Test Hub to connect to mobile device clouds. You must first configure a cloud credential by using the details of your cloud subscription account.
You can then add testers from your organization as authorized users who can use the credential to connect to mobile device clouds. Such members need not enter the subscription details to connect to the cloud. Only the authorized users of the credential can run their tests on the devices that are connected to the mobile device cloud. With this mechanism, you can prevent the exposure of the credentials of your subscription to testers and also prevent testers from creating separate connections to the same mobile device cloud.
Mobile device clouds that are supported
- BitBar Cloud
- BrowserStack Cloud
- pCloudy Cloud
- Perfecto Mobile Cloud
Details required of mobile device clouds
| Attribute | Description | Mobile device cloud | |||
|---|---|---|---|---|---|
| BitBar Cloud | BrowserStack Cloud | pCloudy Cloud | Perfecto Mobile Cloud | ||
| Host | The hostname of the mobile device cloud instance. | Required | Required | Required | Required |
| API key | The API key of your cloud account to authenticate the connection. | Required | Required | Required | Not applicable |
| Security token | The token used to authenticate the connection. | Not applicable | Not applicable | Not applicable | Required |
| Project | The project name to use on the mobile device cloud. | Required | Required | Not applicable | Not applicable |
| Username | The username of your cloud account. | Not applicable | Required | Required | Not applicable |
Prerequisites for using mobile devices on mobile device clouds
| Device cloud | Testing on Android OS | Testing on iOS |
|---|---|---|
| BitBar Cloud |
|
|
| BrowserStack Cloud | ||
| Perfecto Mobile Cloud | ||
| pCloudy Cloud |
|
|
Overview of tasks to manage mobile device clouds
- Configure the connection to mobile device clouds. You must create a cloud credential in the team space that represents a connection to a mobile device cloud. You must use the details of your mobile device cloud subscription account to configure the cloud credential to the mobile device cloud. See Adding cloud credentials of mobile device clouds.
- Add your team space members to access the mobile device cloud. The added members become the authorized users of the cloud credential, and then can connect to the mobile device cloud from Test Hub. See Adding authorized users to a cloud credential.
- View the details of the cloud credential that you added to the team space. See Viewing details of cloud credentials.
- Remove the authorized users of the cloud credential, when you want to reduce the number of users accessing the mobile device cloud. See Removing authorized users from a cloud credential.
- Edit an existing cloud credential that you configured to modify the name of the credential, project, or username of your cloud subscription account. See Editing details of cloud credentials.
- Delete an existing cloud credential that you configured, from the team space. You might want to delete the credential when your cloud subscription to the mobile device cloud has expired and you no longer need the connection. See Deleting an existing cloud credential.
- Export details of all existing cloud credentials that are configured in your team space, when you might want to use the details elsewhere. You can export details such as the name of the credentials, the credential type, and the email ID of authorized users of the credentials. See Viewing details of cloud credentials.
- Ensure that you are added as an authorized user of a cloud credential in the team space. See Viewing details of cloud credentials.
- Configure the following mobile tests to run on the mobile devices that are connected to mobile device clouds:
AI providers
AI providers are the organizations that build, develop, and offer AI technologies. They offer models and tools that power artificial intelligence in everything from virtual assistants to complex data analysis systems. You can purchase plans from the AI providers to use the services in the cloud or locally to generate Web UI tests. For the cloud-based provider such as OpenAI, you must subscribe to their services. For the locally hosted provider such as Ollama, you must download the software and set up a server.
- OpenAI
- Ollama
Details required of AI providers
| Attribute | Description | AI Agents | |
|---|---|---|---|
| OpenAI | Ollama | ||
| API End Point | The URL of the AI provider. | Optional | Required |
| API key | The API key of the AI provider account to authenticate the connection. | Required | Optional |
| Model | The name of the large language model (LLM) that you want to use for test generation. | Not applicable | Optional |