Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
SEO Metadata
titleSeeTestAutomation - Uninstall

Uninstall the application from the device.

boolean uninstall(app)

Supported_os
SupportIOStrue
SupportAndroidtrue
SupportWPtrue
SupportBBtrue

Description

Uninstall the application from the device.

Parameters

Usage

Scenario: We will use the 'Uninstall' command in order to uninstall the EriBank application during runtime.

Parameters:

  • Application: will be set to "com.experitest.ExperiBank"

Code Examples

Code Block
languagejava
titleJava Example
linenumberstrue
if(client.uninstall("com.experitest.ExperiBank")){
// If statement
}
Code Block
languagec#
titleC# Example
linenumberstrue
collapsetrue
if(client.Uninstall("com.experitest.ExperiBank")){
// If statement
}
Code Block
languagevb
titleVBScript Example
linenumberstrue
collapsetrue
If StrComp (client.Uninstall ( "com.experitest.ExperiBank" ), "True") = 0 Then
Report
'If statement
Else
Report
End If
Code Block
languagepy
titlePython Example
linenumberstrue
collapsetrue
if(self.client.uninstall("com.experitest.ExperiBank")):
# If statement
pass
Code Block
languageperl
titlePerl Example
linenumberstrue
collapsetrue
if($client->uninstall("com.experitest.ExperiBank")){
# If statement
}