Modeling GUI-Level Tests - Silk4NET

  1. Click File in the menu and click New Project. In the tree, click GUI-Level Testing and Silk Test. Enter a Name and a Description and click Next.
  2. In the File field, specify the Silk Test asset you want to use for a performance test. Silk Performer automatically detects the file type and enables the appropriate button below.
  3. Click Import Silk4NET test.
  4. In the File field, specify the archive that is to be tested. The available classes are retrieved and displayed, sorted alphabetically in the Class field.
  5. From the Class list, select one of the available classes for testing. Type the fully qualified class name into the Class field. The available methods are automatically retrieved and displayed.
  6. In the Methods area, select the methods that you want to call.
  7. 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.
  8. To change general .NET settings, click the Active Profile Settings link. The Profile Settings dialog opens to the .NET/General page.
  9. Select a Web Browser from the drop-down list. This list is only enabled when the file that is to be imported is based on a Silk Test web project. Silk Test web projects can make use of the single-session concept for GUI-level testing.
  10. Enable Use project attributes for session login to let Silk Performer use credentials from the Project Attributes to login into sessions. To edit the project attributes, click Project > Project Attributes . The credentials will be added to the TInit transaction of your script.
    Note: Silk Test web projects can make use of the single-session concept for GUI-level testing, thus login credentials are not required at all. Nevertheless, for further script customization it might be useful to enable Use project attributes for session login.
  11. Click OK and save the .bdf file.
Silk Performer imports the test assets and generates an appropriate .bdl stub.