public void uploadAndShowLaunchLink() { CourseService pkg = new CourseService(cfg, svc); List<ImportResult> results = pkg.ImportCourse(courseId, upldFile,null,domain); Assert.AreEqual(1, results.Count, "Expected 1 import result"); Assert.IsTrue(results[0].WasSuccessful, results[0].Message); reg.CreateRegistration(regId, courseId, 0, tstLearner, fName, lName, postback, authType, pbLogin, pbPass, resultFmt); string url = reg.GetLaunchUrl(regId, @"closer.htm"); showResponse(url); }
public override void caseSetup() { base.caseSetup(); pkg = new CourseService(cfg, svc); }