Returns the releases Resource.
Returns the testCases Resource.
Close httplib2 connections.
getTestConfig(name, x__xgafv=None)
Gets configuration for automated tests.
updateTestConfig(name, body=None, updateMask=None, x__xgafv=None)
Updates a release.
close()
Close httplib2 connections.
getTestConfig(name, x__xgafv=None)
Gets configuration for automated tests. Args: name: string, Required. The name of the `TestConfig` resource to retrieve. Format: `projects/{project_number}/apps/{app_id}/testConfig` (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Configuration for automated tests "displayName": "A String", # Optional. Display name of the AI driven test. Required if the release test is created with multiple goals. "name": "A String", # Identifier. The name of the test configuration resource. Format: `projects/{project_number}/apps/{app_id}/testConfig` "roboCrawler": { # Configuration for Robo crawler # Optional. Configuration for Robo crawler "aiInstructions": { # Instructions for AI driven test # Optional. Instructions for AI driven test "appDescription": "A String", # Optional. Describes the app to give the AI some context "steps": [ # Required. Steps to be accomplished by the AI { # A step to be accomplished by the AI "assertion": "A String", # An assertion to be checked by the AI "goal": "A String", # A goal to be accomplished by the AI "hint": "A String", # Optional. Hint text containing suggestions to help the agent accomplish the goal "successCriteria": "A String", # Optional. A description of criteria the agent should use to determine if the goal has been successfully completed }, ], }, "loginCredential": { # Login credential for automated tests # Optional. Login credential for automated tests "fieldHints": { # Hints to the crawler for identifying input fields # Optional. Hints to the crawler for identifying input fields "passwordResourceName": "A String", # Required. The Android resource name of the password UI element. For example, in Java: R.string.foo in xml: @string/foo Only the "foo" part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing-resources.html "usernameResourceName": "A String", # Required. The Android resource name of the username UI element. For example, in Java: R.string.foo in xml: @string/foo Only the "foo" part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing-resources.html }, "google": True or False, # Optional. Are these credentials for Google? "password": "A String", # Optional. Password for automated tests "username": "A String", # Optional. Username for automated tests }, }, "testDevices": [ # Optional. Tests will be run on this list of devices { # A device on which automated tests can be run. "locale": "A String", # Optional. The locale of the device (e.g. "en_US" for US English) during the test. "model": "A String", # Required. The device model. "orientation": "A String", # Optional. The orientation of the device during the test. "version": "A String", # Required. The version of the device (API level on Android). }, ], }
updateTestConfig(name, body=None, updateMask=None, x__xgafv=None)
Updates a release. Args: name: string, Identifier. The name of the test configuration resource. Format: `projects/{project_number}/apps/{app_id}/testConfig` (required) body: object, The request body. The object takes the form of: { # Configuration for automated tests "displayName": "A String", # Optional. Display name of the AI driven test. Required if the release test is created with multiple goals. "name": "A String", # Identifier. The name of the test configuration resource. Format: `projects/{project_number}/apps/{app_id}/testConfig` "roboCrawler": { # Configuration for Robo crawler # Optional. Configuration for Robo crawler "aiInstructions": { # Instructions for AI driven test # Optional. Instructions for AI driven test "appDescription": "A String", # Optional. Describes the app to give the AI some context "steps": [ # Required. Steps to be accomplished by the AI { # A step to be accomplished by the AI "assertion": "A String", # An assertion to be checked by the AI "goal": "A String", # A goal to be accomplished by the AI "hint": "A String", # Optional. Hint text containing suggestions to help the agent accomplish the goal "successCriteria": "A String", # Optional. A description of criteria the agent should use to determine if the goal has been successfully completed }, ], }, "loginCredential": { # Login credential for automated tests # Optional. Login credential for automated tests "fieldHints": { # Hints to the crawler for identifying input fields # Optional. Hints to the crawler for identifying input fields "passwordResourceName": "A String", # Required. The Android resource name of the password UI element. For example, in Java: R.string.foo in xml: @string/foo Only the "foo" part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing-resources.html "usernameResourceName": "A String", # Required. The Android resource name of the username UI element. For example, in Java: R.string.foo in xml: @string/foo Only the "foo" part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing-resources.html }, "google": True or False, # Optional. Are these credentials for Google? "password": "A String", # Optional. Password for automated tests "username": "A String", # Optional. Username for automated tests }, }, "testDevices": [ # Optional. Tests will be run on this list of devices { # A device on which automated tests can be run. "locale": "A String", # Optional. The locale of the device (e.g. "en_US" for US English) during the test. "model": "A String", # Required. The device model. "orientation": "A String", # Optional. The orientation of the device during the test. "version": "A String", # Required. The version of the device (API level on Android). }, ], } updateMask: string, Optional. The list of fields to update. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Configuration for automated tests "displayName": "A String", # Optional. Display name of the AI driven test. Required if the release test is created with multiple goals. "name": "A String", # Identifier. The name of the test configuration resource. Format: `projects/{project_number}/apps/{app_id}/testConfig` "roboCrawler": { # Configuration for Robo crawler # Optional. Configuration for Robo crawler "aiInstructions": { # Instructions for AI driven test # Optional. Instructions for AI driven test "appDescription": "A String", # Optional. Describes the app to give the AI some context "steps": [ # Required. Steps to be accomplished by the AI { # A step to be accomplished by the AI "assertion": "A String", # An assertion to be checked by the AI "goal": "A String", # A goal to be accomplished by the AI "hint": "A String", # Optional. Hint text containing suggestions to help the agent accomplish the goal "successCriteria": "A String", # Optional. A description of criteria the agent should use to determine if the goal has been successfully completed }, ], }, "loginCredential": { # Login credential for automated tests # Optional. Login credential for automated tests "fieldHints": { # Hints to the crawler for identifying input fields # Optional. Hints to the crawler for identifying input fields "passwordResourceName": "A String", # Required. The Android resource name of the password UI element. For example, in Java: R.string.foo in xml: @string/foo Only the "foo" part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing-resources.html "usernameResourceName": "A String", # Required. The Android resource name of the username UI element. For example, in Java: R.string.foo in xml: @string/foo Only the "foo" part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing-resources.html }, "google": True or False, # Optional. Are these credentials for Google? "password": "A String", # Optional. Password for automated tests "username": "A String", # Optional. Username for automated tests }, }, "testDevices": [ # Optional. Tests will be run on this list of devices { # A device on which automated tests can be run. "locale": "A String", # Optional. The locale of the device (e.g. "en_US" for US English) during the test. "model": "A String", # Required. The device model. "orientation": "A String", # Optional. The orientation of the device during the test. "version": "A String", # Required. The version of the device (API level on Android). }, ], }