Recording against a Telnet window
We are attempting to record keystrokes to a Telnet window - Access through Start->Run->Telnet.
For whatever reason, absolutely nothing is recorded. I've also tried to switch to Low-Level recording, without success.
Thanks in advance.
Re: Recording against a Telnet window
QTP doesn't record against telnet and commanprompt windows, but you can playback.
1. Start recording.
2. Insert a checkpoint against the DOS window. This will add the window to the Object Repository.
3. Open the Object Repository (Tools -> Object Repository) and modify the logical name to something more meaningful if
4. If the title of the window may change, remove the "regexpwndtitle" property from the learned properties list or added a
regular expression to handle the dynamic portion. If you remove the title, make sure you an another property, such as index,
to identify the window.
5. Manually enter the statements into the script to interact with the DOS window.
You can remove the checkpoint that was inserted in step 1.
Window("CommandPrompt").Type "dir" + micReturn