// [Fact(DisplayName = "Open Excel Document for Reading on KM Workspace")]
 public void Should_Open_Excel_Doc_KM_WorkSpace()
 {
     SeleniumDriver.init(Browser.IENoNativeEvents);
     AbtPages.KmWorkSpacePage.Go();
     AbtPages.SharePointDocumentNavigation.OpenDocument(MS2013documents.ITMetrics);
     AutoITDriver.init();
     AutoITDriver.OpenDocumentForReading();
     SeleniumDriver.Close();
 }
 //  [Fact(DisplayName = "Open Word Document for Reading on KM Workspace")]
 public void Should_Open_Word_Doc_KM_WorkSpace()
 {
     SeleniumDriver.init(Browser.IENoNativeEvents);
     AbtPages.KmWorkSpacePage.Go();
     AbtPages.SharePointDocumentNavigation.OpenDocument(MS2013documents.QA_ReadinessChecklist_v4);
     AutoITDriver.init();
     AutoITDriver.OpenDocumentForReading(); //If have problem running AUtoIT remember that you need to register the dll with cmd
     SeleniumDriver.Close();
 }
Beispiel #3
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();
 }
 //   [Fact(DisplayName = "Edit PowerPoint Document on KM Workspace")]
 public void Should_Edit_PPT_Doc_KM_WorkSpace()
 {
     SeleniumDriver.init(Browser.RemoteQALaptop);
     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();
 }
 //  [Fact(DisplayName = "Edit Word Document on KM Workspace")]
 public void Should_Edit_Word_Doc_KM_WorkSpace()
 {
     SeleniumDriver.init(Browser.RemoteQALaptop);
     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 open PowerPoint Document for reading On PowerPoint Desktop Client App")]
 public void Should_Open_PPTDoc_For_Reading_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.OpenDocumentForReading(); //If have problem running AUtoIT remember that you need to register the dll with cmd
     SeleniumDriver.Close();
 }
 //   [Fact(DisplayName = "Co-Authoring Should open Word Document for editing from inside Word Desktop Client App")]
 public void Should_Open_WordDoc_For_Editing_From_Inside_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.OpenDocumentForReading(); //If have problem running AUtoIT remember that you need to register the dll with cmd
     AutoITDriver.EditWordFileFromInsideApp();
     SeleniumDriver.Close();
 }