UNPKG

tlc-core-automation-framework-v3-wdio-v9

Version:

Background: - We are following multi-layer automation framework architecture using webdriver.io + cucumber + typescript This core framework has been implemented with generic utility functions and cucumber steps, which can be easily consumed by another fra

24 lines (23 loc) 896 B
export declare const randomInputTypes: readonly ["email", "password"]; export type RandomInputType = typeof randomInputTypes[number]; export declare class DataHelper { static getRandomFirstName(): any; static getRandomLastName(): any; static getRandomEmailAddress(): any; static getRandomData(dataType: string): string; static getPostcodeByState(state: string): string; static getValueFromCollection(data: { [k: string]: any; }, myKey: string): any; static addDataToCollection(data: { [k: string]: any; }, myKey: string, myValue: any): void; static isKeyExistsInMyCollection(data: { [k: string]: any; }, myKey: string): boolean; static cleanMyCollection(data: { [k: string]: any; }): void; static getDataFromSimpleObject(data: {}, expectedKey: string): string; static isObjectEmpty(data: {}): boolean; }