Skip to content

vadimshchukin/test3270

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

test3270

Overview

IBM mainframe ISPF applications testing utility. It can be used to test TSO/ISPF applications through a TN3270 connection. Note: this utility depends on the s3270 utility from the x3270 package, please install it first - it should be either s3270 for Linux or ws3270 for Windows.

Example

The following demo test script uses the TN3270 terminal module in order to connect to a mainframe, pass an authorization, invoke DSLIST utility and print the terminal's screen content. It also shows the capability of this utlity to automatically invoke SDSF from ISPF Primary Option Menu in order to purge a terminal job before a disconnection.

from terminal import *

enterString('3.4')
enter()
print(readContent())
executePF(3)
executePF(3)

The following shell command can be used to run the above test script:

$ python test.py -s"server address" -u"TSO username" -p"TSO password"

Releases

No releases published

Packages

No packages published

Languages