You are on page 1of 36

Silk4NET

I n g . G o n za l o A l b a - M C P
2013

Silk Test Product Suite


The Silk Test product suite includes the following components: Silk4NET Silk4J Silk Test Recorder Silk Test Classic Silk Test Agents: Classic and Open Agents

SilkTest Open Agent


The Silk Test Open Agent is the software process that translates the commands in your scripts into GUI-specific commands. In other words, the Open Agent drives and monitors the application that you are testing. One Agent can run locally on the host machine. In a networked environment, any number of Agents can replay tests on remote machines. However, you can record only on a local machine.

What is Silk4NET
Is a powerful plug-in for Microsoft Visual Studio. Silk4NET enables you to efficiently create and manage functional, regression, and localization tests directly in Visual Studio. With Silk4NET, you can perform the following tasks: Develop tests using Visual Basic .NET. Develop tests using C#. Run tests as a part of a test plan in the Microsoft test environment. View test results.

Pre-requisites
Disable UAC (User Account Control) C:\Windows\System32\UserAccountControlSettings.exe

Installation
Step 1:
Execute: ia_silktest2010r2_4444.exe

Installation
Step 2:

Installation
Step 3:

Installation
Step 4:

Installation
Step 5:

Installation
Step 6:

Installation
Step 7:

Installation
Step 8:

Installation
Step 9:

Installation
Step 10:

Installation
Step 11:

SilkTest Recorder
Start Open Agent. Start Recorder.

Application Configuration
An application configuration defines how Silk Test connects to the application that you want to test. An application configuration includes the: Executable pattern All processes that match this pattern are enabled for testing. For example, the executable pattern for Notepad is \*notepad.exe. Command line pattern The command line pattern is an additional pattern that is used to constrain the process that is enabled for testing by matching parts of the command line arguments (the part after the executable name).

Application Configuration
Step 1:

Application Configuration
Step 2:

Application Configuration
Step 3:

Application Configuration
Step 4:

Application Configuration
Step 5:

Application Configuration
Step 6:

Base State
An applications base state is the known, stable state that you expect the application to be in before each test case begins execution. Base state is automatically created.

Base State

Global Preferences
We can configure the following: Setting Global Silk Test Recorder Preferences Specify whether Silk Test Recorder is minimized when you record and specify which mode to use to capture locators. Setting the Default Client You can copy content from Silk Test Recorder into any client and then paste the content into Silk4NET, Silk Test Classic, or Silk4J. Setting Host Preferences Specify the host machine name. Setting Open Agent Location Preferences Specify whether the Silk Test Open Agent is installed locally or on a remote machine and the port number on which the information service connects to the Open Agent.

Start Recording

View properties
Press: ctrl + alt at the same time

Replay Speed

Exercises
Calc.exe Notepad.exe

Questions?

You might also like