System Settings

The Tools -> Options dialog box lets you specify a number of important properties to control App Test behavior. Properties configured here are applied to all the projects in the test. Following is a description of the various tabs and properties found in them.

AppPerfect

General

Number of Recent Project Files: Specify the number of project files to show in the most recently used menu list. The default is 5.

Number of Recent Result Files: Specify the number of result files to show in the most Recently used menu list. The default is 5.

Highlight Row/node on mouse over:This setting is for highlighting the current row you are browsing or the current node you are visiting in AppPerfect product.

Save Result: Define your results-save strategy here. You can configure to save result for each project run automatically or to save just last run of the project. Default value is to not save result automatically.

User Name: Shows the name of the user configured in AppPerfect Test Manager. Multiple users can be configured with AppPerfect Test Manager and each client AppPerfect product can use unique user name to submit results/ projects to Test Manager. This user name is used as identifier and is helpful in generating user based reports in Test Manager. In case connection to Test Manager is not configured Or if there is only single user configured in Test Manager then this field is un-editable.

Garbage Collector Settings

To control the memory usage of application during execution you can configure Garbage collector settings here. AppPerfect takes care of forcing the garbage collection once the specified limit is reached. You can also configure how often AppPerfect should check for memory consumption.

Font Settings

You can set your own font for AppPerfect App Test.

Update Schedule

Application can be configured to check for new updates/release of the AppPerfect product. On finding one application notifies the user about the availability of same. Keeping this feature enabled ensures that you are using latest version of the product.

Browsers, JDKs & DBs

Browser Settings

AppPerfect uses the browser configured here to open Help files and exported results/reports. You should have proper browser configured for application to work correctly. The one selected as default is used for opening the help files or exported reports.

JDK Settings

Specify your JDK's name and path here. AppPerfect will use the default JDK specified at the time of installation. You may want to use other JDKs for your applications and those can be defined and used from here.

DB Connections

You can configure Database related properties like Database name, Connection URL, JDBC driver, User Name, password etc. here. This is useful in case you need to fetch values from database to parameterize your test. Database configuration is also required in case you need to add Database validation in test.

Custom Script Settings

AppPerfect uses javascript as its scripting language. You can add your own custom code to the recorded test script.To use any custom classes in the script files you should configure the classpath of those custom classes here. You can provide the path for either the zip/jar file or can provide the path for the folder containing the custom classes.

App Test

General Settings

If error occurs during test run: Select the option that best suits your requirement for errors. You can configure to stop test run, ignore error and continue with next task or group, you can also configure to prompt for user action in case error occurs and can also retry the execution of the erroneous task during runtime.

Use Accessibility to record window events: Events on window elements can be recorded in two ways, One by using Window's accessibility framework and recording accessible path to the UI element and other by using standard window enumeration to find the window component. Windows accessiblity provides more control over the nested UI elements in the UI heirarchy and this option should be used for recording on flash/flex or any custom controls. But this requires that the target custom control should implement the standard Accessible framework. All the window controls implements the accessible framework. This option should not be used in case the UI elements in your application changes its position in the UI heirarchy resulting in change of accessible path during each run.

Use Absolute index to find component during replaying: Along with recording index of window in its parent heirarchy and recording attributes for the window, Application also records absolute index of window on desktop. In case this option is selected, application uses only absolute index to find the desired window during replaying. This is helpful when you have window class in your applicaton getting created dynamically during each run in which case its not possible for Application to find desired window using recorded native class attribute. In such cases you should replay the test with this option selected.

Record drag/drop event if mouse is dragged by more than N pixel: By default application records drag/drop event for window components only if mouse is dragged by more then 10 pixels. In case you need to increase/decrease this range, same can be edited here.

Window Elements

This list of elements is valid only in case you are using App Test on Windows platform to record the test. All the Window elements that can be recorded by AppPerfect App Test can be configured here. You can select the ones you need for testing custom control like flash/flex/javascript dialogs/Applet etc on your windows application. You can also add new window elements and modify/delete the existing ones from here. AppPerfect is set to record the most commonly used window elements and events on your desktop application including applets/flash/flex/dialogs/Menus/Toolsbar etc.. However, if you find certain elements or events on your desktop applications are not getting recorded, then first check if you have that specific Window element configured here and has the corresponding event enabled for same. If you find that window element is not present then you should add new Window element having the same native class name as the window element you need to record and enable the events you need it to listen to. You can find the native window class name of the window element by using AppPerfect's Object Spy feature.

Java Elements

This list of elements is valid when you are recording on Java application. All the Java elements that can be recorded by AppPerfect App Test can be configured here. You can select the ones you need for testing your java application. You can also add new Java elements and modify/delete the existing ones from here. AppPerfect is set to record the most commonly used Java elements and events on your Swing/AWT application.. However, if you find certain elements or events on your applications are not getting recorded, then first check if you have that specific Java element configured here and has the corresponding event enabled for same. If you find that java element is not present then you should add new java element having the same java component class name as the java element you need to record and enable the events you need it to listen to.

Licenses

License related settings are done here. You can configure license for either single client machine or can configure the product to pick the license from Floating license server in case you have purchased Floating license. Floating licenses are managed using License Manager in AppPerfect Test Manager.

Log Settings

AppPerfect maintains logs of fatal exceptions for all the products. You can change this setting here to log all messages. This option is very useful for debugging purposes. It is recommended that you use this feature in case you are facing any issues with the product and send us the log files. By default log files are saved at: <AppPerfect_Home>/logs. You can configure to change the log path and save logs at different location. Application can also log the values from the test script. For each log statement in test script you will find output getting logged in script_log.txt. The script log can be used to check the values getting used during parameterized test.

Server Connection

Test Manager Settings

AppPerfect Test Manager settings are done here. AppPerfect Test Manager provides functionality of requirement, project, results and issues management. It allows to schedule various project executions, view results, export them to various formats, add/manage test requirements and add/manage issues in the product. AppPerfect Test Manager by default runs on port 8744 and can be accessed as http://HOST_NAME:8744/AppTestManager.

Product's Service Settings

Product related service settings are configured here. Each App Test product also installs a product service which listens to requests from other App Test product installations on remote machines while performing remote execution. This service by default runs on port 8894 and can be accessed as http://HOST_NAME:8894/AppService

Repository Settings

AppPerfect Repository Settings is required to share AppPerfect projects across the team. AppPerfect provides support for Subversion(SVN) server for sharing projects across team. AppPerfect Repository server by default runs on port 8747 and can be accessed as svn://HOST_NAME:8747/AppRepository in case repository is created with "AppRepository" as the root folder. For complete details on configuration of Team or Repository Server refer to Team Server Configuration