コード例 #1
0
 //  [Fact(DisplayName = "Edit PowerPoint Document on KM Workspace with PowerPoint 2010")]
 public void Should_Edit_PPT_Doc_KM_WorkSpace()
 {
     SeleniumDriver.init(Browser.IENoNativeEvents);
     AbtPages.KmWorkSpacePage.Go();
     AbtPages.SharePointDocumentNavigation.OpenDocument(MS2013documents.SampleAVMetrics);
     AutoITDriver.init();
     AutoITDriver.EditPowerPointFile(); //If have problem running AUtoIT remember that you need to register the dll with cmd
     AutoITDriver.SavePPTFile();
     AutoITDriver.ClosePPTFile();
     SeleniumDriver.Close();
 }
コード例 #2
0
 // [Fact(DisplayName = "Co-Authoring Should Edit PowerPoint Document On Desktop Client App")]
 public void Should_Edit_PowerPointDoc_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.SampleAVMetrics);
     AutoITDriver.init();
     AutoITDriver.EditPowerPointFile();   //If have problem running AUtoIT remember that you need to register the dll with cmd
     AutoITDriver.SavePPTFile();
     AutoITDriver.ClosePPTFile();
     SeleniumDriver.Close();
 }