Testing Siebel Business Applications > Siebel Test Automation Execution >

Executing the Automation Batch Run


This topic describes the steps involved in executing the automation batch run. You can proceed with this task after adding the recorded scripts to the test sets and creating a MasterSuite with the test scripts.

To execute the batch run automation

  1. Click New.

    The Test Run # field value is auto populated and the default value for the Status field will be displayed as "Hold".

  2. Select the Master Suite using the Master Suite Id field and select the Application Version.
  3. Save the Record.
  4. Select the Client Operating system. For example, Windows, Android or iOS.
  5. Save the record.
  6. Check if the values for the Server Credentials and User List are populated.
  7. Select the Client Operating System as Windows (if it is a normal desktop run).
  8. Enter the Client IP address if you have chosen the operating system as iOS.
    1. If the Operating System (OS) is iOS, enter the value for the Client IP Address, MAC Machine Username, MAC Machine Password and Mobile Port fields.
    2. Before running the scripts on a Mobile platform, ensure that the plink.exe and psexec.exe files are available in the "..\DISA\DesktopIntSiebelAgent\plugins\SiebelTestAutomation\Framework\exe" location.
    3. After running the scripts, the results will be displayed in the Firefox browser. The recommended version for the FireFox browser is 31.4esr.
  9. Update the Application Type, OS and URL in the Server Credentials applet.
  10. Update the password in the User List applet.
  11. Review the record.
  12. Click Schedule Run.

After you click the Scheduled Run button, the record status will be changed to "Requested" and the following files must be available in the Attachments applet:

  • batchconfig.xml
  • MasterSuite.csv
  • Resources.zip (If the Resources.zip is available in the Master Suite Attachments applet).

Once the scheduled run is completed, the Siebel automation execution configuration records are updated with the appropriate status and the resultant xml files are added as attachments.

NOTE:  You can use the Master Suite and Test Scripts available in the sample database for a batch run.

The following table provides you with the list of the scripts available in the sample database.

Table 21.
Master Suite
Test Set
Sequence
Test Scripts
Description

COM_SampleDBDemo_Desktop

COM_Sample DB_ABOFlows

1

COM_SampleDB_NewOrderFlow

Ron Weasley is a residential customer looking for a good deal on a new family wireless plan. Ron calls the wireless carrier for a quotation. The contact center agent looks up Ron Weasley's account, browses the product catalog, selects the best family wireless package and offers three new phones for Ron's family at varying price points.

2

COM_SampleDB_UpdateOrder

David Smith is an existing residential customer who has a family wireless plan. David calls the wireless carrier to add additional lines to his family package. Contact Center agent looks up David Smith's account and adds 5 new lines to David's account. The CRM system notifies the agent that David's current package is limited to 4 lines. The agent adds 3 new lines as one line is already associated to David, selects the options for text messages, data plan and reviews the order details with David.

3

COM_SampleDB_DebundlePromotion

David is an existing residential customer who has a family wireless plan. David calls the wireless carrier to remove his spouse from the family package and make it an individual plan.

 

 

4

COM_SampleDB_UpgradePromotionFlow

Suzie Harera is a residential customer who has a basic quad play bundle - Internet, TV, Home Phone and Wireless Phone. Suzie calls the contact center to upgrade to a premium quad play bundle.

COM_SampleDB_BulkOrder

1

COM_SampleDB_BulkOrder_NewOrderFlow

Axiom Financial Group is a business customer that purchases 50 wireless service plans with pre-assigned numbers from the Communication Service Provider's Account Manager. The Account Manager connects to the CSP's commerce application, creates an account list, and places a bulk order to onboard 50 new users. Alternatively, Axiom Financial Group requests an optional feature "WLAN Subscription" to be added for 20 of its loyal users. Competitive pressure requires the communication service provider to upgrade all Promo 60 plan customers to Promo 120 plan.

2

COM_SampleDB_BulkOrder_ModifyFlow

3

COM_SampleDB_BulkOrder_UpgradeOrderFlow

 

COM_SampleDB_ProductOffer

1

COM_SampleDB_ProductOffer_Data Setup

Communication Service Provider creates a targeted mass market offer across varying channels (Web, Retail store, SMS). Customer accepts the offer(s) using a single click: offer to add free worldwide calls to their current wireless package at a 50% discount during the holiday season, upgrade their SMS package to higher package or auto-renew their contract.

2

COM_SampleDB_ProductOffer_ModifyAdd

3

COM_SampleDB_ProductOffer_ModifyReplace

4

COM_SampleDB_ProductOffer_ModifyUpgrade

COM_SampleDB_PG_Flows

1

COM_SampleDB_PG_Data_Setup_1

Product administrator verifies the community offer (promotion group) defined in the system using Siebel administrator (SADMIN)login.

PG Scenario 3 is disconnects a Silver Participant membership and Nation 550 Minutes bundle promotion for PGA2 child account and it also disconnects the entire promotion group from PGA1 account.

 

