Scripted Testing in 9.1D Character

dwolking

New Member
I'm trying to find out if there is any way to automate program testing in character based 9.1D. Apparently there are other languages that allow feeding a script to a program to allow volume testing without having a human hit the keys. We are trying to find out if there's similar functionality that can be used in our environment.

Any thoughts?

Thanks for any guidance offered.

Dan
 

doreynie

Member
Build you program so it can read input from a file or something like that.
Then, build a file with the input for the program.

Run a batch-loop that for every line in the file starts up your program, and gives it the input it needs to run...
 

bulklodd

Member
Did you try to use QA parameter? It allows you to record keys pressings into a file and then play the file.

to record a macro use the following command line:

pro <your parameters> -QA record <keys.evt>

to play a macro

pro <your parameters> -QA playback <keys.evt> <keys2.evt>

HTH
 
Top