GetCurrentApplicationName()
|
|
|
This command will retrieve the name \ bundle \ package name of the application that's currently run in the foreground of the active device.
No parameters
Note: This command will throw exception for devices which doesn't support the command.
We will use the this command to confirm that the eribank application is on the foreground.
String str1 = client.getCurrentApplicationName();string str1 = client.GetCurrentApplicationName();str1 = client.GetCurrentApplicationName ( )Reportvar1 = self.client.getCurrentApplicationName()my $str1 = $client->getCurrentApplicationName();