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 moreSource§impl Debug for AndroidRoboTest
impl Debug for AndroidRoboTest
Source§impl Default for AndroidRoboTest
impl Default for AndroidRoboTest
Source§fn default() -> AndroidRoboTest
fn default() -> AndroidRoboTest
Source§impl<'de> Deserialize<'de> for AndroidRoboTest
impl<'de> Deserialize<'de> for AndroidRoboTest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for AndroidRoboTest
impl Serialize for AndroidRoboTest
impl Part for AndroidRoboTest
Auto Trait Implementations§
impl Freeze for AndroidRoboTest
impl RefUnwindSafe for AndroidRoboTest
impl Send for AndroidRoboTest
impl Sync for AndroidRoboTest
impl Unpin for AndroidRoboTest
impl UnwindSafe for AndroidRoboTest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more