Struct google_testing1::api::AndroidRoboTest
source · pub struct AndroidRoboTest {
pub app_apk: Option<FileReference>,
pub app_bundle: Option<AppBundle>,
pub app_initial_activity: Option<String>,
pub app_package_id: Option<String>,
pub max_depth: Option<i32>,
pub max_steps: Option<i32>,
pub robo_directives: Option<Vec<RoboDirective>>,
pub robo_mode: Option<String>,
pub robo_script: Option<FileReference>,
pub starting_intents: Option<Vec<RoboStartingIntent>>,
}Expand description
A test of an android application that explores the application on a virtual or physical Android Device, finding culprits and crashes as it goes.
This type is not used in any activity, and only used as part of another schema.
Fields§
§app_apk: Option<FileReference>The APK for the application under test.
app_bundle: Option<AppBundle>A multi-apk app bundle for the application under test.
app_initial_activity: Option<String>The initial activity that should be used to start the app.
app_package_id: Option<String>The java package for the application under test. The default value is determined by examining the application’s manifest.
max_depth: Option<i32>The max depth of the traversal stack Robo can explore. Needs to be at least 2 to make Robo explore the app beyond the first activity. Default is 50.
max_steps: Option<i32>The max number of steps Robo can execute. Default is no limit.
robo_directives: Option<Vec<RoboDirective>>A set of directives Robo should apply during the crawl. This allows users to customize the crawl. For example, the username and password for a test account can be provided.
robo_mode: Option<String>The mode in which Robo should run. Most clients should allow the server to populate this field automatically.
robo_script: Option<FileReference>A JSON file with a sequence of actions Robo should perform as a prologue for the crawl.
starting_intents: Option<Vec<RoboStartingIntent>>The intents used to launch the app for the crawl. If none are provided, then the main launcher activity is launched. If some are provided, then only those provided are launched (the main launcher activity must be provided explicitly).
Trait Implementations§
source§impl Clone for AndroidRoboTest
impl Clone for AndroidRoboTest
source§fn clone(&self) -> AndroidRoboTest
fn clone(&self) -> AndroidRoboTest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more