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 automated test configuration.
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}/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}/testConfig`
"roboCrawler": { # Configuration for Robo crawler # Optional. Configuration for Robo crawler
"aiInstructions": { # Optional. Instructions for AI driven test
"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 visual description of the screen's expected state after the step has been successfully completed. This is referred to as the "final screen assertion" in the Firebase console and CLI tools. This field must be provided for the last step in a test case, and is optional for all other steps.
"testCase": "A String", # Output only. The test case that contained this step. Note: The test case may have changed or been deleted since this step was created. Format: `projects/{project_number}/apps/{app}/testCases/{test_case}`
},
],
},
"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 automated test configuration.
Args:
name: string, Identifier. The name of the test configuration resource. Format: `projects/{project_number}/apps/{app}/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}/testConfig`
"roboCrawler": { # Configuration for Robo crawler # Optional. Configuration for Robo crawler
"aiInstructions": { # Optional. Instructions for AI driven test
"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 visual description of the screen's expected state after the step has been successfully completed. This is referred to as the "final screen assertion" in the Firebase console and CLI tools. This field must be provided for the last step in a test case, and is optional for all other steps.
"testCase": "A String", # Output only. The test case that contained this step. Note: The test case may have changed or been deleted since this step was created. Format: `projects/{project_number}/apps/{app}/testCases/{test_case}`
},
],
},
"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}/testConfig`
"roboCrawler": { # Configuration for Robo crawler # Optional. Configuration for Robo crawler
"aiInstructions": { # Optional. Instructions for AI driven test
"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 visual description of the screen's expected state after the step has been successfully completed. This is referred to as the "final screen assertion" in the Firebase console and CLI tools. This field must be provided for the last step in a test case, and is optional for all other steps.
"testCase": "A String", # Output only. The test case that contained this step. Note: The test case may have changed or been deleted since this step was created. Format: `projects/{project_number}/apps/{app}/testCases/{test_case}`
},
],
},
"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).
},
],
}