| || |
Get TEField ID based on cursor position
I am writing scripts to test mainframe CICS apps. On this particular set of screens I am working with the user inputs valid data into the various fields and when the user hits enter a message is displayed saying press enter again and the data will be saved. If the user puts in invalid data and hits enter then no message is displayed and the cursor is placed on the field (first field if multiple errors). So I am picking up the lack of message and generating an error. I would like to specify which object is receiving invalid data. I can use .getcursorpos to get my row and column coordinates, but I am at a loss as to how to interrogate the repository in order to get the object id. Does anyone have an idea how to do this, or just where I can find doc for it? Thanks in advance for your help.
Mr. Green Screens