public void GivenILoggedInToDataLabsAsUserWithPassword(String user_ConfigKey, String password_ConfigKey) { if (!BP_LoginUtilities.Login(ConfigurationHelper.BrowserType, ConfigurationHelper.DataLabsURL, ConfigurationHelper.GetValue(user_ConfigKey), ConfigurationHelper.GetValue(password_ConfigKey))) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void GivenILoggedInToDataLabsAsDataManagerUser() { if (!BP_LoginUtilities.Login(ConfigurationHelper.BrowserType, ConfigurationHelper.DataLabsURL, ConfigurationHelper.DataManager_UserName, ConfigurationHelper.DataManager_Password)) { ScenarioContext.Current["ActResult"] = "Failed"; } }