Opening a file from Test Design Studio is very easy. You can open any file by locating it in the Solution Explorer tool window and double-clicking the file. You may also right-click on the file and select Open from the context menu. This will open the file using the default editor.
Assuming the file you open has a supported built-in editor, that file will be opened directly within Test Design Studio by default. Examples of these files include (but are not limited to) Unified Functional Testing tests, UFT function libraries (
*.qfl), VBScript files (
*.vbs), Object Repositories (
*.tsr), and XML documents.
In Solution Explorer, navigate to and expand the sub-folder Editors. Then expand the Builtin sub-folder under Editors. Double-click the various file types to see their content opened by the corresponding built-in editor.
Note: To open the Object Repository - Binary.tsr file, you must have at least QuickTest Professional v9.2 or Unified Functional Testing installed on the same machine as Test Design Studio. Otherwise, the file must have been previously exported to XML format and given the
tsrxfile extension. An example of the XML exported object repository is the Object Repository - XML Export.tsrx file.
When you are finished opening sample files, close all open documents by selecting Close All Documents from the Window menu. If prompted to save any modified files, select Don’t Save.
Other common files, such as Word documents or Excel workbooks, cannot be opened directly within Test Design Studio. Instead, these files will default to using the associated Word or Excel application respectively. Under the Editors sub-folder, expand the External sub-folder. If you have Word or Excel installed, you may double-click these files to open them in their respective associated editor.
Some file types are not recognized by Test Design Studio by default. When you attempt to open one of these files, Test Design Studio will default to using the built-in plain text editor. To illustrate, expand the Undefined sub-folder under the Editors sub-folder and double-click the ZIP File.zip file. Test Design Studio will attempt to open this file using a text editor and will display odd characters where binary data is present. We need to instruct Test Design Studio how to open a ZIP file. Close the internal editor that was opened for the ZIP File.zip file. Next, right-click the file node in Solution Explorer and select Open With... from the context menu. You will be presented with the Open With dialog to choose how this file should be opened.
Here we see a list of many built-in editors and, if you have an application associated with the ZIP file type, the associated application will be listed. In this example, we want to use Windows built-in support of ZIP files to open the file (you may also set up an application like WinZip).
Note: If you do not have an application for ZIP files, you may click Cancel and disregard the remaining steps as you follow along in the text.
Select Windows Explorer in the list. If you always want to use the selected application to open ZIP files, you can click the Set as Default button. Otherwise, the selected editor or application will only be used this one time. For this use, click the Set as Default button to make this the permanent choice, and then click the OK button. The Windows Explorer application will now be launched for our file. Now that we have indicated Windows Explorer as the default application, we can open our ZIP file in the future by double-clicking the file since the "Open" operation always uses the default editor.