SeeTest Client - GetCurrentApplicationName
info
Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .
GetCurrentApplicationName()
Description
This command will retrieve the name \ bundle \ package name of the application that's currently run in the foreground of the active device.
Parameters
No parameters
info
Note: This command will throw exception for devices which doesn't support the command.
Usage
We will use the this command to confirm that the eribank application is on the foreground.
Code Examples
Java Example
String str1 = client.getCurrentApplicationName();
C# Example Expand source
string str1 = client.GetCurrentApplicationName();
VBScript Example Expand source
str1 = client.GetCurrentApplicationName ( )
Report
Python Example Expand source
var1 = self.client.getCurrentApplicationName()
Perl Example Expand source
my $str1 = $client->getCurrentApplicationName();