I am testing a totally character based screen application (good old 3270 type display). Right now to move from one field to another we use tabs but that often results in many tabs and depending on inputs the number of tabs may vary to get to a field. What I would like to do is to move the cursor with a x,y screen position value since the position of the field is constant and the scripts would be easier to construct and modify. Is it possible to move to a relative screen position by entering a x,y coordinate?
Due to the complexity of mouse moves on our 3270 application with QARun, we utilize the following approach. All fields on the screen are included in an external data file (CSV). The script is designed to fill all fields. If a field is not used it is space filled. The external data file insures that each field is filled so that the cursor is automatically advanced to the next field. This places emphasis on the test data and not the script. Also, the script becomes much easier to maintain or update should a screen change. In fact the script does not required changes, just the data file.
Our approach for char. based applications, avoid mouse moves.
That is a good approach for all fields that need to be filled but we have screens where new data can be added between what we added and the next trans field (a list that can grow to up to 5 items). Since we have to use the next trans field and it is always in the same location we need to be able to move there regardless of how much changed in between.