We have been testing and scripting an Oracle Thick Client Application for the past two years, and now they are changing it up on us to move to Oracle Web Forms. The record=names option does work for Object Recognition, but we still need more to learn. Like Text checks must be out completely when they worked great in the Thick Client, the same with Text Selects on TAB Bars and Text Selects on Buttons.
Does anyone have any experience with changing between Oracle Thick Client and Web Forms, and if so what were some things you had to relearn and be aware of. Any help on this would be greatly appreciated.
I've been automating against web forms for 3 years (but no exp. w/thick client). There are some hoops to jump through, but it is OK. We use TextChecks all the time. One main thing is to use the top most window as the Attach, not sub-windows. I've never tried a TextSelect on a button, but we use them exclusively for moving among tabs.
Do you have the latest version of QARun? This could make a significant difference.
A problem is a difference between what is perceived and what is desired, that
we want to reduce (Dewey 1933)
Whenever I/We use a textcheck we are capturing all the text on the entire window. Compuware told me to minimize the windows in the background but this is impossible with List of Values and Error Messages. Have you found a way around this.
Final Note: We are using the latest Version of QARun.
for using OFS correctly ask developers for undocumented parameter "Server" or "index "=names" and you will have full name based object recognition.
Because JInitiator is Java, use GetProperty() to get text from specific Java object.
How to: Make a formcheck with extended properties to the related object --> for example the content of an edit box: property is text (left column is thr property and right is the value of the property).
ret = getproperty("Edit", "@JEdit~1","Text")
Syntax means: Var = GetProperty(Object Type, Object/Attachname -both with the "@" before-, property)
This is the fine way, because it not depends from vars. Easier way is to use CaptureBox().
I hope it helps.