public void RenameResource_WithDashes_ResourceRenamed() { const string NewTestResourceWithDashes = "New-Test-Resource-With-Dashes"; const string OldResourceName = "OldResourceName"; ExplorerUIMap.RightClickRenameResource(OldResourceName, "Unassigned", NewTestResourceWithDashes); Assert.IsTrue(ExplorerUIMap.ValidateWorkflowExists(NewTestResourceWithDashes, "Unassigned")); ExplorerUIMap.DoubleClickWorkflow(NewTestResourceWithDashes, "Unassigned"); }
[Ignore] // Does not work over RDP / Inconsistent results public void RemoteServerUITests_AddRenameAndDeleteARemoteWorkFlow_CompletesSuccessfully() { const string CategoryName = "Unassigned"; //CREATE A WORKFLOW using (DsfActivityUiMap activityUiMap = new DsfActivityUiMap()) { activityUiMap.DragToolOntoDesigner(ToolType.Assign); //SAVE A WORKFLOW RibbonUIMap.ClickSave(); string InitialName = Guid.NewGuid().ToString(); SaveDialogUIMap.ClickAndTypeInNameTextbox(InitialName); //RENAME A WORKFLOW string RenameTo = Guid.NewGuid().ToString(); ExplorerUIMap.RightClickRenameResource(InitialName, CategoryName, RenameTo, RemoteServerName); //DELETE A WORKFLOW ExplorerUIMap.RightClickDeleteResource(RenameTo, CategoryName, RemoteServerName); Assert.IsFalse(ExplorerUIMap.ValidateServiceExists(RenameTo, CategoryName, RemoteServerName)); } }