10/12/15:
Terminal Emulator:
Looks like we need an addin for the QTP to connect to Mainframes. One among them is Terminal Emulator.What is Terminal Emulator:
Source: http://searchnetworking.techtarget.com/definition/terminal-emulationTerminal emulation is the ability to make one computer terminal, typically a PC, appear to look like another, usually older type of terminal so that a user can access programs originally written to communicate with the other terminal type. Terminal emulation is often used to give PC users the ability to log on and get direct access to legacy programs in a mainframe operating system. Terminal emulation requires installing a special program in the PC or on a local area network (LAN) server to which it is connected. Typically, an enterprise with mainframe computers installs a terminal emulation program in all its workstations (or LAN servers). Workers can work locally with Windows or other PC or workstation applications and also open a window and work directly with mainframe applications. The terminal emulation program runs like any other workstation application as a separate program task providing its own window to the user. However, instead of content with a graphical user interface (GUI), the terminal emulation window presents some particular mainframe operating system or application interface that is text-only.
Terminal Emulator and QTP:
Looks like QTP has an addin to connect or communicate with Mainframes, Terminal Emulator Add in.
Here are few of the details on the benefits and how it could be used and installed.Source: http://qtpcode.blogspot.com/2011/03/qtp-and-terminal-emulator-tutorial.html
1.Terminal Emulator is an Add-in used to recognize Mainframe Screens/Dos Prompts....what ever is command prompt to be generic...
2. You need to get the add-in installed for your version of QTP, its available from HP,
3. Screen & Field's are the two controls that are recognized by this Add-in
4. Key Press events are functions that operates in case of navigation.
5. Install it & enjoy.
To ensure that QuickTest and your terminal emulator integrate successfully while recording a test or component, open and connect your terminal emulator session before recording begins. While running tests or components, you can add a SystemUtil.Run statement to the beginning of your test or component to automatically launch your emulator session from QuickTest. For more information, refer to the Utility section of the HP QuickTest Professional Object Model Reference.If your terminal emulator has an option to automatically resize the terminal emulator window according to the font size, then it should be enabled. For example, in the EXTRA! 6.7 emulator, choose Settings > Font > Autosize window to font size.You can run tests or components using the QuickTest Professional Terminal Emulator Add-in from other HP products, for example, Quality Center. Before you run these tests or components, make sure you select the required emulator on the computer on which the test or component is to run, using the QuickTest Tools > Options >Terminal Emulator tab.
Site that might have more info: http://qasofttech.blogspot.com/2012/07/qtp-terminal-emulator.html