If you need to interact with the green screen you can use macros but you will be limited in what you can do. For instance, you could record a macro that does a specific thing in your application and then call that macro along with other macros using Silk Test. Basically, the macros will act as a group of functions that you can call in whatever sequence you like.
we bought it and abandon it quickly,
one the major reason was BlueXpress will no longer supported by Borland, i believe in August 07?
we did research, and we picked IBM RFT (Rational Functional Tester) specifically to test the green screen..
I found it more advanced in logging (i.e HTML format and easily capture screenshots), and able to use the powerful Java API and tons of Java libraries out there.
Most AS.400 terminal emulators allow you to record macros and then assign a key combination to call the macro like Alt-B or something else. In Silk Test you could create a function library or just write code that calls .Type "<Alt-B>".
1) Record a macro that logs in a user.
2) Assign the key combination Alt-L (L represents login)
3) Create a function called Login that contains code like: Window.Type "<Alt-L>"
4) Call the function in your script like:
This method is kind of ugly because you are really limited in what you can do since you aren't using Blue Express or some other GUI interface to interact with the AS/400 screen. For example: Login would only be able to login with the user that you have specified in the macro.