// [Fact(DisplayName = "Edit Word Document on KM Workspace with Word 2010")] public void Should_Edit_Word_Doc_KM_WorkSpace() { SeleniumDriver.init(Browser.IENoNativeEvents); AbtPages.KmWorkSpacePage.Go(); AbtPages.SharePointDocumentNavigation.OpenDocument(MS2013documents.QA_ReadinessChecklist_v4); AutoITDriver.init(); AutoITDriver.EditWordFile(); //If have problem running AUtoIT remember that you need to register the dll with cmd AutoITDriver.SaveWordFile(); AutoITDriver.CloseWordFile(); SeleniumDriver.Close(); }
// [Fact(DisplayName = "Co-Authoring Should Edit Word Document On Desktop Client App")] public void Should_Edit_WordDoc_On_ClientApp() { SeleniumDriver.init(Browser.IENoNativeEvents); AbtPages.AgiHomePage.Go(); AbtPages.AgiTopNavigation.Goto(homelinks.Projects); AbtPages.ProjectsPage.Goto(projectslinks.MS2013upgrade); AbtPages.SharePointDocumentNavigation.Goto(MS2013Links.Testing); AbtPages.SharePointDocumentNavigation.Goto(MS2013Links.QA_AuthoringIssueReplication); AbtPages.SharePointDocumentNavigation.OpenDocument(MS2013documents.QA_ReadinessChecklist_v4); AutoITDriver.init(); AutoITDriver.EditWordFile(); //If have problem running AUtoIT remember that you need to register the dll with cmd // AutoITDriver.SaveWordFile(); // AutoITDriver.CloseWordFile(); // Driver.Close(); }