public void Create_ordered_block_and_learning_activities_15648() { CommonSection.CreateGeneralCourse(generalcoursetitle + "TC15648"); _test.Log(Status.Info, "Create General Course"); ContentDetailsPage.Click_Check_in(); _test.Log(Status.Info, "Checkin general course"); CommonSection.CreteNewCurriculumn(curriculamtitle + "TC15648"); _test.Log(Status.Info, "Create new curriculum"); ContentDetailsPage.ClickCurriculumContentEditButton(); _test.Log(Status.Info, "Edit the new curriculum"); CurriculumContentPage.ClickAddCurriculumBlock(); _test.Log(Status.Info, "Add curriculum block"); CurriculumContentPage.AddCurriculumBlock.AddBlockAs(curriculamblocktitle); _test.Log(Status.Info, "Add title and ordered type"); Assert.IsTrue(CurriculumContentPage.VerifyOrderedTypeIsAvailable()); _test.Log(Status.Pass, "Verify ordered type is available"); // CurriculumContentPage.AddCurriculumBlock.AddOrderedType(); CurriculumContentPage.ClickAddTrainingActivities(""); _test.Log(Status.Info, "Add training activities"); AddTrainingActivitiesPage.Search(generalcoursetitle + "TC15648"); _test.Log(Status.Info, "Search general course"); AddTrainingActivitiesPage.ClickCheckButton(); _test.Log(Status.Info, "Click on check box"); AddTrainingActivitiesPage.ClickAddButton(); _test.Log(Status.Info, "Click on add button"); ContentDetailsPage.Click_Check_in(); _test.Log(Status.Info, "Checkin the general course"); CommonSection.SearchCatalog(curriculamtitle + "TC15648"); _test.Log(Status.Info, "Search the created curriculum"); SearchResultsPage.ClickCourseTitle((curriculamtitle + "TC15648")); _test.Log(Status.Info, "Click on searched curriculum "); ContentDetailsPage.ClickEditContent(); _test.Log(Status.Info, "Click on Edit Button"); ContentDetailsPage.DeleteContent(); _test.Log(Status.Info, "Delete the created curriculum"); CommonSection.SearchCatalog(generalcoursetitle + "TC15648"); _test.Log(Status.Info, "Search the created general course"); SearchResultsPage.ClickCourseTitle(generalcoursetitle + "TC15648"); _test.Log(Status.Info, "Click on searched cousrse"); ContentDetailsPage.ClickEditContent(); _test.Log(Status.Info, "Click on edit button"); ContentDetailsPage.DeleteContent(); _test.Log(Status.Info, "Delete the created curriculum"); }
public void z43_To_Test_Authorized_user_can_create_a_curriculum_block_of_credit_type_and_can_choose_credit_type_15694() { CommonSection.CreteNewCurriculumn(curriculamtitle + "TC26346"); _test.Log(Status.Info, "Create new curriculum"); ContentDetailsPage.ClickCurriculumContentEditButton(); _test.Log(Status.Info, "Edit the new curriculum"); CurriculumContentPage.ClickAddCurriculumBlock(); _test.Log(Status.Info, "Add curriculum block"); CurriculumContentPage.AddCurriculumBlock.AddCreditBlockAs("Credit"); _test.Log(Status.Info, "Add block as Credit"); //Assert.IsTrue(CurriculumContentPage.isCreditCompenetsDisplay()); _test.Log(Status.Pass, "Required Credit Type and Required Credits are display"); CurriculumContentPage.ClickAddTrainingActivities(""); _test.Log(Status.Info, "Add training activities"); AddTrainingActivitiesPage.Search("Somnath-AICC"); _test.Log(Status.Info, "Search general course"); AddTrainingActivitiesPage.ClickCheckButton(); _test.Log(Status.Info, "Click on check box"); AddTrainingActivitiesPage.ClickAddButton(); _test.Log(Status.Info, "Click on add button"); AddTrainingActivitiesPage.Click_backbutton(); }