Notepad is a basic text editor used to create simple documents. In test automation, Notepad can be used to store script execution status flags, error logs, or any other information relevant to automation. In addition, we can use QuickTest to extract information from the Notepad files created by AUT.
The following are the various methods of the Notepad application object.
Syntax : Object.CreateTextFile (FileName, bOverwriteFlag)
FileName specifies the file to create
bOverwriteFlag If this is set to True, then existing file will be overwritten.
Example: Write code to create ...