Silk Test Install Guide
Silk Test Install Guide
Silk Test Install Guide
installation guide
Trademarks
E-Quality Partner, E-Quality Partner Program, 4Test, QA DBTester, QA Organizer, QA Partner, QA Radar,
QualityWorks, Segue, SilkCentral, SilkPilot, SilkMeter, SilkPerformer, SilkRadar, SilkRealizer, SilkTest, SilkVision,
Universal Testing Architecture (UTA), scenario testing, and E-Business Management System are trademarks or
registered trademarks of Segue Software, Inc.
All other product and company names are either trademarks or registered trademarks of their respective companies.
Questions or comments
If you have any questions for our technical support staff, please fill out our Technical Support online form available
at http://support.segue.com/logcase.php. You can also phone 781.402.5900 (from North America) or +44 (0)
2890260001 (International). When you get in touch, please have your customer ID number available.
Segue software is covered by U.S. Patent Numbers
• 5,600,789
• 5,781,720
• 6,046,740
Contents
About SilkTest
Supported Platforms For information on supported platforms for SilkTest, see the Release Notes.
SilkTest configuration We recommend:
recommendations
• A PC with a Pentium processor running at a minimum of 200 MHz.
• A hard drive with 82 MB of free space.
• In addition to the minimum Windows requirements, 64 MB of RAM.
Add to this the amount of RAM required to run your application under
test.
See “SilkMeter license server requirements” on page 14 for information
about license server requirements.
Important installation Upgrading If you are installing SilkTest 7.6 on a machine that already has a
guidelines previous version of SilkTest or QA Partner installed, you should uninstall
the older version before upgrading.
Windows NT, 2000 and XP You must have local administrator privileges
to install SilkTest on a Windows NT, 2000, or XP machine. Once SilkTest is
properly installed, any user can run it. If you are installing on a Windows NT,
2000, or XP server, you must have domain-level administrator privileges.
Active Desktop You cannot perform testing when the Active Desktop
feature of Internet Explorer 4 Windows NT is installed. For information
about removing the Active Desktop, see Removing the Active Desktop in the
SilkTest online Help (SilkTest/Help/Help Topics). SilkTest can co-exist with
the Active Desktop in Windows 98, since it is an integral part of that
operating system.
Database testing To use the database testing functions (functions whose names begin with
functions DB_), you must have ODBC version 3 installed.
In addition, please ensure that an ODBC driver such as odbc32.dll (SQL
Server) or sqora32.dll (Oracle) is either on your path or in the System
directory in order for SilkTest to find it. The name of this DLL may vary,
depending on the specifications and vendor of your ODBC driver.
Items included with • SilkTest, for developing and running tests.
SilkTest
• SilkTest Agent, for translating 4Test method calls into GUI-specific
commands.
• The following documents, available from Start/Programs/SilkTest/
Documentation, if you chose to install the documentation:
- SilkTest Installation Guide
- SilkTest Extension Kit Guide for Windows, SilkTest Extension Kit
Guide for .NET, or Extension Kit Guide for UNIX (if you purchased
the Extension Kit)
If you have purchased a license for a SilkTest Agent but not SilkTest itself,
then only the Agent, documentation, sample applications, and the SilkTest
Bitmap Tool are accessible after you install SilkTest.
Questions? Need help? All customers who are under a maintenance-and-support contract and
prospects who are evaluating Segue products are eligible for technical
support. If you have a question on this installation or on a technical topic,
Segue’s highly trained Technical Support staff will respond to your telephone
and e-mail requests as quickly and professionally as possible.
How to contact You can reach Technical Support by:
Technical Support
• Calling 781.402.5900 (from North America) or +44 (0) 28.90.260001
(International)
• Logging a Support Request at http://support.segue.com/logcase.php
What’s your Customer Please include your Customer ID in your e-mail or have it ready for your
ID? Technical Support representative, if you call. You can find your Customer ID
on the inside cover of this guide in your SilkTest shipment. After you install
SilkTest and your license policy, you can also find your Customer ID by
starting SilkTest and clicking Help/About SilkTest.
SilkMeter only needs to be installed once per license server. If you have
multiple license servers, you will need multiple license policy files, each
one tied to a particular license server. A single SilkMeter license server
can administer license policies for multiple Segue products.
We recommend the following, if you have:
• already received a SilkTest license policy associated with your
license server, see “Installing SilkMeter on your license server” on
page 14.
• not received a license policy yet, see the following section, “Gener-
ating a SilkTest license policy”.
Installing SilkMeter on You must have administrative privileges to install SilkMeter. If SilkMeter is
your license server already installed on your license server, you must uninstall it before installing
the latest version of SilkMeter. See “Uninstalling a previous version of
SilkMeter” on page 14.
To install SilkMeter on your license server:
1 Locate silkmeter.exe:
• If you have a CD: insert your CD in the computer that will be your
license server and navigate to <cddrive>:\silkmeter.
• If you are downloading:
- Navigate to http://customers.segue.com/protected/bronze/
support/s_downloads_silkmeter.htm, type your Customer ID
and password in the User Name and Password boxes and click
OK.
- Double-click the latest silkmeter.exe, click Save, specify the
location to which you want to save this file, and then click Save.
Make sure that you save the file on your license server or a
location that your license server can access.
- Navigate to the location in which you saved silkmeter.exe.
2 Double-click silkmeter.exe.
3 Click Next on the Welcome dialog, review the License Agreement, and
then click Yes to accept the terms of the License Agreement.
4 On the Enter Installation Path and Configuration Directory for SilkMeter
Runtime window, click Next to install SilkMeter in the default directory,
C:\Program Files\Segue\SilkMeter, and use the default configuration
folder, C:\Program Files\Segue\cfg.
5 On the Enter Server Location window, select Install server on local
machine, and then click Next.
6 On the Edit Server Settings for Local Server dialog, enter or verify the
Local hostname and Port, and regardless of whether you are installing on
Windows NT or 2000, make sure Run as NT Service (this could appear
as Run as Service) is selected and then click Next. The hostname is the
name of the machine on which SilkMeter is installed.
7 On the Setup Type window, click Next to accept the default setup,
Typical.
8 On the Select Program Folder window, click Next to accept the default
Program folder, SilkMeter Runtime.
This chapter describes how to install SilkTest and other components such as
the Agent and SilkTestRuntime.
If you are installing If you are installing on Windows 95, search for the MSVCIRT.dll and
SilkTest on Windows MFC42.dll files; SilkTest requires these files in order to install correctly.
95 or Windows ME These .dlls are available from Microsoft or from your MSDN subscription. If
you do not already have them, copy them into your Windows System
directory.
If you are installing on Windows Millennium Edition (Me), you must
disable PCHealth and State Manager, then reboot your computer before
installing SilkTest.
Installing SilkTest
Segue strongly recommends that you do not install SilkTestRuntime on the
same machine as SilkTest. SilkTestRuntime shares files with these products
and will overwrite any other SilkTest installation you already have on your
machine.
To install the SilkTest Unix Agent, see the instructions on page 23.
- Specify the location to which you want to save this file, and then
click Save. You can also run the file by from your browser by
double-clicking the .exe, if your browser supports this.
- Navigate to the location in which you saved the SilkTest.exe,
and double-click this file.
Note If your Windows TEMP environment variable does not point
to a valid directory, an error message will be displayed. In order to
successfully install SilkTest, your TEMP environment variable must
point to a valid directory.
To reset your TEMP environment variable:
a) Click Start/Settings/Control Panel and double-click the System
icon.
• On Windows 2000 or Windows XP, click the Advanced tab,
then click Environment Variables.
• On Windows NT, click the Environment tab.
b) Under User Variables or System Variables, double-click the
TEMP variable.
c) Enter a valid directory, then click OK.
d) Restart the SilkTest installation by double-clicking the .exe file.
2 Click Next on the Welcome dialog box, review the License Agreement,
then click Yes to accept the terms of the License Agreement.
3 On the SilkTest Licensing dialog box, click Next. This dialog is provided
for informational purposes only. The SilkTest installer checks for files on
your machine to determine whether references to a license server already
exist or need to be created at this point.
4 Based on the license reference check:
• If the SilkTest installer finds existing references to a SilkMeter
license server, the Select SilkMeter Setup Options dialog box is
displayed. This occurs if you have already installed SilkTest, if you
have already set up your SilkMeter license server, or if you have
installed other Segue products that use SilkMeter for licensing. A
single SilkMeter license server can administer license policies for
multiple Segue products.
Use the radio buttons to specify whether you want to use your
existing SilkMeter license server or create a reference to a new
SilkMeter license server, then click Next.
• If the SilkTest installer does not find references to a SilkMeter
license server, or if you selected Set up server on the Select
SilkMeter Setup Options dialog box, you must specify a new license
SilkTest Installation Guide 19
3 INSTALLING SILKTEST
Installing SilkTest
8 On the Start Copying Files dialog box, review your settings. Click Back
if you want to modify any of your settings, otherwise click Next to
continue with the SilkTest installation.
Tip If a message appears stating that there is not enough space
while files are copying, redefine the TEMP area to a drive that
contains more space. The installer uses the TEMP area for unzipping
files. For example, if your TEMP area is d:\temp and you are
installing to e:\silktest, the E drive may contain enough space for the
installation, but the D drive is the limiting factor.
9 Depending on your product selections and the platform on which you are
installing, the Setup Program may display the following messages:
• If you are installing the Extension Kit, a message prompts you to
enter your password. If you do not know your password, contact
Customer Service at 781.402.6900.
• If you are installing on Windows 95 or Windows 98, a message
indicates that Setup is inspecting the GDI32.DLL file. A message
appears, indicating that after rebooting, Setup will modify
GDI32.DLL in the Windows System directory and copy the original
file to the Segue subdirectory of the Windows System directory.
Take note of this information and click OK.
• If you are installing on Windows 95, you may receive an error
message saying the MSVCIRT.dll and/or the MFC42.dll file are
missing. These files are available from Microsoft or your MSDN
subscription; copy them into your Windows System directory, then
restart the SilkTest installation.
10 Select a default language for testing browsers. The browser Include (.inc)
file for the language you select will be installed to your <SilkTest
installation>\Extend directory. All browser include files are installed in
your <SilkTest installation>\Locale directory; to switch to another
language later, see the online Help.
11 If you will be testing Web applications, verify your default browser, then
click Next. If you want to specify a different default browser for
SilkTest, select the appropriate browser. If you are not testing a Web
application, select None, then click Next.
Note The Setup Program preselects the radio button in this dialog
based on browser settings on your machine. (If you are using
Internet Explorer, it displays only the version of IE installed on your
machine.) The Setup Program uses this information to set the
appropriate browser extension and let the recovery system know
which browser it should invoke.
For example, if your default browser is Internet Explorer 6.0, the Setup
Program preselects Internet Explorer 6.x DOM (Document Object
Model). Note that the default browser extension for IE 6.x is DOM; if
you want to use the Virtual Object (VO) extension, you must select it.
We recommend the DOM extension for new customers and the VO
extension for existing customers who have not yet switched to the DOM
extension.
You can change your default browser at any time through the SilkTest
Runtime Options dialog. Refer to the SilkTest online Help for
instructions on changing your default browser or browser extensions
after installation.
Note If your default browser is Internet Explorer 6.x, you may
receive a message that your browser’s third-party extensions are not
enabled. You must enable this option in order for SilkTest to
recognize objects in browser pages. You can enable this option and
then continue with the installation, or you can wait and enable the
option after the installation is complete. To enable third-party
browser extensions:
a) On the Tools Menu in Internet Explorer, click Internet Options.
b) Click the Advanced tab.
c) Under Browsing, select the Enable third-party browser
extensions (requires restart) check box, then click OK.
d) Restart your browser by closing and reopening the browser
window. You do not have to reboot your computer for the new
setting to take effect; just close and reopen the browser window.
12 On the SilkTest Results Logging window, click Next. This dialog is for
informational purposes only and gives a brief introduction to the Results
Repository installer and demonstration-only Results Viewer. For more
information, see the online Help.
13 On the Select Program Folder dialog box, specify a program folder for
SilkTest, or click Next to accept the default, SilkTest. Please wait while
Setup updates the registry.
14 The Associate SilkTest Files dialog box will be displayed.
• Accept the default selection, Yes, to associate SilkTest file types
(*.inc, *.t, *.g.t and *.pln files) with SilkTest. If you double-click
one of these SilkTest file types, SilkTest opens that file.
• Select No if you would rather not associate SilkTest files with
SilkTest. If you select this option, double-clicking one these file
types will not open the file in SilkTest (but you could still start
SilkTest and open the file from within SilkTest).
Install the SilkTest If you have a previous version of the SilkTest Agent installed, we strongly
Agent on a Solaris or recommend that you uninstall it (described above) before you follow these
Linux machine steps.
The SilkTest UNIX Agent install creates a directory named "SilkTest" in the
location where you decompress the .tar.gz file as described in Step 2 below.
This SilkTest directory contains all of the Agent-related files, including a
SilkTest/demo directory which contains the Motif Test Application.
1 Locate the SilkTest UNIX Agent executable.
• If you have a SilkTest Agent for UNIX CD, insert your CD.
• If you are downloading, navigate to http://www.segue.com, then
click the Downloads link. Type your Customer ID and password in
the User Name and Password boxes, click OK, and then select the
appropriate version of the Agent you want to install.
2 Copy the appropriate install file to the location on the Solaris or Linux
machine where you want to install the Agent. On the download area,
there are three different files listed, but you copy only one, depending on
what operating system is running on your UNIX machine:
• For Linux 2.1, copy linux21.tar.gz
• For Linux 3.0, copy linux30.tar.gz
• For Solaris 9 or 10, copy solaris.tar.gz
3 This step installs the Agent under the current directory, so be sure to first
navigate to the desired directory. Decompress the .tar.gz file that you
copied:
• For Linux 2.1, enter tar -xvpzf linux21.tar.gz
• For Linux 3.0, enter tar -xvpzf linux30.tar.gz
• For Solaris 9 or 10, enter gtar -xvpzf solaris.tar.gz
4 Set up the SilkTest environment variables required by the SilkTest Agent
by running a set_env script. The script establishes the basic runtime
environment for the Agent. You can modify these scripts as desired for
your environment, but remember to first make backup copies if you plan
to do so.
You run the script that corresponds to the type of shell you are running,
either c shell or Bourne shell. To set up the environment, enter the
following in the SilkTest directory:
• For c shell, enter source set_env.csh
• For Bourne shell, enter set_env.sh
There is no visual confirmation that the shell script was successful. The shell
script does not output any values; it simply returns you to the Command
prompt.
See the release notes for more information about licensing this Agent.
Silent Installer
During a typical user-driven installation, the install process gets its
information from a user responding to dialog boxes. However, during a silent
installation, the installation process gets its information from an InstallShield
Silent Response file (.iss file). To create an .iss file, you run the SilkTest
setup.exe from the command line using a special switch to create this file.
This file may then be used in future “silent” SilkTest installations. You can
set up silent installs of SilkTest, SilkTest Runtime, and the SilkTest Agent.
For best results, we highly recommend setting up the Silent Installer on a
machine that has the same configuration for the machine(s) that you want to
install SilkTest on. For example, if you will want to run the Silent Installer for
SilkTest Runtime on Windows 2000 machines, use the steps below to set up
Silent Installer on a Windows 2000 machine.
SilkMeter is Segue’s licensing tool; when you run the Silent Installer it
“skips” detecting a SilkMeter server. If you have not already configured your
license server, you may have to do so after you install SilkTest with the Silent
Installer. See “Configuring SilkMeter with the Silent Installer” on page 29 for
more details.
The Silent Installer is not supported on Windows 95, Windows 98, or
Windows ME (Millennium).
Overview of setting up In brief, here are the steps to setting up and using the Silent Installer.
the Silent Installer
1 Install SilkTest from the command line using Silent Installer options.
2 After the SilkTest installation is complete, check the log file to verify
that the .iss file was successfully created.
3 Make the replay file (*.iss) and SilkTest installation files available for
whoever needs to run the Silent Installer.
3 Respond to the SilkTest install dialogs and prompts. While you do so, the
Silent Installer records your selections, including reboots. Keep in mind
that it is not a true “recorder”; if you leave the installer and start up a
different task, it will not record those keystrokes.
If you want to create a Silent Installer for SilkTest Runtime or for the
Agent, be sure to select those installation options. Be sure to respond
“yes” to the reboot question, if you want the Silent Installer to reboot the
other computers.
Now that you have set up the Silent Installer, you can run it to install
SilkTest.
Value Meaning
0 Success
1 General error
2 Invalid mode
3 Required data not found in the Setup.iss file
4 Not enough memory available
5 File does not exist
6 Cannot write to the response file
7 Unable to write to the log file
8 Invalid path to the InstallShield Silent
response file
9 Not a valid list type (string or number)
10 Data type is invalid
11 Unknown error during setup
12 Dialogs are out of order
51 Cannot create the specified folder
52 Cannot access the specified file or folder
53 Invalid option selected
Sample log file A setup.log file for a successful silent installation of InstallShield is shown
below. Notice that the ResultsCode is equal to zero, indicating a successful
install.
[InstallShield Silent]
Version=v5.00.000
File=Log File
[Application]
Name=InstallShield5
Version=5.00.000
Company=InstallShield
[ResponseResult] ResultCode=0
What to do next
Install Blue Express If you purchased the Blue Express Agent, you should install it now. Follow
the instructions in the Blue Express Installation Guide; click Start/
Programs/SilkTest/Documentation/Blue Express Install Documentation.
Obtain software Segue provides a Web-based update system. After completing the
updates on the Web installation, browse the password-protected download area of Segue’s Web
site, http://customers.segue.com/protected/bronze/support/s_downloads.htm, to
see if an update needs to be applied to this release. You can also check for
updated documentation which may be available at http://customers.segue.com/
downloads/products/silktest/update/documentation/readme_update_docs.htm.
Explore the online Segue Technical Support hosts a knowledge base, customer forums, and the
Knowledge Base latest news about Segue products at http://support.segue.com/home.php.
Enable applications If you are testing applications that use controls other than the Microsoft
Foundation Class (MFC) library, you may need to enable support for the
development language in which the controls were created. The installation
program enables the development environment when it knows the test
application’s underlying executable name. You might have to enable some
applications yourself, for example, .NET applications, all stand-alone Visual
Basic applications, ActiveX controls used outside the browser environment,
and applications with embedded browser controls. For information about
enabling applications, see the online Help.
Try the tutorials If you’re new to SilkTest, we recommend that you try the SilkTest tutorials,
available from Start/Programs/SilkTest/Documentation/SilkTest
Tutorials.