No Slide Title

Download Report

Transcript No Slide Title

Jacada Tutorial
SilkPerformer 2009
Introduction
This presentation gives you an overview of how to
use SilkPerformer to test Jacada applications.
It guides you through the steps of creating a
project and choosing the correct settings for
recording and replaying Jacada scripts.
2
7/17/2015
Application Profile Configuration
To begin, select the
Jacada application type
from the Application Server /
Component Models group
3
7/17/2015
Application Profile Configuration
Select WinSock
Click Web
Settings
Select Jacada
Select Web
4
7/17/2015
Recording Proxy Configuration
 Exclude Ports
 Suppress recording of TCP/IP traffic
 Default ports: 1100-1200
Edit SOCKS proxy
5
7/17/2015
Profile Settings
 Define Java Virtual Machine
 Sun JVM 1.2.x or higher required
6
7/17/2015
Profile Settings (Replay)
Add clbase.jar to classpath
 Copy from Jacada server
(classes\cst\clbase.jar)
to local machine
 Add to classpath in profile
settings
7
7/17/2015
Recording
 Record as a standard Web application
8
7/17/2015
Recorded Scripts
 Mixed Protocols


Web/HTTP
Jacada
 Script Structure
 HTTP traffic
 JacCreateUser(…)
 JacConnectUsing…(…)
 User Interactions

9
JacDestroy(…)
7/17/2015
User Interactions
 Enter Data
 JacSetTextData(...)
 JacSetTableData(...)
 Screen Transition
 JacSendWindowData(...)
 JacSendCommand(...)
 JacChangeCellValue(...)
 Verifications
 JacCheckScreen(...)
 JacCheckFieldValue(...)
 JacCheckTableCell(...)
10
7/17/2015
TrueLog (1)
User Inputs (JacSetTextData)
11
7/17/2015
TrueLog (2)
Function parameters, verifications
12
7/17/2015
Next Steps
 Follow SilkPerformer‘s Workflow
 Run a TryScript
 Customize the script
 Randomize input values
 Delete/adjust verification functions for non-constant
fields
 Identify a baseline
13
7/17/2015