Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The SFDC Console keywords are some action keywords that can be used within the Salesforce application.

Suppose you wish to login to the SFDC app, close all the previously launched tabs and select a specific item from the navigation dropdown.

Structure :

launchApp <parameter>

sfdcConsole_closeAllTab

sfdcConsole_selectNavigatorTabMenu <parameter>

Action

Parameter

Example Usage

sfdcConsole_closeTab

Web


To close the tab (title mentioned in Parameter 1).

Param 1 : Tab title
Param 2 (Optional) : Tab index

Example 1 :

sfdcConsole_closeTab : <Title : Tab1> <Tab Index : >

Closes the tab with title Tab1

sfdcConsole_closeSubTab

Web


To close the sub-tab (title mentioned in Parameter 1).

Param 1 : Tab title
Param 2 (Optional) : Tab index

Example :

sfdcConsole_closeSubTab : <Title : subTab1> <Tab Index : >

Closes the sub-tab with title subTab1

sfdcConsole_closeAllTab

Web


To close the visible console tabs.

Example :

sfdcConsole_closeAllTab

Closes the visible console tabs.

sfdcConsole_selectTab

Web


To select the tab with title (mentioned in Parameter 1) & index (mentioned in Parameter 2).

Param 1 : Tab title
Param 2 (Optional) : Tab index

Example :

sfdcConsole_selectTab : <Tab Title : New Tab> <Tab Index : 1>

Selects the tab New Tab at index 1.

sfdcConsole_selectSubTab

Web


To select the sub-tab with title (mentioned in Parameter 1) & index (mentioned in Parameter 2).

Param 1 : Sub-tab title
Param 2 : Sub-tab index

Example :

sfdcConsole_selectSubTab : <Sub-Tab Title : New Sub-Tab> <Sub-Tab Index : 1>

Selects the sub-tab New Sub-Tab at index 1.

sfdcConsole_selectNavigatorTabMenu

Web


To select the navigation menu item (mentioned in Parameter 1) under object (element name mentioned in object name). 

Param 1 : SFDC Navigation Menu item

Example :

sfdcConsole_selectNavigatorTabMenu : <Object : caseDropDown> <SFDC Navigation Menu : Cases>

Selects Cases navigation menu item under object caseDropDown.

sfdcConsole_verifyActiveTab

Web


To verify that the active tab is the one mentioned in Parameter 1.

Param 1 : Expected active tab title

Example :

sfdcConsole_verifyActiveTab : <Title : Tab1>

Verifies if the selected tab is Tab1.

sfdcConsole_verifyActiveSubTab

Web


To verify that the active sub-tab is the one mentioned in Parameter 1.

Param 1 : Expected active sub-tab title

Example :

sfdcConsole_verifyActiveSubTab : <Title : subTab1>

Verifies if the selected sub-tab is subTab1.

Grid

clickLinkInGridRelative

Web


Param 1 :
Param 2 :

Example :

copyCellValueInGridRelative

Web


Param 1 :
Param 2 :

Example :

clickInGrid

Web


Param 1 :
Param 2 :

Example :

clickInGridRelative

Web


Param 1 :
Param 2 :

Example :

clickLinkInGrid

Web


Param 1 :
Param 2 :

Example :

copyCellValueFromGrid

Web


Param 1 :
Param 2 :

Example :

copyGridRowCount

Web


Param 1 :
Param 2 :

Example :

copyGridColumnCount

Web


Param 1 :
Param 2 :

Example :

deSelectCheckboxInGrid

Web


Param 1 :
Param 2 :

Example :

deSelectCheckboxlValueInGridRelative

Web


Param 1 :
Param 2 :

Example :

selectCheckboxInGridRelative

Web


Param 1 :
Param 2 :

Example :

selectCheckboxInGrid

Web


Param 1 :
Param 2 :

Example :

setValueInEditor

Web


Param 1 :
Param 2 :

Example :

verifyCellValueInGridRelative

Web


Param 1 :
Param 2 :

Example :

verifyCellValueInGrid

Web


Param 1 :
Param 2 :

Example :

verifyLinkExistsInAllGridRelative

Web


Param 1 :
Param 2 :

Example :

verifyCellValueInAllGrid

Web


Param 1 :
Param 2 :

Example :

verifyCellValueInAllGridRelative

Web


Param 1 :
Param 2 :

Example :

verifyGridRowCount

Web


To verify if the total number of rows in the table (table mentioned in Object Name) is value mentioned in parameter 1.

Param 1 : Expected total number of rows

Example :

verifyGridRowCount : <Object : companyTable> <Total Rows : 15>

Verifies if the total number rows in grid companyTable is 15.

verifyGridColumnCount

Web


To verify if the total number of columns in the table (table mentioned in Object Name) is value mentioned in parameter 1.

Param 1 : Expected total number of columns

Example :

verifyGridColumnCount : <Object : companyTable> <Total Rows : 15>

Verifies if the total number columns in grid companyTable is 15.