Interface IApplication
A mobile application.
public interface IApplication : ITestObject, ITestObjectDescriber
- Inherited Members
- Extension Methods
Properties
Identifier
The application identifier string.
string Identifier { get; }
Property Value
IsPackaged
Indicates whether the application is packaged (instrumented) or not.
bool IsPackaged { get; }
Property Value
Name
The name of the mobile application.
string Name { get; }
Property Value
SimulateAuthentication
Returns an object used to define the result of simulating authentication for the application.
ISimulateAuthResult SimulateAuthentication { get; }
Property Value
Upload
The application upload number. The upload number can be used to identify the application uniquely when the application is uploaded more than once.
int Upload { get; }
Property Value
Version
The application's version.
string Version { get; }
Property Value
Methods
Install()
Installs (or re-installs) the application and then launches it.
void Install()
Kill()
Stops the application.
void Kill()
Launch()
Launches the application if it is not already running.
void Launch()
Restart()
Launches the application if it is closed, or restarts the application if it is already running.
void Restart()
SimulateBarcodeScan(string)
Simulate barcode or QR code scan using an image file. Run after Device.UploadMedia.
The unique ID of the uploaded image to use in the simulation as used in IDevice.UploadMedia.void SimulateBarcodeScan(string imageID)
Parameters
imageIDstring
StartCameraSimulationMode(string)
Start camera simulation mode. Run after Device.UploadMedia. Once simulation is completed, run StopCameraSimulationMode.
The unique ID of the uploaded media to use in the simulation as used in IDevice.UploadMedia.void StartCameraSimulationMode(string mediaID)
Parameters
mediaIDstring
StopCameraSimulationMode()
Stop camera simulation mode. Use after StartCameraSimulationMode.
void StopCameraSimulationMode()
Uninstall()
Uninstalls the application.
void Uninstall()