Index: System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/ActionsContextMenu/AddBackgroundLayer.cs
===================================================================
diff -u -r4738cbf3942c805e039c10559620e2935f6a346c -r66b1fcac05869e15fdd265cc6870e7e9abe85850
--- System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/ActionsContextMenu/AddBackgroundLayer.cs (.../AddBackgroundLayer.cs) (revision 4738cbf3942c805e039c10559620e2935f6a346c)
+++ System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/ActionsContextMenu/AddBackgroundLayer.cs (.../AddBackgroundLayer.cs) (revision 66b1fcac05869e15fdd265cc6870e7e9abe85850)
@@ -107,11 +107,11 @@
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'Openen.ButtonOpen' at Center.", repo.Openen.ButtonOpenInfo, new RecordItemIndex(4));
repo.Openen.ButtonOpen.Click();
- Report.Log(ReportLevel.Info, "Wait", "Waiting 30s to exist. Associated repository item: 'ActivityProgressDialog.ButtonCancel'", repo.ActivityProgressDialog.ButtonCancelInfo, new ActionTimeout(30000), new RecordItemIndex(5));
- repo.ActivityProgressDialog.ButtonCancelInfo.WaitForExists(30000);
+ //Report.Log(ReportLevel.Info, "Wait", "Waiting 30s to exist. Associated repository item: 'ActivityProgressDialog.ButtonCancel'", repo.ActivityProgressDialog.ButtonCancelInfo, new ActionTimeout(30000), new RecordItemIndex(5));
+ //repo.ActivityProgressDialog.ButtonCancelInfo.WaitForExists(30000);
- Report.Log(ReportLevel.Info, "Delay", "Waiting for 300ms.", new RecordItemIndex(6));
- Delay.Duration(300, false);
+ Report.Log(ReportLevel.Info, "Delay", "Waiting for 1s.", new RecordItemIndex(6));
+ Delay.Duration(1000, false);
Report.Log(ReportLevel.Info, "Wait", "Waiting 5m to not exist. Associated repository item: 'ActivityProgressDialog.ButtonCancel'", repo.ActivityProgressDialog.ButtonCancelInfo, new ActionTimeout(300000), new RecordItemIndex(7));
repo.ActivityProgressDialog.ButtonCancelInfo.WaitForNotExists(300000);
Index: System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/ActionsContextMenu/AddBackgroundLayer.rxrec
===================================================================
diff -u -r4738cbf3942c805e039c10559620e2935f6a346c -r66b1fcac05869e15fdd265cc6870e7e9abe85850
--- System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/ActionsContextMenu/AddBackgroundLayer.rxrec (.../AddBackgroundLayer.rxrec) (revision 4738cbf3942c805e039c10559620e2935f6a346c)
+++ System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/ActionsContextMenu/AddBackgroundLayer.rxrec (.../AddBackgroundLayer.rxrec) (revision 66b1fcac05869e15fdd265cc6870e7e9abe85850)
@@ -385,7 +385,7 @@
Index: System tests/AutomatedSystemTests/RanorexAutomationHelpers/UserCodeCollections/FileLibrary.cs
===================================================================
diff -u -r9a98f08b5ca7808e6db1a59051b3b5aae9be1fe1 -r66b1fcac05869e15fdd265cc6870e7e9abe85850
--- System tests/AutomatedSystemTests/RanorexAutomationHelpers/UserCodeCollections/FileLibrary.cs (.../FileLibrary.cs) (revision 9a98f08b5ca7808e6db1a59051b3b5aae9be1fe1)
+++ System tests/AutomatedSystemTests/RanorexAutomationHelpers/UserCodeCollections/FileLibrary.cs (.../FileLibrary.cs) (revision 66b1fcac05869e15fdd265cc6870e7e9abe85850)
@@ -284,17 +284,17 @@
string[] stringSeparators = new string[] { "\r\n" };
string[] lines1 = fileContent1.Split(stringSeparators, StringSplitOptions.None);
string[] lines2 = fileContent2.Split(stringSeparators, StringSplitOptions.None);
- Report.Info("Number of lines in file 1: " + lines1.Length);
- Report.Info("Number of lines in file 2: " + lines2.Length);
if (lines1.Length!=lines2.Length) {
Report.Error("Files have different length. They will be compared line by line until the length of the smallest one.");
+ Report.Info("Number of lines in file 1: " + lines1.Length);
+ Report.Info("Number of lines in file 2: " + lines2.Length);
}
var minLength = Math.Min(lines1.Length, lines2.Length);
bool differencesHaveBeenFound = false;
string differencesThatHaveBeenFound = "";
for (int i = 0; i < minLength; i++) {
if (lines1[i]!=lines2[i]) {
- differencesThatHaveBeenFound += lines1[i] + "\r\n" + lines2[i] + "\r\n \r\n";
+ differencesThatHaveBeenFound += "File 1: " + lines1[i] + "\r\n" + "File 2: " + lines2[i] + "\r\n \r\n";
differencesHaveBeenFound = true;
}
}