Skip Headers
Oracle® Application Testing Suite OpenScript User's Guide
Version 9.10 for Microsoft Windows (32-Bit)
Part Number E15488-03
Home
Book List
Index
Contact Us
Next
View PDF
Contents
List of Figures
Title and Copyright Information
Preface
Audience
Documentation Accessibility
Related Documents
Conventions
1
Getting Started With OpenScript
1.1
OpenScript Features
1.2
Installing OpenScript
1.3
Starting the OpenScript Workbench
1.4
Overview of the OpenScript Main Window (Workbench)
1.4.1
Tester Perspective
1.4.2
Developer Perspective
1.4.3
OpenScript Menu Options
1.4.3.1
File
1.4.3.2
Edit
1.4.3.3
Search
1.4.3.4
Script
1.4.3.5
View
1.4.3.6
Run
1.4.3.7
Tools
1.4.3.8
Help
1.4.3.9
Navigate
1.4.3.10
Project
1.4.3.11
Window
1.4.4
OpenScript Tool Bar
1.4.5
Script View
1.4.5.1
Tree View
1.4.5.2
Java Code
1.4.6
Details View
1.4.7
Problems View
1.4.8
Properties View
1.4.9
Console View
1.4.10
Results View
1.4.11
Navigator and Package Explorer Views
1.4.12
Debug View
1.4.13
Variables and Breakpoints Views
1.5
About Multi-User Execution
1.6
About Script Assets
2
Setting Preferences
2.1
Setting OpenScript Preferences
2.2
Correlation Category
2.2.1
Module Correlation Preferences
2.2.2
Add Library
2.2.3
Add/Edit Rule
2.3
General Category
2.3.1
General Preferences
2.3.2
Browser Preferences
2.3.3
Encryption Preferences
2.3.4
Repository Preferences
2.4
Playback Category
2.4.1
General Playback Preferences
2.4.1.1
General
2.4.1.2
Error Handling
2.4.1.3
System
2.4.2
Debug Preferences
2.4.3
Error Recovery Preferences
2.4.3.1
General
2.4.3.2
Functional Test
2.4.3.3
HTTP
2.4.3.4
Oracle Forms Functional Test
2.4.3.5
Oracle Forms Load Test
2.4.3.6
Utilities
2.4.3.7
Web Functional Test
2.4.4
Functional Test Preferences
2.4.4.1
Object Enumeration
2.4.4.2
Browser
2.4.5
HTTP Preferences
2.4.5.1
Proxy
2.4.5.2
Compression
2.4.5.3
Headers
2.4.5.4
Connections
2.4.5.5
SSL
2.4.5.6
Other
2.4.5.7
Download Manager
2.4.6
Oracle EBS/Forms Functional Test Preferences
2.4.6.1
Event Timeout
2.4.6.2
Miscellaneous
2.4.7
Oracle EBS/Forms Load Test Preferences
2.4.7.1
Miscellaneous
2.4.8
Shared Data Service Preferences
2.4.9
Web Functional Test Preferences
2.4.9.1
Object Timeout
2.4.9.2
Miscellaneous
2.4.9.3
Capture Screenshot Interval
2.4.9.4
Object Tests
2.5
Record Category
2.5.1
General Preferences
2.5.2
HTTP Preferences
2.5.2.1
General
2.5.2.2
Proxy Settings
2.5.2.3
URL Filters
2.5.3
Oracle EBS/Forms Functional Test Preferences
2.5.3.1
General
2.5.3.2
Object Identification
2.5.4
EBS/Forms Load Test Preferences
2.5.5
Siebel Functional Test Preferences
2.5.5.1
General
2.5.5.2
Object Identification
2.5.6
Web Functional Test Preferences
2.5.6.1
General
2.5.6.2
Object Identification
2.5.7
Web Services Preferences
2.5.7.1
General
2.5.7.2
Parser Tools
2.5.7.3
Proxy Configuration
2.6
Step Group Category
2.6.1
ADF Functional Test Preferences
2.6.2
Basic Module Preferences
2.6.3
HTTP Preferences
2.6.4
Oracle EBS/Forms Functional Test Preferences
2.6.5
Oracle EBS/Forms Load Test Preferences
2.6.6
Siebel Functional Test Preferences
2.6.7
Siebel Load Test Preferences
2.6.8
Web Functional Test Preferences
2.7
Setting Project Preferences
3
Creating and Modifying Scripts
3.1
Creating Repositories and Workspaces
3.1.1
Creating a Repository
3.1.2
Managing Repositories
3.1.3
Managing Folders
3.1.4
Managing Scripts
3.2
Creating a Script Project
3.2.1
Opening Existing Scripts
3.2.1.1
Opening Older Scripts in OpenScript
3.2.1.2
Migrating Older Scripts in OpenScript
3.2.1.3
Running Mixed Versions of Scripts
3.2.1.4
Multiple Users Opening Scripts
3.2.2
Migrating Scripts
3.2.3
Setting Script Properties
3.2.3.1
Correlation
3.2.3.2
Modules
3.2.3.3
Script Assets
3.2.3.4
Step Groups
3.2.4
Importing Oracle Real User Experience Insight (REUI) Session Logs
3.3
Modifying Scripts
3.3.1
Adding Step Groups to a Script
3.3.2
Adding a Delay to a Script
3.3.3
Adding a Log Message to a Script
3.3.4
Adding a For Statement to a Script
3.3.5
Adding a Function to a Script
3.3.6
Adding Script Assets
3.3.7
Adding a Script to Run from a Script
3.3.8
Adding a Set Variable to a Script
3.3.9
Adding Comments to Script Results
3.3.10
Adding Error Recovery to a Script
3.3.10.1
Script Types
3.3.10.2
Constants
3.3.10.3
Actions
3.3.11
Verifying Script Actions
3.3.11.1
Adding an Error Recovery Action
3.3.11.2
Adding a Has Error Control Statement
3.3.11.3
Adding a Result Object Message
3.3.11.4
Actions That Can Be Verified
3.3.12
Chaining Multiple Scripts
3.3.12.1
Setting the Browser Preferences
3.3.12.2
Recording Scripts
3.3.12.3
Creating a Shell Script
3.3.13
Moving Nodes in a Script
3.4
Changing Text File Encoding
3.5
Debugging Scripts
3.5.1
Adding Views to the Tester Perspective
3.5.2
Adding Breakpoints to a Script
3.5.3
Adding a Java Exception Breakpoint
3.5.4
Pausing and Resuming Script Playback in Debug Mode
3.5.5
Inspecting and Changing Script Variable Values
3.6
Enabling Debug Logging
4
Using Databanks
4.1
Understanding Data Driven Testing (Parameterization)
4.2
Using Script Databanks
4.3
Configuring Databanks
4.4
Getting Databank Records
5
Using the Web Functional Test Module
5.1
About the Web Functional Test Module
5.1.1
Key Features of the Web Functional Test Module
5.2
Recording Web Functional Tests
5.2.1
Setting Web Functional Test Record Preferences
5.2.2
Adding/Editing Object Identifiers
5.2.2.1
Available Attributes for Web DOM Elements
5.2.3
Recording Web Functional Test Scripts
5.3
Playing Back Scripts
5.3.1
Setting Web Functional Test Playback Preferences
5.3.2
Playing Back Web Functional Scripts
5.3.3
Playing Back Web Functional Scripts with Iterations
5.4
Modifying Scripts
5.4.1
Adding Browser Navigation to a Script
5.4.2
Adding Web Actions on Browser Objects
5.4.3
Adding Object Libraries to a Script
5.4.4
Adding a Server Response Test
5.4.5
Adding Text Matching Tests to a Script
5.4.6
Adding Object Tests
5.4.7
Adding Table Tests
5.4.8
Adding a Wait for Page
5.4.9
Inspecting Object Paths
5.4.10
Setting Script Properties
5.4.11
Substituting Databank Variables
5.5
Editing Object Libraries
5.5.1
Using the Web Functional Test Module API
6
Using the HTTP Module
6.1
About the HTTP Module
6.1.1
Key Features of the HTTP Module
6.2
Navigation Editing (Correlation)
6.2.1
Setting Correlation Preferences
6.2.2
Adding Correlation Libraries
6.2.3
Adding and Editing Correlation Rules
6.2.3.1
Client Set Cookie
6.2.3.2
Correlate Cookie Header
6.2.3.3
Correlate Header
6.2.3.4
Correlate Referer Header
6.2.3.5
DOM Correlation Rules
6.2.3.6
Function/Text Substitution Rules
6.2.3.7
Substitute Recorded Date
6.2.3.8
Variable Substitution Rules
6.2.3.9
XML DOM Correlation Rules
6.3
Recording Scripts
6.3.1
Setting HTTP Record Preferences
6.3.2
Recording a New HTTP Script
6.4
Playing Back Scripts
6.4.1
Setting HTTP Playback Preferences
6.4.2
Playing Back HTTP Scripts
6.4.3
Playing Back HTTP Scripts With Iterations
6.4.4
Viewing Script Playback Results
6.4.5
Resetting Encoding
6.4.6
Comparing Recorded/Playback Results
6.4.7
Playing Back HTTP Scripts In Oracle Load Testing
6.4.8
Posting Binary or XML File Data
6.5
Modifying Scripts
6.5.1
Understanding the HTTP Module Script View
6.5.2
Using Script Variables
6.5.3
Adding a Variable to a Script
6.5.4
Adding a Solve XPath to a Script
6.5.5
Finding a Variable in a Script
6.5.6
Deleting Variables from a Script
6.5.7
Adding Authentication to a Script
6.5.8
Adding Text Matching Tests to a Script
6.5.9
Adding Server Response Tests to a Script
6.5.10
Substituting Databank Variables
6.5.11
Substituting Post Data Variables
6.5.12
Adding a Cookie to a Script
6.5.13
Removing a Cookie From Script
6.5.14
Adding a User Agent to a Script
6.6
Adding Navigation
6.6.1
Understanding Navigation Editing (Correlation)
6.6.2
Adding HTTP Get Navigation
6.6.3
Adding HTTP Post Navigation
6.6.4
Adding an HTTP Multipart Post Navigation
6.6.5
Adding an HTTP XML Post Navigation
6.6.6
Using the HTTP Module API
7
Using the Oracle EBS/Forms Functional Test Module
7.1
About the Oracle EBS/Forms Functional Test Module
7.1.1
Key Features of the Oracle EBS/Forms Functional Test Module
7.1.2
Prerequisites
7.2
Recording Oracle EBS/Forms Functional Tests
7.2.1
Setting Oracle EBS/Forms Functional Test Record Preferences
7.2.2
Adding/Editing Object Identifiers
7.2.3
Recording Oracle EBS/Forms Functional Test Scripts
7.3
Playing Back Scripts
7.3.1
Setting Oracle EBS/Forms Functional Test Playback Preferences
7.3.2
Playing Back Oracle EBS/Forms Functional Scripts
7.3.3
Playing Back Oracle EBS/Forms Functional Scripts with Iterations
7.4
Modifying Scripts
7.4.1
Adding Forms Actions
7.4.2
Using the Oracle EBS/Forms Functional Test Module API
8
Using the Oracle EBS/Forms Load Test Module
8.1
About the Oracle EBS/Forms Load Test Module
8.1.1
Key Features of the Oracle EBS/Forms Load Test Module
8.1.2
Prerequisites
8.2
Recording Oracle EBS/Forms Load Tests
8.2.1
Setting Oracle EBS/Forms Load Test Record Preferences
8.2.2
Recording Oracle EBS/Forms Load Test Scripts
8.3
Playing Back Scripts
8.3.1
Setting Oracle EBS/Forms Load Test Playback Preferences
8.3.2
Playing Back Oracle EBS/Forms Load Scripts
8.3.3
Playing Back Oracle EBS/Forms Load Scripts with Iterations
8.4
Modifying Scripts
8.4.1
Adding Forms Actions
8.4.2
Converting Forms Actions to XML Messages
8.4.3
Using the Oracle EBS/Forms Load Test Module API
8.5
Setting Oracle EBS/Forms Load Test Correlation Preferences
8.6
Oracle EBS/Forms Load Test Correlation Library
8.7
Troubleshooting Oracle EBS/Forms Load Test Scripts
8.7.1
Debugging Using the Message Log
8.7.1.1
During Recording
8.7.1.2
Format of the Recorded Log
8.7.1.3
During Playback
8.7.1.4
After Playback
8.7.2
Analyzing Message Logs
8.7.3
Resolving "Component does not exist" Errors
8.7.4
Troubleshooting Forms ifError Messages
9
Using the Oracle Fusion/ADF Functional Test Module
9.1
About the Oracle Fusion/ADF Functional Test Module
9.1.1
Prerequisites
9.1.2
Key Features of the Oracle Fusion/ADF Functional Test Module
9.2
Configuring the ADF Server
9.2.1
Configuring the WEB-INF/web.xml File
9.2.2
Configuring the trinidad-config.xml File
9.3
Recording Oracle Fusion/ADF Functional Tests
9.3.1
Recording Oracle Fusion/ADF Functional Test Scripts
9.4
Playing Back Scripts
9.4.1
Playing Back Oracle Fusion/ADF Functional Scripts
9.4.2
Playing Back Oracle Fusion/ADF Functional Scripts with Iterations
9.5
Modifying Scripts
9.5.1
Adding Fusion/ADF Actions
9.6
Oracle Fusion/ADF Functional Test Module API
10
Using the Oracle Fusion/ADF Load Test Module
10.1
About the Oracle Fusion/ADF Load Test Module
10.1.1
Key Features of the Oracle Fusion/ADF Load Test Module
10.2
Recording Oracle Fusion/ADF Load Tests
10.2.1
Recording Oracle Fusion/ADF Load Test Scripts
10.3
Playing Back Scripts
10.3.1
Playing Back Oracle Fusion/ADF Load Scripts
10.3.2
Playing Back Oracle Fusion/ADF Load Scripts with Iterations
10.4
Setting Oracle Fusion/ADF Load Test Correlation Preferences
10.5
Oracle Fusion/ADF Load Test Correlation Library
10.6
Oracle Fusion/ADF Load Test Module API
11
Using the Web Services Module
11.1
About the Web Services Module
11.1.1
Key Features of the Web Services Module
11.2
Creating Web Services Scripts Using WSDL Manager
11.2.1
Creating the Web Services Script Tree
11.2.2
Adding WSDL Files to the WSDL Manager View
11.2.3
Adding Methods to the Script Tree
11.2.4
Editing Method Parameters in the Details View
11.3
Modifying Scripts
11.3.1
Adding a Web Services Post Navigation
11.3.2
Adding a Text Matching Test
11.3.3
Adding Security Extensions
11.3.4
Adding Attachments
11.4
Recording Web Services Scripts
11.4.1
Setting Web Services Record Preferences
11.4.2
Recording Web Services Scripts
12
Using the Siebel Functional Test Module
12.1
About the Siebel Functional Test Module
12.1.1
Key Features of the Siebel Functional Test Module
12.2
Functional Testing Siebel Applications
12.2.1
Prerequisites
12.2.2
Setting up the Siebel Test Environment
12.2.3
Enabling Siebel Test Automation
12.2.3.1
Siebel 7.x
12.2.3.2
Siebel 8.x
12.2.4
Script Creation Techniques
12.2.5
Setting Browser Options
12.2.6
Starting the Siebel Application
12.2.7
Determining a Siebel Component Type
12.3
Recording Siebel Functional Test Scripts
12.3.1
Setting Siebel Functional Test Record Preferences
12.3.2
Adding/Editing SI Element and Site Map Link Paths
12.3.3
Adding/Editing Object Identifiers
12.3.4
Recording Siebel Functional Test Scripts
12.4
Modifying Scripts
12.4.1
Adding Siebel Actions
13
Using the Siebel Load Test Module
13.1
Load Testing Siebel Applications
13.1.1
Prerequisites
13.1.2
Setting Up Siebel Load Test Environments
13.1.2.1
Basic Configuration
13.1.2.2
Floating Load Balancing Test Server
13.1.2.3
Clustered Web Server Configuration
13.1.2.4
Clustered Siebel Servers Configuration
13.1.2.5
Clustered Database Server Configuration
13.1.3
Siebel Correlation Library
13.1.4
Script Creation Techniques
13.1.5
Recording Scripts for Load Tests
13.1.6
Starting the Siebel Application
13.1.7
Playing Back Scripts
13.1.8
Resolving Script Issues
13.1.8.1
Siebel Entities to Parameterize
13.1.9
Using Databanks with Siebel
13.1.10
Preparing the Siebel Server Manager Commands
13.1.10.1
Creating the Batch File
13.1.10.2
Creating the Command Input File
13.1.10.3
Siebel Statistics
13.1.10.4
Batch File Location
13.1.11
Defining ServerStats Metrics
13.1.12
Defining a ServerStats Configuration
13.1.13
Importing Pre-Configured Metrics and Profiles to Oracle Load Testing
13.1.14
Running Load Tests in the Oracle Load Testing Console
13.1.14.1
Viewing VU Grid
13.1.14.2
Viewing ServerStats
13.1.15
Generating Graphs and Reports Using Oracle Load Testing
13.1.15.1
Creating Custom Runtime Graphs
13.1.15.2
Creating Custom Reports
13.2
Setting Siebel Correlation Preferences
13.3
Siebel Correlation Library
13.4
Siebel Script Functions
14
Using the Utilities Module
14.1
About the Utilities Module
14.1.1
Key Features of the Utilities Module
14.2
Using Text File Processing
14.2.1
Reading Lines of Text from a File
14.2.2
Reading Text from a CSV File
14.2.3
Reading Text from an XML File
14.3
Getting Values from a Database
14.4
Using the XPath Generator
15
Using the Shared Data Module
15.1
About the Shared Data Module
15.1.1
Key Features of the Shared Data Module
15.2
Setting Shared Data Preferences
15.3
Using the Shared Data Service
15.3.1
Enabling the Shared Data Service
15.3.2
Setting the Password Encryption
15.3.3
Setting the Connection Parameters
15.3.4
Using The Shared Data API
A
Command Line Reference
A.1
Specifying Command Line Settings
A.2
Supported Agent Command Line Settings
A.2.1
General Settings
A.2.2
Browser Settings
A.2.3
HTTP Settings
A.2.3.1
Proxy
A.2.3.2
Compression
A.2.3.3
Headers
A.2.3.4
Connections
A.2.3.5
Other
A.2.3.6
Download Manager
A.2.4
Functional Test Settings
A.2.5
Oracle EBS/Forms Functional Test Settings
A.2.6
Oracle EBS/Forms Load Test Settings
A.2.7
Shared Data Settings
A.2.8
Web Functional Test Settings
A.2.9
Error Recovery Settings
A.2.9.1
General
A.2.9.2
Functional Testing
A.2.9.3
HTTP
A.2.9.4
Oracle EBS/Forms Functional Testing
A.2.9.5
Oracle EBS/Forms Load Testing
A.2.9.6
Web Functional Testing
A.2.9.7
Utilities
B
Error Message Reference
B.1
Basic Module Error Messages
B.1.1
General Script Exceptions
B.1.2
Binary Decoding Exceptions
B.1.3
Script Creation Exceptions
B.1.4
Segment Parser Exceptions
B.1.5
Script Service Exceptions
B.1.6
URL Encoding Exceptions
B.1.7
Variable Exceptions
B.2
Platform Error Messages
B.2.1
Browser Exceptions
B.2.2
SSL Exceptions
B.2.3
TCP Exceptions
B.2.4
HTTP Exceptions
B.3
HTTP Error Messages
B.3.1
HTTP Service Exceptions
B.4
Oracle Forms Load Test Error Messages
B.4.1
Connect Errors
B.4.2
I/O Errors
B.4.3
Match Errors
B.4.4
Component Not Found Errors
B.4.5
Playback Errors
B.5
Shared Data Error Messages
B.5.1
Shared Data Exceptions
B.6
Siebel Error Messages
B.6.1
Siebel Exceptions
B.7
Web Error Messages
B.7.1
Web Service Exceptions
C
Troubleshooting
C.1
Installation
C.2
OpenScript Script Execution in Oracle Test Manager
C.3
Manual Installation of Firefox Extension
D
Third-Party Licenses
Index
Scripting on this page enhances content navigation, but does not change the content in any way.