Skip to main content

Host 3270 Adaptor example

Description

Through the Host Adaptor, H-TEST connects with a 3270 Host to perform tests into it. This adapter is used to run tests on the 3270 Host Adapter. This adapter allows us on the one hand to run tests on HOST mainframe screens and also to generate macros that allow us to automate tests on "transformed to HTML" systems. It’s possible to perform single tests with this adaptor or end to end tests connecting with other adaptors either.

Statement of the exercise 

It is a simple navigation on a main menu (see bank accounts and data of that type)

Solving the test case

As part of the mapping process, you should provide the Adaptor’s information, regarding to connect and use it:

Object Mapping 1.png

    Object Mapping 2.pngObject Mapping 3.png

  • Object Mapping 4.png

    Host:

     name of the machine or IP address. Required. SESSION_HOST.

  • Port: connection port. Required. SESSION_HOST_POST.
  • LU Name: name of the connection LU, optional.
  • Enhanced: indicates whether the Enhanced protocol is used. (by default is not checked). SESSION_TN_ENHANCED.
  • Telnet_Negotiated: the telnet information.
  • Server Authentication: Information of authentication to the 3270 Server.
  • Client_Certificate_Autentication: certificate for Authentication.
  • Personal Certification: personal certificate for Authentication.
  • Personal Certificate File Path: path to the Certificate for Authentication.
  • Personal Certificate pass: pass to the Certificate for Authentication.
  • Certificate Name: name of the Certificate.
  • Certificate Pass: pass to the Certificate.
  • Certificate Source: source to the Certificate.
  • Certificate URL: url to Certificate.
  • Prompt_Required: promptRequired.
  • Certificate_Based_Keys: certificate Based Keys.
  • SSL: SSL.
  • KeyStore_FilePath: keyStore File Path.
  • P12_FilePath: P12 File Path.
  • KeyStore_Pass: keyStore Pass.
  • Certificate_Trusted: certificate for Authentication.
  • Code_Page: codepage. By default it is INTERNAL – Built-in EBCDIC conversion (CP037).
  • Session_Type: session Type.
  • Security_Type: security Type.
  • Protocol: protocol.
  • Protocol_Version: protocol Version.
  • Certificate Type: certificate Type.

Test Set Execution

When we finish executing this test case, we see if it has been executed correctly:

Capture of results

We then open the icon on the right (marked with a red arrow) and we have as a result the evidence folder, where both the log of the execution is stored, as well as all the screenshots, files, etc... if we have checked the "Evidence" box in the general settings of the diagram.

Log of the execution   

When returning the results, H-TEST returns a Word document, detailing the steps we have taken, the results obtained from each step, the links to the diagram and the test set, if we have clicked on download document in the Results box.