Sei sulla pagina 1di 17

Siebel Scripting Standards

and Best Practices

Rupesh Garg, Aruna & Krishna

2012 WIPRO LTD | WWW.WIPRO.COM | CONFIDENTIAL

Siebel Scripting Standards and Best Practices


Introduction to Siebel Scripting Standards
Siebel Architecture
Siebel Load Runner- Recording Prerequisites
Siebel Load Runner Scripting Issues & Solutions

Siebel Scripting Best Practices

2012 WIPRO LTD | WWW.WIPRO.COM | CONFIDENTIAL

Introduction to Siebel Scripting


Standards

2012 WIPRO LTD | WWW.WIPRO.COM | CONFIDENTIAL

Introduction

This PPT makes a sincere attempt to explain what the key challenges
in Siebel scripting are and what are the best practices to be followed to
avoid it. It can serve as practical guide for technical users, consultants,
and programmers who design and implement test scripts and scenarios
with Load Runner. Most of the information contained in this document
originated within one of Wipros healthcare customers and is therefore
based on "real-life" problems encountered in the field. This document
gives guidelines on virtual user script recording & playback, and
controller configuration & settings.

2012 WIPRO LTD | WWW.WIPRO.COM | CONFIDENTIAL

Siebel Architecture

2012 WIPRO LTD | WWW.WIPRO.COM | CONFIDENTIAL

Siebel Architecture

2012 WIPRO LTD | WWW.WIPRO.COM | CONFIDENTIAL

Siebel Load Runner- Recording


Prerequisites

2012 WIPRO LTD | WWW.WIPRO.COM | CONFIDENTIAL

Siebel Load Runner- Recording Prerequisites


Siebel Application Launch Prerequisite:
Siebel High Interactivity Frame Work automatically install once you
run Siebel client first time. Some user get below error after entering
userid/pwd.

2012 WIPRO LTD | WWW.WIPRO.COM | CONFIDENTIAL

Siebel Load Runner- Recording Prerequisites


Siebel Recording Setup:
Document Business Process required to be performance tested with
following details:
User Responsibility
User Position
Detailed Screen Navigations
Test Data Required for each Step
SLA for transactions.
The library file, ssdtcorr.dll, must be available to all machines where a
Load Generator, Controller, or Tuning Console resides

2012 WIPRO LTD | WWW.WIPRO.COM | CONFIDENTIAL

Siebel Load Runner Scripting Issues &


Solutions

10

2012 WIPRO LTD | WWW.WIPRO.COM | CONFIDENTIAL

Siebel LR Scripting Issues & Solutions


Issue 1: An end of file error has occurred.
Steps for Troubleshooting:
Check the script where it failed and check for the rowid.
Now go to the place in script where the web_reg_save_param () is
placed and select the succeeding request in the script.
Issue 2: The selected record has been modified by another user since it
was retrieved.
Steps for Troubleshooting:
Select the request and check for the parameter that is getting passed.
Open the Siebel Application and navigate thru the workflow to check if
the value has been already used for the particular scenario. If yes,
delete the value in Parameter file and run it.

11

2012 WIPRO LTD | WWW.WIPRO.COM | CONFIDENTIAL

Siebel LR Scripting Issues & Solutions


Issue 3:Wrong field values or value types detected in field %1. Please
re-enter your field values.
Steps for troubleshooting:
This error happens when the LR date format doesnt match with the
Siebel date format.
If the Fieldname you were searching for, is found, Check for the
values you have provided as input.
Issue 4:We detected an Error which may have occurred for one or
more of the following reasons. We are unable to process your request.
Steps for troubleshooting:
This error happens due to difference in SWEC values or uncorrelated
SWEC values.
Make sure that you correlate the SWEC values and use it in
subsequent requests or follow the addition approach used in LR.
12

2012 WIPRO LTD | WWW.WIPRO.COM | CONFIDENTIAL

Siebel Scripting Best Practices

13

2012 WIPRO LTD | WWW.WIPRO.COM | CONFIDENTIAL

Siebel Scripting Best Practices(i)


Ensure User Setup and Test Data setup is completed before
commencing test scripts development.
Ensure User Responsibilities and positions are intact to access
required screens and data. Parameterize the data specific to user
profile. Do not use the Admin responsibility, if it is not required for
scripts development or execution.
Define Search /Query criteria inline to business needs, response
times significantly vary depending on Fields populated and values
used to populate the fields, User responsibility and Position
Ensure at least one record present all default views -> list applets /
form applets before commencing test scripts development.
Ensure following data fields are either correlated or parameterized.
Unique Constraints
Data Dependent Fields
Date and Time Zone Fields
Search / Query Fields
14

2012 WIPRO LTD | WWW.WIPRO.COM | CONFIDENTIAL

Siebel Scripting Best Practices(ii)


Ensure Think times and Pacing are intact with Seibel Session
timeout value.
In List Applet, ensure columns displayed, order of columns displayed
same as what was record. Otherwise, scripts will fail.
If possible, restart the Siebel Services in between the performance
tests to clear any orphan sessions.
Ensure that environment configured as close as possible to
production.
Ensure all Actions are independent and do not dependent on data
correlated in previous Action. Start and Stop all the actions by
Clicking on Sitemap.
Reset the SWE Count to the SWEC value in beginning of each
iteration. Otherwise it may throw Back or Refresh Error.

15

2012 WIPRO LTD | WWW.WIPRO.COM | CONFIDENTIAL

Siebel Scripting Best Practices(iii)

Ensure that all the Row ID parameters are correlated or


parameterized. Otherwise it may throw errors End of file Error
occurred, Cant locate record or Restoring the context error.
Ensure multiple users are not updating the same record at same
time. This will result in concurrency errors.
If you decide to correlate the Siebel Dynamic values manually then,
make sure that you use star array for correlating SWERowid
appearing in the script. Because, the star array would have all the
necessary details about the record manipulated/selected. There will
be also a same value appearing with `i` as Left Boundary and ` as
right boundary which would not be suitable for correlation in rare
cases.

16

2012 WIPRO LTD | WWW.WIPRO.COM | CONFIDENTIAL

Aruna & Krishna


Performance Test Engineers

17

2012 WIPRO LTD | WWW.WIPRO.COM | CONFIDENTIAL

Potrebbero piacerti anche