Index: System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/IO/MigrateAllFilesInFolderUsingCommandLineTool.cs =================================================================== diff -u -ra00c7888b39b9ac6f1799537d7e982162581cfbb -r9f505373cf4c9881a874d216d84e243fa7e4fdcc --- System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/IO/MigrateAllFilesInFolderUsingCommandLineTool.cs (.../MigrateAllFilesInFolderUsingCommandLineTool.cs) (revision a00c7888b39b9ac6f1799537d7e982162581cfbb) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/IO/MigrateAllFilesInFolderUsingCommandLineTool.cs (.../MigrateAllFilesInFolderUsingCommandLineTool.cs) (revision 9f505373cf4c9881a874d216d84e243fa7e4fdcc) @@ -74,10 +74,13 @@ foreach (var sourceFilePath in Directory.GetFiles(sourceFolder, "*.risk")) { + Report.Info("Migrating project file: " + sourceFilePath); string fileName = Path.GetFileName(sourceFilePath); string destinationFilePath = Path.Combine(targetFolder, fileName); string commandToRun = "/C ..\\..\\..\\..\\..\\bin\\Debug\\Migratiehulpprogramma.exe " + @sourceFilePath + " " + @destinationFilePath + " >migration.log"; RunCommand(commandToRun); + Delay.Duration(new Duration(300)); + ValidateMigratedFilesExists(destinationFilePath); } } @@ -92,5 +95,15 @@ process.Start(); process.WaitForExit(); } + + private void ValidateMigratedFilesExists(string pathMigratedFile) + { + Report.Info("Validating if migrated project file has been created..."); + if (File.Exists(pathMigratedFile)) { + Report.Info(pathMigratedFile + " has been found in migration destination folder."); + } else { + Report.Error(pathMigratedFile + " has NOT been found in migration destination folder."); + } + } } } Index: System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/Selection/SelectItemFromDynamicDropDownMenuInPropertiesPanelRow.UserCode.cs =================================================================== diff -u -r6a13785f3dea7bb397c12daab4c0a74ea35fd421 -r9f505373cf4c9881a874d216d84e243fa7e4fdcc --- System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/Selection/SelectItemFromDynamicDropDownMenuInPropertiesPanelRow.UserCode.cs (.../SelectItemFromDynamicDropDownMenuInPropertiesPanelRow.UserCode.cs) (revision 6a13785f3dea7bb397c12daab4c0a74ea35fd421) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/Selection/SelectItemFromDynamicDropDownMenuInPropertiesPanelRow.UserCode.cs (.../SelectItemFromDynamicDropDownMenuInPropertiesPanelRow.UserCode.cs) (revision 9f505373cf4c9881a874d216d84e243fa7e4fdcc) @@ -71,12 +71,10 @@ public void SelectItemFromDynamicDropDownMenuInRowPropertiesPanel(RepoItemInfo listitemInfo, string pathToRowItemInPropertiesPanel) { - - AutomatedSystemTestsRepository myRepository = global::AutomatedSystemTests.AutomatedSystemTestsRepository.Instance; + AutomatedSystemTestsRepository myRepository = global::AutomatedSystemTests.AutomatedSystemTestsRepository.Instance; Adapter propertiesPanelAdapter = myRepository.RiskeerMainWindow.PropertiesPanelContainer.Table.Self; Ranorex.Row row = GetRowInPropertiesPanelGivenPath(propertiesPanelAdapter, pathToRowItemInPropertiesPanel); - - row.Click(); + row.Click(); row.Click(".98;.5"); listitemInfo.FindAdapter().Focus(); listitemInfo.FindAdapter().Click();