Skip to main content

ApplicationClose

Description

Use this command to close and kill an application in the foreground of the device during runtime.

Parameters

NameTypeDescription
BundleID (iOS) / Application Activity (Android)stringApplication to close

Use Case

You can use this to close and then launch the application in order to test stability and data persistence.

Example

info

Replace <server> with the appropriate URL.

Usage of ApplicationClose Command

driver = new IOSDriver(new URL("<server>"), dc);
seetest = new SeeTestClient(driver);


...
...


seetest.applicationClose("com.experitest.ExperiBank");