Learning Java Applications
Certify Java® Learn creates application maps from the windows and objects within the Java application. These learned windows and objects are stored in the application map and imported into Certify.
The Learn First View option requires that you create one map file for each application view, such as tabs and dynamic content, within that window.
For example, if you have three tabs in your Java application, you can use the Learn First View option on the first tab of the window. Then, specify a unique physical name for the window view and save the map file. Repeat this process for each tab within the window you are currently learning and then for each window within your application. You will have three individual map files.
For more information, see Creating Multiple Maps for One Java Application.
To learn Java applications:
- Open the Java application that you want to learn.
-
In Certify select Tools > Certify Interface Learn > Java from the menu.
The Certify Java Learn tool opens.
-
From the Certify Java Learn menu, select Learn > Learn First View.
The Learn utility begins processing, and the Learned Objects pane displays the objects.
- If needed, specify a unique physical name for the window. For more information, see Renaming Learned Java Objects.
- Click the Save button to save your map.
- If you need to learn additional tabs or dynamic content, repeat this process.
To learn additional views of a Java application:
If you do not want to create individual map files for each view, you can create one map file for all views. After the first view is learned, you can use the Learn Next View option to learn all other views, such as tabs and dynamic content, as you navigate through your application.
The new objects are added after the previously learned window, and you will have one map file that contains all views.
- Learn the application with the Learn First View option in Certify Java Learn.
-
From the Learn menu, select Learn Next View.
The Learn Next View option is enabled if the initial window was learned.
The Learn Next tool opens.
-
Within the Java application, select a different view and click OK in the Learn Next tool.
The new objects are highlighted and added to the Learned Objects tree.
- Continue selecting different views of the application until there are no more views to learn and click OK after each new view.
- Close the Learn Next tool when you have completed learning all of your views.
Updated Application Versions
If you choose to use the Learn Next View option, you must document the order in which you learned the windows. The windows and objects in the map file for the new version of the application must match the first version of the application.
If you learn the second version of the application in a different order than was stored in the initial map file, Certify will not be able to resolve the difference between the first and second versions of the maps.