SFDC Console

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

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_ifNavigatorTabMenuSelected

Web


To check if specified tab menu option is selected as option in navigator tab menu object (mentioned in objectName). 

Param 1 : Expected Tab Menu Option

Example :

sfdcConsole_ifNavigatorTabMenuSelected : <Object : bqNavigatorTabMenu> <Tab Menu Option : bqTabMenuOption1>

Executes the further steps only if bqTabMenuOption1 is selected in object bqNavigatorTabMenu.

sfdcConsole_ifNavigatorTabMenuNotSelected

Web


To check if specified tab menu option is not selected as option in navigator tab menu object (mentioned in objectName). 

Param 1 : Expected Tab Menu Option

Example :

sfdcConsole_ifNavigatorTabMenuNotSelected : <Object : bqNavigatorTabMenu> <Tab Menu Option : bqTabMenuOption1>

Executes the further steps only if bqTabMenuOption1 is not selected in object bqNavigatorTabMenu.

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.

sfdcConsole_verifyAllOptionsInNavigatorTabMenu

Web


To verify all the options available in navigator tab menu object (mentioned in objectName).

Param 1 : Expected Comma Separated List Items

Example :

sfdcConsole_verifyAllOptionsInNavigatorTabMenu : <Object : bqNavigatorTabMenu> <Expected Comma Separated List Items : bqTabMenuOption1, bqTabMenuOption2>

Verifies that all options (bqTabMenuOption1 & bqTabMenuOption2) are displayed in navigator menu list in object bqNavigatorTabMenu.

sfdcConsole_verifyMenuItemsExistInNavigatorTabMenu

Web


To verify if specified value is displayed as option in navigator tab menu object (mentioned in objectName). 

Param 1 : Expected Comma Separated List Items

Example :

sfdcConsole_verifyMenuItemsExistInNavigatorTabMenu : <Object : bqNavigatorTabMenu> <Expected Comma Separated List Items : bqTabMenuOption1, bqTabMenuOption2>

Verifies that bqTabMenuOption1 & bqTabMenuOption2 are displayed as menu options in navigator menu list in object bqNavigatorTabMenu.

sfdcConsole_verifyMenuItemsDoNotExistInNavigatorTabMenu

Web


To verify if specified value is not displayed as option in navigator tab menu object (mentioned in objectName). 

Param 1 : Expected Comma Separated List Items

Example :

sfdcConsole_verifyMenuItemsDoNotExistInNavigatorTabMenu : <Object : bqNavigatorTabMenu> <Expected Comma Separated List Items : bqTabMenuOption1, bqTabMenuOption2>

Verifies that bqTabMenuOption1 & bqTabMenuOption2 are not displayed as menu options in navigator menu list in object bqNavigatorTabMenu.

Â