COM_SampleDB_PG_Data_Setup_2

2

COM_SampleDB_PG_Scenario_1

3

COM_SampleDB_PG_Scenario_2

5

COM_SampleDB_PG_Scenario_3

COM_SampleDBDemo_Telco

COM_SampleDB_Telco_Desktop

1

COM_SampleDB_Telco_DataSetupFlow

CitiExpress is a business customer. Tim is a B2B sales rep for a leading Communication Service Provider (CSP). CitiExpress is Tim's customer with a wireless contract for 1000 employees. CitiExpress wants to change the barring options for 4 of their employees' phones and change the SIM number for an employee who had recently lost his phone. Tim connects to CSP's commerce application, searches for his customer, and place an order to change the barring options and change the SIM card number.

COM_SampleDB_Telco_Mobile

1

COM_SampleDB_Telco_ChangeSIM_Messages

2

COM_SampleDB_Telco_SelectAll_Remove

3

COM_SampleDB_Telco_ChangeSIM_SubmitOrder

4

COM_SampleDB_Telco_AddRemove_Flow1

5

COM_SampleDB_Telco_AddRemove_Flow2

6

COM_SampleDB_Telco_DataCleanUp

COM_SampleDBDemo_Mobile

COM_SampleDB_PartnerCommerce

1

COM_SampleDB_PartnerCommerce_NewOrder

Samuel Crenshaw is a partner user and places an order on the wireless carrier's partner portal. Samuel uses his iPad to login to the partner portal, browses the partner catalog, compares product attributes and prices, adds the best product to his cart, selects and configures options and places an order on behalf of his customer.

 

2

COM_SampleDB_PartnerCommerce_Compare

 

COM_SampleDB_eSales

1

COM_SampleDB_eSales_ERIGBYLogin

Kate Allison is shopping for a high speed Internet, TV and long distance phone service for her home. Kate uses her iPad to navigate to the communication service provider's web store, browses the product catalog and adds the standard triple play package to her shopping cart. Kate completes the new user registration form, reviews the shipping and pricing details and submits an order.

Eleanor Rigby is a business user and logs in to the communication service provider's web store to track the orders placed on behalf of her company. Additionally, Eleanor registers and administers other users of her company.

2

COM_SampleDB_eSales_Flow1

Demo Flow for Service Request

Service Request Test Set

1

Workflow Activation

Eric Hess is an existing customer, who calls up to the customer care to raise a service request, that could be a problem related to products or services purchased from the company. Tim Malone the call center agent receives the call and creates an SR for the issue raised by the customer. Tim enters the required details to the SR including description, asset details, contact details, etc.

2

Create SR

3

Associate Product

4

Update SR

 

 

5

Check Entitlements

Tim checks customer's entitlements for the service. Once done, he looks for the possible solution for the issue raised by the customer and adds the solution to the SR. He decides that a field engineer needs to visit the customer site, so he creates an activity and assign it to an appropriate field engineer to fix the problem.

6

Associate Asset

7

Associate Entitlements

8

Associate Solution

9

Add Activity Plan

10

Delete Data

Delete all the newly created data from the environment.

Table 22. The below lists the scripts requiring maintenance.
Sl #
Script Name / Action to be performed
Test Step #
Current Data
Proposed Change

1

Script - COM_SampleDB_Telco_ChangeSIM_SubmitOrder

34

Row Number is NULL

Row Number > Active_Record

2

Script - COM_SampleDB_Telco_DataSetupFlow

 

Action ->Update

1

Component Alias > Siebel Power Communications

Component Alias >Siebel Power Communications_Setup

 

Action ->Insert @ Test Step #26

27

Click on New and enter the below values.

Keyword ->HierarchicalList

Applet RN - > Order Entry - Line Item List Applet (Sales)

Row # -> 2

Action -> Expand

Variable ->NULL

Save the record

NOTE- Select Renumber from the Menu.

 

Action ->Insert @ Test Step #108

109

Click on New and enter the below values.

Keyword ->HierarchicalList

Applet RN - > Order Entry - Line Item List Applet (Sales)

Row # -> 2

Action -> Expand

Variable ->NULL

Save the record

NOTE- Select Renumber from the Menu.

 

Action ->Insert @ Test Step #133

134

Click on New and enter the below values

Keyword ->HierarchicalList

Applet RN - > Order Entry - Line Item List Applet (Sales)

Row # -> 2

Action -> Expand

Variable ->NULL

Save the record

NOTE- Select Renumber from the Menu.

3

Script - COM_SampleDB_Telco_ChangeSIM_Messages

 

 

 

 

Action ->Update

1

User Name > ANTHYAGA

User Name > SADMIN

 

Action ->Update

22

ExpectedMessageSubstring> Unable to complete SIM Swap. There is a stolen or admin bar for the selected service. Remove the stolen or admin bar to continue with your request.(SBL-ORD-51426)

