Previous Topic Next topic Print topic


Modeling GUI-Level Test Scripts Based on Silk4J Test Cases

  1. If you have already set up a GUI-Level Testing/Silk4J project, click Model Script on the Silk Performer workflow bar and proceed to step 3.
  2. If you have not yet set up a GUI-Level Testing/Silk4J project, click File in the menu bar and click New Project. In the tree, click GUI-Level Testing and click Silk4J. Enter a Name and a Description and click Next.
  3. In the File field, click [...] to browse for the archive that is to be tested. The archive is automatically added to the profile classpath. The available classes are then retrieved and displayed, sorted alphabetically in the Class field.
  4. From the Class list box, select one of the available classes for testing.
    When you do not specify a specific archive for testing, the wizard enables you to specify a class that is available in the profile classpath. Type the fully qualified class name into the Class field, for example java.lang.String. The available constructors and methods are automatically retrieved and displayed.
  5. In the Methods area, select the methods that you want to call.
  6. To filter the methods that are shown in the Methods area, perform the following steps:
    1. Click the Advanced Settings button (the funnel icon above the Methods area).
    2. Once you have customized filter settings, click OK to update the Methods area.
  7. To change general Java settings including the Java version, Java home directory, or JVM DLL, click the Active Profile Settings link. The Profile Settings dialog opens to the Java/General page for Java projects (JUnit project type).
    Note: Changes made to these settings (e.g., Java Classpath) may lead to different results. Selections made in the Class, Constructor, and Methods fields will be updated with the new results.
    Note: If you change the Java version, Java home directory, or JVM DLL, you must restart Silk Performer for the changes to take effect.
  8. Select the Use project attributes for session login checkbox.
  9. Click OK.
Previous Topic Next topic Print topic