OTX Reference  
OpenTestSystem.Otx.Extensions.File.Terms.IsFile Class Reference

Determines whether the specified path exists and is a file. More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.File.Terms.IsFile:
Inheritance graph

Public Attributes

StringTerm path
 Cardinality [1]
The file to check. The path shall be defined by a URI (see ISO 13209-2, Annex OTX home and URI recommendation). More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Cardinality [0..1]
The MetaData type allows tools to store additional, mainly tool-specific data. More...
 

Detailed Description

Determines whether the specified path exists and is a file.

The IsFile term determines whether the specified path exists and is a file. If the file system lookup fails, e.g. due to file system permissions of the parent directory, false shall be returned.

Syntax
BooleanTerm = File.IsFile(StringTerm path);
Examples
// Local Declarations
Boolean Boolean1 = false;
// Flow
Boolean1 = File.IsFile("file:///D:/abc.txt");

Member Data Documentation

◆ path

StringTerm OpenTestSystem.Otx.Extensions.File.Terms.IsFile.path

Cardinality [1]
The file to check. The path shall be defined by a URI (see ISO 13209-2, Annex OTX home and URI recommendation).

OpenTestSystem.Otx.Extensions.File.Terms.IsFile.path
StringTerm path
Cardinality [1] The file to check. The path shall be defined by a URI (see ISO 13209-2,...
Definition: File.cs:1138