ExpectedMessageSubstring > "Unable to complete SIM Swap. There is a stolen or admin bar for the selected service. Remove the stolen or admin bar to continue with your request."(SBL-ORD-51426)

4

Script - COM_SampleDB_Telco_SelectAll_Remove

Action ->Update

12

Item RN >Select All|Select All

Item RN > SelectAll|Select All

Action ->Update

13

End Action >OK

End Action > NULL

Action ->Update

14

Item RN >Select All|Select All

Item RN > SelectAll

Action ->Update

22

Item RN >Select All|Select All

Item RN > SelectAll

Action ->Update

24

Item RN >Select All|Select All

Item RN > SelectAll

5

Script - COM_SampleDB_Telco_ChangeSIM_SubmitOrder

 

Action ->Update

34

Row Number is NULL

Row Number > Active_Record

6

Script - COM_SampleDB_Telco_AddRemove_Flow2

Action ->Update

4

Value>TelcoExpress_05252017_22343988

Value>@TelcoAccName

Action ->Update

6

Value>TelcoExpress_05252017_22343988

Value>@TelcoAccName

Action ->Update

9

ItemRN> Select All

ItemRN > SelectAll

Action ->Update

11

ItemRN> Select All

ItemRN > SelectAll

Action ->Update

13

ItemRN> Action

ItemRN> Product Name

 

Action ->Insert @ Test Step #8

9

Click on New and enter the below values.

Keyword ->ClickButton

Applet RN- >TOUI AssignBar Buttons

ItemRN -> Cancel Request

End Action -> NULL

Save the record

NOTE- Select Renumber from the Menu.

Action ->Insert @ Test Step #9

10

Click on New and enter the below values.

Keyword - > ClickLink

Applet RN -> TOUI CustDash Action Launchpad

ItemRN ->Expand Applet

Value/Variable -> NULL

Save the record

NOTE - Select Renumber from the Menu.

 

 

Action ->Insert @ Test Step #10

11

Click on New and enter the below values

Keyword -> ClickButton

Applet RN -> TOUI CustDash Action Launchpad

Item RN -> AddRemoveBar

EndAction -> NULL

Save the record

NOTE - Select Renumber from the Menu.

Action ->Insert @ Test Step # 21

22

Click on New and enter the below values

Keyword -> SortColumn

Applet RN -> TOUI AssignBar Order Items

Item RN -> Service Id

Sorting Order -> Asc

Save the record.

NOTE - Select Renumber from the Menu.

7

Script - COM_SampleDB_PartnerCommerce_Compare

Action ->Update

6

ItemRN>Select All

ItemRN> SelectAll

8

Script - COM_SampleDB_eSales_Flow1

 

Action ->Update

1

User Name> GUESTCST

User Name> PortalApplication

 

Action ->Update

15

Row Number > 3

Value/Variable>NULL

 

Row Number > remove value in this field.

Value/Variable>IPTV Service

 

 

Action ->Update

38

ItemRN> Select All|Select All

ItemRN> SelectAll

You can now proceed with the task of updating the other fields.

Client Operating System: Windows (if it is a desktop run).

Client Operating System :iOS (if it a mobile iOS run).

Client Operating System: Android (if it is a mobile Android run).

If the Master Suite contains Invokeperl and Serverconfig as keywords, then the Perl Path is mandatory (for example, c:\\perl\\bil\\perl.exe)

If the Master Suite contains the following Toolsconfig keywords, update the following fields:

  • Siebel Tools Machine (For example, slc10xyz)
  • Siebel Tools Path (For example, C:\Siebel\23066\Tools)
  • Siebel Tools Machine Username (For example, USERONE)
  • Siebel Tools Machine Password (For example, Any valid password).
  • Perl Path (For example, c:\\perl\\bil\\perl.exe)
  • Database: DSN name|USERNAME|PASSWORD

If the Master Suite contains Inboundwebservicecall keyword, update the following fields:

EAI: (For example, slc10xyz:16661|USERONE|pwd)

Syntax: machinename:EAI portnumber|username|password -> values are separated by pipe

If the Master Suite contains the ServerConfig keyword, you must update the following fields in the Server Credentials applet.

    • EAI Server Port (For example, 16661)
    • Server Home Path (For example, c:\23066)
    • Server Login Credentials (For example, abc10xyz:xyxyx|USERONE|PASSWORD)

      NOTE:  xyxyx is a sample representation for the port number.

    • Syntax: machinename:portnumber|username|passwrod -> values are separated by pipe.

Gateway Machine and TLS Port (For example, xab10xyz:xyyx)

NOTE:  If you come across the error message, 'HTTP Status 405: Method not allowed', this could be due to required Business Service not having the required access permission in Siebel. To resolve this, navigate to Administration Application -> Business Service Access, create a record and select "Automation Rest Service", and provide the access permissions and restart the Siebel server.

Testing Siebel Business Applications Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.