Exemplo n.º 1
0
 // [Fact(DisplayName = "Edit Excel Document on KM Workspace with Excel 2010")]
 public void Should_Edit_Excel_Doc_KM_WorkSpace()
 {
     SeleniumDriver.init(Browser.IENoNativeEvents);
     AbtPages.KmWorkSpacePage.Go();
     AbtPages.SharePointDocumentNavigation.OpenDocument(MS2013documents.ITMetrics);
     AutoITDriver.init();
     Assert.True(AutoITDriver.EditExcelFile()); //If have problem running AUtoIT remember that you need to register the dll with cmd
     Assert.True(AutoITDriver.SaveExcelFile());
     Assert.True(AutoITDriver.CloseExcelFile());
     SeleniumDriver.Close();
 }
Exemplo n.º 2
0
 //   [Fact(DisplayName = "Co-Authoring Should Edit Excel Document On Desktop Client App")]
 public void Should_Edit_ExcelDoc_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.ITMetrics);
     AutoITDriver.init();
     AutoITDriver.EditExcelFile(); //If have problem running AUtoIT remember that you need to register the dll with cmd
     AutoITDriver.SaveExcelFile();
     AutoITDriver.CloseExcelFile();
     SeleniumDriver.Close();
 }