HP 800 User Manual page 379

Network access controller
Hide thumbs Also See for 800:
Table of Contents

Advertisement

The BasicTests API accesses these functions with the SABase self.bt member. All methods throw an
exception that should be caught if an unexpected error occurs.
Return Value
Boolean
Boolean
File API
NOTE: Environment variable templates can be used in filenames. For example,
For performance reasons, it is important to use the same case when specifying the same file name in
multiple calls. Even though the windows file system is not case-sensitive, the test result cache is case-
sensitive.
Int
Int
Boolean
Boolean
Boolean
Table 13-2.BasicTests API (cont.)
Public Method
getRegKeyExists(string key, debug=0)
Check to see if a single key exists in the registry. Returns the following:
• 1 if exists
• 0 if it does not exist
getRegValueDataExpression(string key, string expression,
debug=0)
Check if a value's data matches an expression. Expression is of the format
similar to Perl regular expressions. Returns:
• 1 if match
• 0 if no match
getFileLastModified(string file, debug=0)
Returns: seconds since January 1, 1970
getFileCreated(string file, debug=0)
Returns: seconds since January 1, 1970
getFileExists(string file, debug=0)
Returns the following:
• 1 if true
• 0 if no false
getFileCanRead(string file, debug=0)
Returns the following:
• 1 if true
• 0 if no false
getFileCanWrite(string file, debug=0)
Returns the following:
• 1 if true
• 0 if no false
System Administration
Adding Custom Tests
%AppData%\\Adobe
13-31
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurve nac 800

Table of Contents