/// <summary> /// Gets the data driven file and set the test name. /// </summary> /// <returns>Return the data driven file and set the test name.</returns> public static IEnumerable CredentialsCSV() { var path = TestContext.CurrentContext.TestDirectory; path = string.Format(CultureInfo.CurrentCulture, "{0}{1}", path, @"\DataDriven\TestDataDrivenCsv.csv"); return(DataDrivenHelper.ReadDataDriveFileCsv(path, new[] { "user", "password" }, "credentialCsv")); }
/// <summary> /// Gets the data driven file and set the test name. /// </summary> /// <returns>Return the data driven file and set the test name.</returns> public static IEnumerable LinksExcel() { return(DataDrivenHelper.ReadXlsxDataDriveFile(ProjectBaseConfiguration.DataDrivenFileXlsx, "links")); }