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. |
Grid
Action | Parameter | Example Usage |
---|---|---|
clickInGrid
To click the cell at Column Name or Index (mentioned in Parameter 1) & Row Index (mentioned in Parameter 2). | Param 1 : Name or Index of Column | Example :
Clicks in cell at Column Col1 & row 3 in table bqTable. |
clickInGridRelative
To perform the click operation in the table object (mentioned in Object Name) cell with column (mentioned in Parameter 3) at row identified by source column name (mentioned in Parameter 1) and column value (mentioned in Parameter 2) with which the row has to identified. | Param 1 : Header of the Source Column Header | Example :
Clicks on the cell in column Action where row number needs to be found dynamically, with column CASE NUMBER and value 000020012 in bqTable. |
clickLinkInGrid
To click the link (name or index mentioned in Parameter 3) located at Column (Name or Index mentioned in Parameter 1) and Row index (mentioned in Parameter 2). | Param 1 : Name or Index of Column | Example :
Clicks the second link located at Column Col1 and row 3 in table bqTable. |
clickLinkInGridRelative
To click the link (link name or link index mentioned in Parameter 4) located at (Column Name mentioned in Parameter 3) and Row number will be identified by value (mentioned in Parameter 2) under column (mentioned in Parameter 1). | Param 1 : Name of the Source Column | Example :
Clicks second link located at Column Col2 and row where value is 000000027 under column Col1 in table bqTable. |
copyCellValueFromGrid
To copy the cell value at column (mentioned in Parameter 1) & row (mentioned in Parameter 2) in variable (mentioned in Parameter 3) for table (mentioned in object name). | Param 1 : Name or index of Source Column | Example :
Copies cell value in bqVariable from table bqTable for column Organization for row number 3. |
copyCellValueInGridRelative
To copy the cell value at column (mentioned in Parameter 3) & row identified by source column (mentioned in Parameter 1) and cell value (mentioned in Parameter 2), in (variable mentioned in Parameter 4) from table (mentioned in object name). | Param 1 : Name of Source Column | Example :
Copies cell value in variable bqVariable from table bqTable for column Organization & row number identified with source column Status with value Running |
copyGridRowCount
To copy the total number of rows inside the table (mentioned in Object Name) into variable (mentioned in parameter 1). | Param 1 : Variable name to store the value | Example :
Copies the total number of rows inside the table companyTable into variable rowCount. |
copyGridColumnCount
To copy the total number of columns inside the table (mentioned in Object Name) into variable (mentioned in parameter 1). | Param 1 : Variable name to store the value | Example :
Copies the total number of columns inside the table companyTable into variable colCount. |
deSelectCheckboxInGrid
To de-select the checkbox (index mentioned in Parameter 3, by default it is 1) with column (mentioned in Parameter 1) and row index (mentioned in Parameter 2). | Param 1 : Name of Source Column | Example :
De-selects second checkbox in column Case Number and row 4 in table bqTable. |
deSelectCheckboxlValueInGridRelative
To de-select the checkbox (index mentioned in Parameter 3, by default it is 1) with row number identified by value (mentioned in Parameter 2) under column (mentioned in Parameter 1). | Param 1 : Name of Source Column | Example :
De-selects second checkbox in row identified with value 000000027 under column Col1 in table bqTable. |
selectCheckboxInGrid
To select the checkbox (index mentioned in Parameter 3, by default it is 1) with column (mentioned in Parameter 1) & row number (mentioned in Parameter 2). | Param 1 : Name of Source Column | Example :
Selects second checkbox in column Case Number and row 4 in table bqTable. |
selectCheckboxInGridRelative
To select the checkbox (index mentioned in Parameter 3, by default it is 1) with Row number identified by value (mentioned in Parameter 2) under column (mentioned in Parameter 1). | Param 1 : Name of Source Column | Example :
Selects the second checkbox in row identified with value is 000000027 under column Col1 in table bqTable. |
setValueInEditor
To enter the value (mentioned in Parameter 1) in editor object (mentioned in objectName). | Param 1 : Value to set | Example :
Sets bqurious in editor bqEditor |
verifyCellValueInGrid
To verify that the cell in column (mentioned in Parameter 1) and row number (mentioned in Parameter 2) has value (mentioned in Parameter 3). | Param 1 : Name or Index of the Source Column | Example :
Verifies that the cell at column Col1 and row number 4 has value 000000027, in table bqTable. |
verifyCellValueInGridRelative
To verify that the cell in column (mentioned in Parameter 3) and row identified with column (mentioned in Parameter 1) and row value (value mentioned in Parameter 2), value is (value mentioned in Parameter 4). | Param 1 : Name of Source Column | Example :
Verify that the cell at target column Status and row identified with source column Case Number and row value 000000027 has value closed, in table bqTable. |
verifyLinkExistsInAllGridRelative
To verify the link (name/index mentioned in Parameter 4) located at target column (Name mentioned in Parameter 3) and Row number identified by value (mentioned in Parameter 2) under source column (mentioned in Parameter 1) exists in table (table name mentioned in object). | Param 1 : Name of Source Column | Example :
Verifies that the link case1 exists under target column Case Number and row where value is 000000027 under source column Col1 in table bqTable. |
verifyCellValueInAllGrid
To verify if cell, under column (mentioned in Parameter 1), value is (value mentioned in Parameter 2) in table (table name mentioned in object). | Param 1 : Name or index of column | Example :
Verifies that the cell value is bqurious under Column Company Name in table bqTable. |
verifyCellValueInAllGridRelative
To verify if cell, located at target column (Name/index mentioned in Parameter 3) and row number, identified by cell value (mentioned in Parameter 2) under source column (mentioned in Parameter 1), value is (value mentioned in Parameter 4) in table (table name mentioned in object). | Param 1 : Name of the Source Column | Example :
Verifies if cell value is Case1 under Column Case Number and row where value is 000000027 under column Col1 in table bqTable. |
verifyGridRowCount
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 :
Verifies if the total number rows in grid companyTable is 15. |
verifyGridColumnCount
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 :
Verifies if the total number columns in grid companyTable is 15. |
Add Comment