I have searched this forum but could not find an anwser for my problem:
We have QTP 9.2 with no oracle addin. Our application is created with developer 2000. That is, it uses oracle forms 6i. As per Mercury support, there is no addin needed for this. Everything should be windows objects.
Indeed, all objects are recognized with GUI spy. But the problem is, there is no unique field with which we can identify the objects. For example, for edit fields, the class is WinEdit but no other useful property. So automatically location is learned. But we don't want this behavior.
Our developers show that, in the forms designer they are giving unique name for the objects. But this name is not known to QTP. Oracle is not supplying this to QTP. Anybody know how to overcome this problem? Any suggestions are welcome.
Re: Oracle forms 6i unique field not obtained by Q
QTP will not recognize any object w/o a proper add-in. It might be able to recognize based on position that won't give you a reliable test ever. Hence your options are not to check Java Add-in and see if it supports 6i. Also try using the Java Add-in and see if that is of any help.
Re: Oracle forms 6i unique field not obtained by QTP
Oracle 6i forms are windows based and not java/oracle addin based. The work around was, we have to write two dlls. One will be place along with oracle forms executable. Each form in our application was modified to call this dll and expose the "developer name" property of each field in the form to this dll. The dll will post that to the operating system through a win32 function called "SetProp".
The second dll was placed in QTP and it enabled QTP to recognize the same "developer name" when we learn/spy the objects in the form.
The dlls were written by a consultant...!!
But all in all, Oracle forms 10g is better because you have the oracle addin support.