@sap_oss/wdio-qmate-service
Version:
[](https://api.reuse.software/info/github.com/SAP/wdio-qmate-service)[](http
64 lines (63 loc) • 2.56 kB
TypeScript
/**
* @class table
* @memberof ui5
*/
export declare class Table {
private vlf;
/**
* @function sortColumnAscending
* @memberOf ui5.table
* @description Sorts the given column "Ascending".
* @param {String} columnName - The name of the column to sort.
* @param {Object} [tableSelector] - The selector describing the table element (in case there are more then one).
* @example await ui5.table.sortColumnAscending("Supplier");
* @example const glAccountItemsTable = {
* "elementProperties": {
* "viewName": "ui.s2p.mm.supplinvoice.manage.s1.view.S1",
* "metadata": "sap.m.Table",
* "id": "*idS2P.MM.MSI.TableGLAccountItems"
* }
* };
* await ui5.table.sortColumnAscending("Amount", glAccountItemsTable);
*/
sortColumnAscending(columnName: string, tableSelector: any): Promise<void>;
/**
* @function sortColumnDescending
* @memberOf ui5.table
* @description Sorts the given column "Descending".
* @param {String} columnName The name of the column to sort.
* @param {Object} [tableSelector] - The selector describing the table element (in case there are more then one).
* @example await ui5.table.sortColumnDescending("Supplier");
* @example const glAccountItemsTable = {
* "elementProperties": {
* "viewName": "ui.s2p.mm.supplinvoice.manage.s1.view.S1",
* "metadata": "sap.m.Table",
* "id": "*idS2P.MM.MSI.TableGLAccountItems"
* }
* };
* await ui5.table.sortColumnDescending("Amount", glAccountItemsTable);
*/
sortColumnDescending(columnName: string, tableSelector: any): Promise<void>;
/**
* @function clickSettingsButton
* @memberOf ui5.table
* @description Opens the user Settings.
* @param {Object} [tableSelector] - The selector describing the table element (in case there are more then one).
* @example await ui5.table.clickSettingsButton();
* @example const glAccountItemsTable = {
* "elementProperties": {
* "viewName": "ui.s2p.mm.supplinvoice.manage.s1.view.S1",
* "metadata": "sap.m.Table",
* "id": "*idS2P.MM.MSI.TableGLAccountItems"
* }
* };
* await ui5.table.clickSettingsButton(glAccountItemsTable);
*/
clickSettingsButton(tableSelector: any): Promise<void>;
private _clickColumn;
private _getSortValudGridTable;
private _getSortIndicatorValue;
private _prepareAncestorSelector;
}
declare const _default: Table;
export default _default;