Page tree
Skip to end of metadata
Go to start of metadata

Description

The command allows you to install application in run time.

Parameters

Name

Value

Description

PathstringThe path of the application to be installed. Can be either a url or the app path in the cloud (see code example)
Instrumentboolean

true - instrumented

false - non-instrumented

KeepDataboolean

true - will upgrade the existing application installed without losing its data.
false: will run over the application

In iOS KeepData flag does not have effect, data will be kept when using same provision profile, otherwise the data will be lost.

Usage

Since the report is the sum of all steps (closely linked with the commands that you issued during the test), you would often want to inject custom steps and messages into the report in order to enrich the report and provide additional information that is not found in the report, or is printed to the console instead. The command also lets you decide whether the step has failed or passed


Example

Set Experitest Url

Please make sure you replace <EXPERITEST_URL> with appropriate URL in the code snippet below.



Usage of Install Command
driver = new AndroidDriver(new URL("<EXPERITEST_URL>"), dc);
seetest = new SeeTestClient(driver);


....
....


//installing from a url
seetest.install("http://d242m5chux1g9j.cloudfront.net/eribank.apk", true, true);
//installing from a cloud path
seetest.install("cloud:com.experitest.ExperiBank/.LoginActivity", true, true);

The complementing command for the install command is the launch command.


  • No labels