San Diego-based LightPointe, a manufacturer of carrier-class optical transmission equipment using FSO technology is the first vendor to undergo this testing
Many a times you may need to interact with text files using QTP. Interaction can be in the form of reading input from a file, writing output to a file. FSO stands for File System Object. This is used to support text file creation and manipulation through the TextStream object. The FSO Object Model has a rich set of properties, methods and events to process folders and files. We first create a FSO object using CreateObject and then create a text file using CreateTextFile. For Example: Suppose you want to create a file called "test.txt" located in C:
Dim fso, file, file_location file_location = "C:file_location" Set fso = CreateObject(?Scripting.FileSystemObject?) Set file = fso.CreateTextFile(file_location, True) // True--> file is to be overwritten if it already exists else false