import 'codeceptjs'; /** * Flexihelp class */ export declare class FlexiHelp extends Helper { /** * View Help Icon in a page by label * * Flexihelp.viewHelpIconByLabel("name") * * @param {String} label */ static viewHelpIconByLabel(label: string): Promise; /** * Get attached file name by label * * `` * Flexihelp.getAttachedFileNameByLabel("Name") * * @param {String} label */ static getAttachedFileNameByLabel(label: string): Promise; /** * Get attached video name by label * * `` * Flexihelp.getAttachedVideoNameByLabel("Name") * * @param {String} label */ static getAttachedVideoNameByLabel(label: string): Promise; /** * Fill mandatory fields for an attachment * * `` * * Flexihelp.FillMandatoryFields(`Title_123`) * * * @param {String} title */ static fillMandatoryFields(title: string): Promise; /** * Attach video by specifying path and label * * `` * * Flexihelp.CreateorEditUsingVideo(`name`, `Title_123`, `resources\video.mp4`) * * @param {String} label * @param {String} title video link * @param {String} video */ static createorEditUsingVideoByLabel(label: string, title: string, video: string): Promise; /** * Removes attachment by label * * `` * * Flexihelp.removeAttachmentByLabel(`name`,`Test`) * * @param {String} label * @param {String} link */ static removeAttachmentByLabel(label: string, link: string): Promise; /** * Create or edit using file by label * * `` * * Flexihelp.CreateorEditUsingfileByLabel("name","Sprint.xlsx","Test") * * @param {String} label * @param {String} link * @param {String} title */ static createorEditUsingfileByLabel(label: string, link: string, title: string): Promise; /** * Remove attachment file by label * * `` * * Flexihelp.removeAttachmentFileByLabel("Name","Test.xlsx") * * * @param {String} label * @param {String} link */ static removeAttachmentFileByLabel(label: string, link: string): Promise; /** * Click on help icon * * `` * * Flexihelp.clickOnHelpIcon("Name") * * @param {String} label name */ static clickOnHelpIcon(label: string): Promise; /** * This method is used to click on SHT footer button. * ```js * await FlexiHelp.clickOnSHTFooterButton("Save") * @param {string}label */ static clickOnSHTFooterButton(label: string): Promise; /** * this method is used the view flexihelp video * ```js * await FlexiHelp.viewHelpVideo("My Requests","Performing Actions on My Request_Requestor") * ``` * @param {string}label * @param {string}videoName * @param {string}tabName * */ static viewHelpVideo(label: string, videoName: string, tabName?: string): Promise; /** * this method is used the view flexihelp video * ```js * await FlexiHelp.viewHelpText("My Requests","Automationtest","Zycus") * ``` * @param {string}label * @param {string}helpText * @param {string}tabName * */ static viewHelpText(label: string, helpText: string, tabName?: string): Promise; /** * To download help content * * ```js * await FlexiHelp.downloadHelpContent("My Requests","Title123","Sprint") * ``` * @param {string}label * @param {string}documentTitle * @param {string}fileName * */ static downloadHelpContent(label: string, documentTitle: string, fileName: string): Promise; /** * This method is used to perform dragndrop operation on flexi popup * * ```js * await FlexiHelp.dragAndDropFlexi(`What would you like to do today?`, `//input[@type='MST_Search']`); * ``` * * @param {string}label * @param {string }destinationContainer */ static dragAndDropFlexi(label: string, destinationContainer: string): Promise; }