Forum Discussion

rpd's avatar
rpd
Contributor
8 years ago

If you are recording a keyword test using a 3270 emulator, will TC handle a remapped ENTER key?

In this testcase, the Blue Zone 3270 emulator is being used to access an IBM Mainframe. Within the Blue Zone 3270 emulator settings, the tester has REMAPPED the standard mainframe ENTER key to the ENTER key on a normal PC keyboard that is located to the right of the number 3 key within the keypad area of the keyboard (ie. at the bottom right hand corner of the keyboard). The standard ENTER key, next to the double quote key, is remapped to be a NEWLINE key.

When TestComplete records this keyword test using this emulator software, Test Complete records and ENTER key (ie. [ENTER]) in the actual Test Complete keyword test case. However, when this test case is replayed, the [Enter] key in the test case does NOT send an ENTER key to the mainframe.

 

Could the remapping of the ENTER key by the emulator software be the problem.? Is Test Complete just sending a normal KEYPAD ENTER keystroke to the application?

 

Any help will be much appreciated.

 

If the emulator keyboard mapping is changed to use the ENTER key next the double quote key, then the test case will work fine.

 

Is there any way to keep the remapping of the ENTER key as the tester wanted to do?

 

1 Reply

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    TestComplete sends the "[Enter]" keystroke as a windows keyboard event using the Windows mapping of the enter key.  So, while the pass through of the emulator sends something different, if the testcomplete Keys command is used directly on the MainFrame, it's sending that "[Enter]" keystroke.

     

    What you MIGHT be able to do is use a LLPlayer command to send a lower level keyboard command.  This goes through the keyboard driver directly rather than a Windows event.