isGroupPresent
Overview
This utility is used to check the availability of group in database.
Syntax
GrpFound = simlab.isGroupPresent("GroupName");
User Case
- To stop the script execution if required groups are not present in database.
Why we need this utility?
In semi automation project, in-between script execution user will manually create some groups and continue the execution. In case if user misses some groups, the script will fail. To avoid this, we can make use of this utility to validate the group availability and proceed the execution.
Utility Input/output
Sample
Note: Sample Script