There are restrictions for classpaths of Eclipse projects that are used within
Silk Performer. To enable the distribution of libraries during a test, all libraries must be located either in the
Silk Performer project directory (<my documents>\Silk Performer
20.0\Projects) or they must be available on a UNC path.
-
Right-click a
Silk Performer-enabled project in Eclipse’s Package Explorer and select
from the context menu.
-
Click the
Libraries tab.
All of the user libraries that are required for running tests are displayed.
-
Click
Add Library.
The
Add Library page opens.
-
Select
User Library from the list and click
Next.
-
Click
User Libraries.
The
User Libraries page opens.
-
Click
New.
The
New User Library dialog opens.
-
Specify a name for the new library and click
OK.
The
User Libraries page opens.
-
Click
Add JARs.
-
Browse to and select one or more Java libraries that are available to your local system.
Press the
Shift or
Ctrl keys to select multiple libraries.
-
Click
Open to add the JAR files to your new user library.
The
User Libraries page opens.
-
Click
OK.
The
Add Library page opens.
-
Click
Finish.
These settings are migrated to the classpaths of both your
Silk Performer Workbench project and your
Silk Performer-enabled Eclipse project.