Ignoring a Java Object

This functionality is supported only if you are using the Classic Agent.

If you are using the Java extension and you want to ignore a Java class, object, or container, you must edit your javaex.ini file:

  1. Open javaex.ini, located in the <SilkTest install directory>\extend folder.
  2. Add myclass=false as a new line to the file, where myclass is the full class name. For example, if the tag of the class you just recorded is [com.mycompany.Spinner], add the following line:
    com.mycompany.Spinner=false
    Note: The name can contain wildcards, which can be useful for ignoring all classes in a package, for example com.mycompany.module_classes_to_ignore.*\=false. You must use the value false and not the value ignore.
You might find that ignoring a top level object causes all objects underneath it to be ignored as well. If this is an issue, you can mark the top level object as false and add any objects that you do not want to be ignored to the ClassList and set to the value to true. For example:
com.ignore.this.object = false
 com.dontignore.this.object = true
The second object displays in the GUI as a child of the first.