/// <summary> /// Construct with the url (just the https://something.saas.hp.com bit) /// </summary> /// <param name="url">Base url for ALM</param> /// <param name="username">username for login</param> /// <param name="password">password</param> /// <param name="domain">The domain to log into</param> /// <param name="project">The project to log into</param> /// <param name="version">The ALM version to use</param> public ALMClient(string url, string username, string password, string domain, string project, string version) { client = new RestClient((url + "/qcbin/").Replace(@"/qcbin//qcbin/", @"/qcbin/")); client.Authenticator = new HttpBasicAuthenticator(username, password); client.CookieContainer = new System.Net.CookieContainer(); Domain = domain; Project = project; clientConfig = new ALMClientConfig(version); }