I am testing an Oracle Forms applications that is accessible via an internet browser using the Oracle JInitator-Plugin. The GUI-Elements are Oracle classes. Most of them are well identified but I have problems with "Extended Frames". The JInitator-Plugin uses the clas "ExtendedFrame" in order to show Dialogs or other sub-windows. Unfortunatley QA Run maps the class "ExternalFrame" to the type "GroupBox" rather than the type "ChildWindow". I cannot define any events on GroupBoxes nor can I read the title of the ExtendedFrame.
Has anyone some experience in writing tests for JInitiator-Applicaions?
Contact Mike Larsen in the Itasca Illinois office of Compuware. He may remember when I was a client and we tested Oracle Order Management using QALoad and QARun via JInitiator. We had some issues and he was able to bring in a consultant who got us up and running in less than a day.
could you please provide me with some of your test scripts? I would like to have a look at some sample test-code that tests a JInitator Oracle App. Please contact me via direct mail: email@example.com
Events don't work on oracle forms, period. If you are having sync. problems, you will need to be creative.
What we did (as suggested by Compuware) was to right a function that checks the mouse state(s) that indicate waiting (hourglass, etc.) which we call after EVERY interaction that may cause a wait. It has worked very well for us.
Unfortunately I cannot give you the code, but QARun has built in functions to accomplish this.
I wanted to add somthing for ya too. To record properly against Oracle forms you need to have the Use 4GL names option turned on in Learn settings. But this causes many popup object maps to not be unique.
But you can create unique popup object maps by turning off 4GL (requires restart QARun), create the object map - it will now capture the text in the popup. Then just turn 4GL back on and the object map will work fine and be unique.