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 |
---|---|---|
sfdcConsole_closeTab
To close the tab (title mentioned in Parameter 1). | Param 1 : Tab title | Example 1 :
Closes the tab with title Tab1 |
sfdcConsole_closeSubTab
To close the sub-tab (title mentioned in Parameter 1). | Param 1 : Tab title | Example :
Closes the sub-tab with title subTab1 |
sfdcConsole_closeAllTab
To close the visible console tabs. |
| Example :
Closes the visible console tabs. |
sfdcConsole_ifNavigatorTabMenuSelected
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 :
Executes the further steps only if bqTabMenuOption1 is selected in object bqNavigatorTabMenu. |
sfdcConsole_ifNavigatorTabMenuNotSelected
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 :
Executes the further steps only if bqTabMenuOption1 is not selected in object bqNavigatorTabMenu. |
sfdcConsole_selectTab
To select the tab with title (mentioned in Parameter 1) & index (mentioned in Parameter 2). | Param 1 : Tab title | Example :
Selects the tab New Tab at index 1. |
sfdcConsole_selectSubTab
To select the sub-tab with title (mentioned in Parameter 1) & index (mentioned in Parameter 2). | Param 1 : Sub-tab title | Example :
Selects the sub-tab New Sub-Tab at index 1. |
sfdcConsole_selectNavigatorTabMenu
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 :
Selects Cases navigation menu item under object caseDropDown. |
sfdcConsole_verifyActiveTab
To verify that the active tab is the one mentioned in Parameter 1. | Param 1 : Expected active tab title | Example :
Verifies if the selected tab is Tab1. |
sfdcConsole_verifyActiveSubTab
To verify that the active sub-tab is the one mentioned in Parameter 1. | Param 1 : Expected active sub-tab title | Example :
Verifies if the selected sub-tab is subTab1. |
sfdcConsole_verifyAllOptionsInNavigatorTabMenu
To verify all the options available in navigator tab menu object (mentioned in objectName). | Param 1 : Expected Comma Separated List Items | Example :
Verifies that all options (bqTabMenuOption1 & bqTabMenuOption2) are displayed in navigator menu list in object bqNavigatorTabMenu. |
sfdcConsole_verifyMenuItemsExistInNavigatorTabMenu
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 :
Verifies that bqTabMenuOption1 & bqTabMenuOption2 are displayed as menu options in navigator menu list in object bqNavigatorTabMenu. |
sfdcConsole_verifyMenuItemsDoNotExistInNavigatorTabMenu
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 :
Verifies that bqTabMenuOption1 & bqTabMenuOption2 are not displayed as menu options in navigator menu list in object bqNavigatorTabMenu. |
Â