| || |
Problem with Mainframe application
We are automating a mainframe application IBM PCOM 5.0 using QTP 9.1.
We face following issues:
1: Sometimes, QTP identifies the mainframe screen as Window object on certain machines, even after selecting TE addin and applying appropriate test settings. The same script and the test settings work on certain other machines.
2: Even if QTP identifies the window as TE, it fails to enter the user id in the TE Field (please refer page 1 of the attachment) unless a breakpoint is used.
We tried the following:
1; We captured the settings of the machine that identified the Mainframe Application Screen as TE Window using Generate Script in Test settings (please refer page 8 of the attachment) in a config.vbs files. In other machines we executed this config.vbs file so that, similar TE settings are there in all the machines.
2; Considering the problem to be the synchronization of QTP with the mainframe application, we also tried increasing the wait time and including sync statement.
However the above implemented solutions did not prove to be consistent and we are still facing some issues. Please refer the attached screenshots.
Please share your thoughts.
Re: Problem with Mainframe application
Give a try selecting Correct IBM protocol(Ex: 3270 or 5250 etc) in the Options -> Terminal Emulator. Sometimes protocol auto-detect might cause this kind of issues.