public void SubmitTheActivity() { //Submit the Activity Logger.LogMethodEntry("ViewSubmission", "SubmitTheActivity", base.IsTakeScreenShotDuringEntryExit); //Created Class Object StudentPresentationPage studentpresentationpage = new StudentPresentationPage(); //Select the window studentpresentationpage.SelectWebActivityWindow("Test"); studentpresentationpage.AttemptTheActivityInStudentSide(); Logger.LogMethodEntry("ViewSubmission", "SubmitTheActivity", base.IsTakeScreenShotDuringEntryExit); }
public void SubmitTheActivity(String activityType) { //Submit the Activity Logger.LogMethodEntry("ActivitySubmission", "SubmitTheActivity", base.IsTakeScreenShotDuringEntryExit); //Created Class Object StudentPresentationPage studentpresentationpage = new StudentPresentationPage(); //Attempt The Activity studentpresentationpage.AttemptTheActivityInDigitalPath(activityType); //Finish and return to course selection studentpresentationpage.FinishAndReturnToCourse(); // select close button on the Test window new InstructionsPage().ClickTestCloseButton(); Logger.LogMethodEntry("ActivitySubmission", "SubmitTheActivity", base.IsTakeScreenShotDuringEntryExit); }