Salesforce.com

Overview

Salesforce.com is a cloud-based Customer Relationship Management (CRM) and Sales Force Automation (SFA) platform that is delivered as a Software as a Service (CRM) solution. It provides companies with an interface for case management and task management, and a system for automatically routing and escalating important events.

salesforce_dashboard

Rapise provides out of the box support for testing Salesforce.com and provides additional libraries for making the testing even easier and more productive.

Recording a Salesforce.com Test

Salesforce.com is completely web-based and you use a web browser to access the user interface. Therefore when recording a test using Rapise, you use the same web browser libraries that you use to record other web tests:

When you record your first test, you'll see the following library selection code generated automatically by Rapise:

g_load_libraries=["%g\_browserLibrary:Internet Explorer HTML%", "DomSalesforce"];

If you don’t see the DomSalesforce library listed in your test, then you will need to manually change it using the [ ] Libraries button on the tool menu.

Tips for Interacting with Objects

Many of the screens in Salesforce.com use simple HTML form fields such as text boxes, dropdown lists, etc.:

salesforce_fields

Rapise will recognize these objects using the standard web browser HTML libraries.

Salesforce.com Grid One of the the most important UI elements inside Salesforce.com is the sortable, filterable grid:

salesforce_grid

The Salesforce.com Grid is used in lots of different screens inside Salesforce.com (e.g. leads, quotes, etc.) and it is very common to need to interact with it in test scripts.

When you record operations on such a grid or simply learn the entire grid using CTRL+2 you will learn the SalesforceGrid object In additional to the standard HTML object methods and properties, you have the following special functions that you can perform on the grid:

See Also