().Rows.ToList()[0];
- currentRow.Focus();
- currentRow.Select();
- currentRow.PressKeys("{Right " + durationPressRightKey + "}");
+ var rowsList = propertiesPanelAdapter.As().Rows.ToList();
+ if (rowsList.Count>0) {
+ Ranorex.Row currentRow = rowsList[0];
+ currentRow.Focus();
+ currentRow.Select();
+ currentRow.PressKeys("{Right " + durationPressRightKey + "}");
+ }
+
}
}
}
Index: System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/ActionsWithItemsInProjectExplorer/DragAndDropItemOntoAnotherItem.UserCode.cs
===================================================================
diff -u -r3b8610838f4c073e88573b7c98e11a7838da3c4b -rdb9940830293e2ab2cce9f4382b8c3d27a82f27d
--- System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/ActionsWithItemsInProjectExplorer/DragAndDropItemOntoAnotherItem.UserCode.cs (.../DragAndDropItemOntoAnotherItem.UserCode.cs) (revision 3b8610838f4c073e88573b7c98e11a7838da3c4b)
+++ System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/ActionsWithItemsInProjectExplorer/DragAndDropItemOntoAnotherItem.UserCode.cs (.../DragAndDropItemOntoAnotherItem.UserCode.cs) (revision db9940830293e2ab2cce9f4382b8c3d27a82f27d)
@@ -83,7 +83,7 @@
{
TreeItem treeitemToMove = GetTreeItemInProjectExplorerGivenPath(pathItemToMove, rootNodeInfo);
TreeItem treeItemDestination = GetTreeItemInProjectExplorerGivenPath(pathItemDestination, rootNodeInfo);
-
+
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Down item 'treeitemToMove' at Center.");
treeitemToMove.MoveTo();
Mouse.ButtonDown(System.Windows.Forms.MouseButtons.Left);
Index: System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/Calculation/ConvertPropertiesPanelToString.cs
===================================================================
diff -u -rfed96bf9a080acfe6ce816f7ec0d61c5e28ff88d -rdb9940830293e2ab2cce9f4382b8c3d27a82f27d
--- System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/Calculation/ConvertPropertiesPanelToString.cs (.../ConvertPropertiesPanelToString.cs) (revision fed96bf9a080acfe6ce816f7ec0d61c5e28ff88d)
+++ System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/Calculation/ConvertPropertiesPanelToString.cs (.../ConvertPropertiesPanelToString.cs) (revision db9940830293e2ab2cce9f4382b8c3d27a82f27d)
@@ -64,8 +64,11 @@
stringifiedPropertiesPanel += "[" + index.ToString() + ";" + row.Element.GetAttributeValueText("AccessibleName") + ";" + row.Element.GetAttributeValueText("AccessibleValue") + "];";
index++;
}
- stringifiedPropertiesPanel = stringifiedPropertiesPanel.Remove(stringifiedPropertiesPanel.Length - 1);
+ if (stringifiedPropertiesPanel.Length>0) {
+ stringifiedPropertiesPanel = stringifiedPropertiesPanel.Remove(stringifiedPropertiesPanel.Length - 1);
+ }
+
Report.Log(ReportLevel.Info, stringifiedPropertiesPanel);
}
}
Index: System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/OpenViews/RotateMouseWheel.UserCode.cs
===================================================================
diff -u
--- System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/OpenViews/RotateMouseWheel.UserCode.cs (revision 0)
+++ System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/OpenViews/RotateMouseWheel.UserCode.cs (revision db9940830293e2ab2cce9f4382b8c3d27a82f27d)
@@ -0,0 +1,37 @@
+///////////////////////////////////////////////////////////////////////////////
+//
+// This file was automatically generated by RANOREX.
+// Your custom recording code should go in this file.
+// The designer will only add methods to this file, so your custom code won't be overwritten.
+// http://www.ranorex.com
+//
+///////////////////////////////////////////////////////////////////////////////
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Text.RegularExpressions;
+using System.Drawing;
+using System.Threading;
+using WinForms = System.Windows.Forms;
+
+using Ranorex;
+using Ranorex.Core;
+using Ranorex.Core.Repository;
+using Ranorex.Core.Testing;
+
+namespace AutomatedSystemTests.Modules.OpenViews
+{
+ public partial class RotateMouseWheel
+ {
+ ///
+ /// This method gets called right after the recording has been started.
+ /// It can be used to execute recording specific initialization code.
+ ///
+ private void Init()
+ {
+ // Your recording specific initialization code goes here.
+ }
+
+ }
+}
Index: System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/OpenViews/RotateMouseWheel.cs
===================================================================
diff -u
--- System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/OpenViews/RotateMouseWheel.cs (revision 0)
+++ System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/OpenViews/RotateMouseWheel.cs (revision db9940830293e2ab2cce9f4382b8c3d27a82f27d)
@@ -0,0 +1,105 @@
+///////////////////////////////////////////////////////////////////////////////
+//
+// This file was automatically generated by RANOREX.
+// DO NOT MODIFY THIS FILE! It is regenerated by the designer.
+// All your modifications will be lost!
+// http://www.ranorex.com
+//
+///////////////////////////////////////////////////////////////////////////////
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Text.RegularExpressions;
+using System.Drawing;
+using System.Threading;
+using WinForms = System.Windows.Forms;
+
+using Ranorex;
+using Ranorex.Core;
+using Ranorex.Core.Testing;
+using Ranorex.Core.Repository;
+
+namespace AutomatedSystemTests.Modules.OpenViews
+{
+#pragma warning disable 0436 //(CS0436) The type 'type' in 'assembly' conflicts with the imported type 'type2' in 'assembly'. Using the type defined in 'assembly'.
+ ///
+ ///The RotateMouseWheel recording.
+ ///
+ [TestModule("88e2392a-b0a8-4144-8df7-e88cb547c53f", ModuleType.Recording, 1)]
+ public partial class RotateMouseWheel : ITestModule
+ {
+ ///
+ /// Holds an instance of the global::AutomatedSystemTests.AutomatedSystemTestsRepository repository.
+ ///
+ public static global::AutomatedSystemTests.AutomatedSystemTestsRepository repo = global::AutomatedSystemTests.AutomatedSystemTestsRepository.Instance;
+
+ static RotateMouseWheel instance = new RotateMouseWheel();
+
+ ///
+ /// Constructs a new instance.
+ ///
+ public RotateMouseWheel()
+ {
+ deltaWheelMouseVertical = "";
+ }
+
+ ///
+ /// Gets a static instance of this recording.
+ ///
+ public static RotateMouseWheel Instance
+ {
+ get { return instance; }
+ }
+
+#region Variables
+
+ string _deltaWheelMouseVertical;
+
+ ///
+ /// Gets or sets the value of variable deltaWheelMouseVertical.
+ ///
+ [TestVariable("a534115f-640e-48c6-83f3-cd9a0b1460f9")]
+ public string deltaWheelMouseVertical
+ {
+ get { return _deltaWheelMouseVertical; }
+ set { _deltaWheelMouseVertical = value; }
+ }
+
+#endregion
+
+ ///
+ /// Starts the replay of the static recording .
+ ///
+ [System.CodeDom.Compiler.GeneratedCode("Ranorex", global::Ranorex.Core.Constants.CodeGenVersion)]
+ public static void Start()
+ {
+ TestModuleRunner.Run(Instance);
+ }
+
+ ///
+ /// Performs the playback of actions in this recording.
+ ///
+ /// You should not call this method directly, instead pass the module
+ /// instance to the method
+ /// that will in turn invoke this method.
+ [System.CodeDom.Compiler.GeneratedCode("Ranorex", global::Ranorex.Core.Constants.CodeGenVersion)]
+ void ITestModule.Run()
+ {
+ Mouse.DefaultMoveTime = 300;
+ Keyboard.DefaultKeyPressTime = 20;
+ Delay.SpeedFactor = 1.00;
+
+ Init();
+
+ Report.Log(ReportLevel.Info, "Mouse", "Mouse scroll Vertical by number of units from variable $deltaWheelMouseVertical.", new RecordItemIndex(0));
+ Mouse.ScrollWheel(Int32.Parse(deltaWheelMouseVertical));
+ Delay.Milliseconds(300);
+
+ }
+
+#region Image Feature Data
+#endregion
+ }
+#pragma warning restore 0436
+}
Index: System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/OpenViews/RotateMouseWheel.rxrec
===================================================================
diff -u
--- System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/OpenViews/RotateMouseWheel.rxrec (revision 0)
+++ System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/OpenViews/RotateMouseWheel.rxrec (revision db9940830293e2ab2cce9f4382b8c3d27a82f27d)
@@ -0,0 +1,67 @@
+
+
+
+ 1
+
+
+ False
+
+
+ True
+
+
+ 1
+
+
+ True
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RotateMouseWheel.UserCode.cs
+
+
+
+
Index: System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/Validation/PropertiesPanel/ValidateStringsPropertiesPanelAreEqual.cs
===================================================================
diff -u -r4cc0579bba0eb6b056ecb9d8a02fc872de3ae528 -rdb9940830293e2ab2cce9f4382b8c3d27a82f27d
--- System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/Validation/PropertiesPanel/ValidateStringsPropertiesPanelAreEqual.cs (.../ValidateStringsPropertiesPanelAreEqual.cs) (revision 4cc0579bba0eb6b056ecb9d8a02fc872de3ae528)
+++ System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/Validation/PropertiesPanel/ValidateStringsPropertiesPanelAreEqual.cs (.../ValidateStringsPropertiesPanelAreEqual.cs) (revision db9940830293e2ab2cce9f4382b8c3d27a82f27d)
@@ -73,22 +73,29 @@
Keyboard.DefaultKeyPressTime = 0;
Delay.SpeedFactor = 0.0;
- var list1 = string1PropertiesPanel.Substring(1,string1PropertiesPanel.Length-2).Split(new[] { "];[" }, StringSplitOptions.None);
- var list2 = string2PropertiesPanel.Substring(1,string2PropertiesPanel.Length-2).Split(new[] { "];[" }, StringSplitOptions.None);
- int maxIndex = Math.Min(list1.Length, list2.Length);
- if (maximumNumberOfRowsToValidate!="") {
- maxIndex = Math.Min(maxIndex, Int32.Parse(maximumNumberOfRowsToValidate));
+ string[] list1 = new string[]{};
+ string[] list2 = new string[]{};
+ if (string1PropertiesPanel.Length>0) {
+ list1 = string1PropertiesPanel.Substring(1,string1PropertiesPanel.Length-2).Split(new[] { "];[" }, StringSplitOptions.None);
+ }
+ if (string2PropertiesPanel.Length>0) {
+ list2 = string2PropertiesPanel.Substring(1,string2PropertiesPanel.Length-2).Split(new[] { "];[" }, StringSplitOptions.None);
+ }
+
+ int maxIndex = Math.Min(list1.Length, list2.Length);
+ if (maximumNumberOfRowsToValidate!="") {
+ maxIndex = Math.Min(maxIndex, Int32.Parse(maximumNumberOfRowsToValidate));
+ }
+ for (int idx = 0; idx < maxIndex; idx++) {
+ var elements1 = list1[idx].Split(';');
+ var elements2 = list2[idx].Split(';');
+ if (elements1[1]==elements2[1]) {
+ Validate.AreEqual(elements1[2], elements2[2], "Validating values for row= " + elements1[0] + ", parameter name = " + elements1[1] + ". Expected: {0} Actual: {1}");
+ } else {
+ // Will give an error showing different Accessible names
+ Validate.AreEqual(elements1[1], elements2[1], "Validating parameter names for row= " + elements1[0] + ", parameter name = " + elements1[1] + ". Expected: {0} Actual: {1}");
}
- for (int idx = 0; idx < maxIndex; idx++) {
- var elements1 = list1[idx].Split(';');
- var elements2 = list2[idx].Split(';');
- if (elements1[1]==elements2[1]) {
- Validate.AreEqual(elements1[2], elements2[2], "Validating values for row= " + elements1[0] + ", parameter name = " + elements1[1] + ". Expected: {0} Actual: {1}");
- } else {
- // Will give an error showing different Accessible names
- Validate.AreEqual(elements1[1], elements2[1], "Validating parameter names for row= " + elements1[0] + ", parameter name = " + elements1[1] + ". Expected: {0} Actual: {1}");
- }
- }
+ }
}
}
}
Index: System tests/AutomatedSystemTests/AutomatedSystemTests/Script27.rxtst
===================================================================
diff -u -rff09fe2a5078b55d1cb51f3447b415f031b3688b -rdb9940830293e2ab2cce9f4382b8c3d27a82f27d
--- System tests/AutomatedSystemTests/AutomatedSystemTests/Script27.rxtst (.../Script27.rxtst) (revision ff09fe2a5078b55d1cb51f3447b415f031b3688b)
+++ System tests/AutomatedSystemTests/AutomatedSystemTests/Script27.rxtst (.../Script27.rxtst) (revision db9940830293e2ab2cce9f4382b8c3d27a82f27d)
@@ -251,6 +251,7 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1392,6 +1483,10 @@
name="suffixNewFolder"
value=">Nieuwe map">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
- 12-2 STPH>Dijken en dammen - Piping>Berekeningen
+ Traject 12-2>Dijken en dammen - Piping>Berekeningen>12_2_02500
|
12_2_02500 Segment_12004_1D1
@@ -5826,15 +5988,15 @@
1-2
|
- X:\script27\Project_faalkans_Test_27.risk
+ X:\script27\script20cd.risk
|
|
GEKB
|
- 12-2 GEKB>Dijken en dammen - Grasbekleding erosie kruin en binnentalud>Berekeningen
+ Traject 12-2 (1)>Dijken en dammen - Grasbekleding erosie kruin en binnentalud>Berekeningen
|
profiel001
@@ -5843,32 +6005,32 @@
3-6
|
- X:\script27\Project_faalkans_Test_27.risk
+ X:\script27\script20cd.risk
|
|
- BSKW
+ STBI
|
- 34-1 BSKW>Kunstwerken - Betrouwbaarheid sluiting kunstwerk>Berekeningen
+ Traject 41-1>Dijken en dammen - Macrostabiliteit binnenwaarts>Berekeningen>Vak_41-123
|
- 'Amersluis'
+ Vak_41-123 Vak_41-123_Segment_41009_1D2
|
- 8
+ 13-14
|
- X:\script27\Project_faalkans_Test_27.risk
+ X:\script27\script20cd.risk
|
|
HTKW
|
- 36-2 HTKW>Kunstwerken - Hoogte kunstwerk>Berekeningen
+ Traject 36-2>Kunstwerken - Hoogte kunstwerk>Berekeningen
|
'Keersluis Cuijk'
@@ -5877,49 +6039,49 @@
9-10
|
- X:\script27\Project_faalkans_Test_27.risk
+ X:\script27\script20cd.risk
|
|
- STKWp
+ BSKW
|
- 44-2 STKWp>Kunstwerken - Sterkte en stabiliteit puntconstructies>Berekeningen
+ Traject 34-1>Kunstwerken - Betrouwbaarheid sluiting kunstwerk>Berekeningen
|
- Kunstwerk1
+ 'Amersluis'
|
- 11-12
+ 8
|
- X:\script27\Project_faalkans_Test_27.risk
+ X:\script27\script20cd.risk
|
|
- STBI
+ STKWp
|
- 41-1 STBI>Dijken en dammen - Macrostabiliteit binnenwaarts>Berekeningen
+ Traject 44-2>Kunstwerken - Sterkte en stabiliteit puntconstructies>Berekeningen
|
- Vak_41-123 Vak_41-123_Segment_41009_1D2
+ Kunstwerk1
|
- 13-14
+ 11-12
|
- X:\script27\Project_faalkans_Test_27.risk
+ X:\script27\script20cd.risk
|
|
ZST
|
- 28-1 (ZST)>Dijken en dammen - Stabiliteit steenzetting>Hydraulische belastingen
+ 28-1 (ZST)>Dijken en dammen - Stabiliteit steenzetting>Hydraulische belastingen>blokken en zuilen
|
dam0voorland0
@@ -5928,7 +6090,7 @@
15-16
|
- X:\script27\Project_15a_15b_15c_met_resultaten.risk
+ X:\script27\script15abc.risk
|
@@ -5945,15 +6107,15 @@
17-18
|
- X:\script27\Project_15a_15b_15c_met_resultaten.risk
+ X:\script27\script15abc.risk
|
|
GEBU
|
- 6-6 (GEBU)>Dijken en dammen - Grasbekleding erosie buitentalud>Hydraulische belastingen>Berekeningen
+ 6-6 (GEBU)>Dijken en dammen - Grasbekleding erosie buitentalud>Hydraulische belastingen>Berekeningen>golfoploop en golfklap
|
dam0voorland1
@@ -5962,7 +6124,7 @@
19-20
|
- X:\script27\Project_15a_15b_15c_met_resultaten.risk
+ X:\script27\script15abc.risk
|
@@ -6094,7 +6256,7 @@
STPH
- 12-2 STPH>Dijken en dammen - Piping>Berekeningen
+ Traject 12-2>Dijken en dammen - Piping>Berekeningen>12_2_02500
|
12_2_02500 Segment_12004_1D1
@@ -6106,7 +6268,7 @@
100
|
- X:\script27\Project_faalkans_Test_27.risk
+ X:\script27\script20cd.risk
|
output\script27\configurationSTPH.xml
@@ -6123,77 +6285,77 @@
|
|
- STBI
+ GEKB
|
- 41-1 STBI>Dijken en dammen - Macrostabiliteit binnenwaarts>Berekeningen
+ Traject 12-2 (1)>Dijken en dammen - Grasbekleding erosie kruin en binnentalud>Berekeningen
|
- Vak_41-123 Vak_41-123_Segment_41009_1D2
+ profiel001
|
- 500
+ 50
|
- 500
+ 100
|
- X:\script27\Project_faalkans_Test_27.risk
+ X:\script27\script20cd.risk
|
- output\script27\configurationSTBI.xml
+ output\script27\configurationGEKB.xml
|
- X:\script27\configurations\referenceSTBI.xml
+ X:\script27\configurations\referenceGEKB.xml
|
- X:\script27\configurations\modifiedSTBI.xml
+ X:\script27\configurations\modifiedGEKB.xml
|
- X:\script27\configurations\invalidSTBI.xml
+ X:\script27\configurations\invalidGEKB.xml
|
|
- GEKB
+ STBI
|
- 12-2 GEKB>Dijken en dammen - Grasbekleding erosie kruin en binnentalud>Berekeningen
+ 41-1 STBI>Dijken en dammen - Macrostabiliteit binnenwaarts>Berekeningen>Vak_41-123
|
- profiel001
+ Vak_41-123 Vak_41-123_Segment_41009_1D2
|
- 50
+ 500
|
- 100
+ 500
|
- X:\script27\Project_faalkans_Test_27.risk
+ X:\script27\script20cd.risk
|
- output\script27\configurationGEKB.xml
+ output\script27\configurationSTBI.xml
|
- X:\script27\configurations\referenceGEKB.xml
+ X:\script27\configurations\referenceSTBI.xml
|
- X:\script27\configurations\modifiedGEKB.xml
+ X:\script27\configurations\modifiedSTBI.xml
|
- X:\script27\configurations\invalidGEKB.xml
+ X:\script27\configurations\invalidSTBI.xml
|
|
- BSKW
+ HTKW
|
- 34-1 BSKW>Kunstwerken - Betrouwbaarheid sluiting kunstwerk>Berekeningen
+ Traject 36-2 HTKW>Kunstwerken - Hoogte kunstwerk>Berekeningen
|
- 'Amersluis'
+ 'Keersluis Cuijk'
|
150
@@ -6202,30 +6364,30 @@
100
|
- X:\script27\Project_faalkans_Test_27.risk
+ X:\script27\script20cd.risk
|
- output\script27\configurationBSKW.xml
+ output\script27\configurationHTKW.xml
|
- X:\script27\configurations\referenceBSKW.xml
+ X:\script27\configurations\referenceHTKW.xml
|
- X:\script27\configurations\modifiedBSKW.xml
+ X:\script27\configurations\modifiedHTKW.xml
|
- X:\script27\configurations\invalidBSKW.xml
+ X:\script27\configurations\invalidHTKW.xml
|
|
- HTKW
+ BSKW
|
- 36-2 HTKW>Kunstwerken - Hoogte kunstwerk>Berekeningen
+ Traject 34-1 BSKW>Kunstwerken - Betrouwbaarheid sluiting kunstwerk>Berekeningen
|
- 'Keersluis Cuijk'
+ 'Amersluis'
|
150
@@ -6234,27 +6396,27 @@
100
|
- X:\script27\Project_faalkans_Test_27.risk
+ X:\script27\script20cd.risk
|
- output\script27\configurationHTKW.xml
+ output\script27\configurationBSKW.xml
|
- X:\script27\configurations\referenceHTKW.xml
+ X:\script27\configurations\referenceBSKW.xml
|
- X:\script27\configurations\modifiedHTKW.xml
+ X:\script27\configurations\modifiedBSKW.xml
|
- X:\script27\configurations\invalidHTKW.xml
+ X:\script27\configurations\invalidBSKW.xml
|
|
STKWp
|
- 44-2 STKWp>Kunstwerken - Sterkte en stabiliteit puntconstructies>Berekeningen
+ Traject 44-2 STKWp>Kunstwerken - Sterkte en stabiliteit puntconstructies>Berekeningen
|
Kunstwerk1
@@ -6266,7 +6428,7 @@
100
|
- X:\script27\Project_faalkans_Test_27.risk
+ X:\script27\script20cd.risk
|
output\script27\configurationSTKWp.xml
@@ -6298,7 +6460,7 @@
100
|
- X:\script27\Project_15a_15b_15c_met_resultaten.risk
+ X:\script27\script15abc.risk
|
output\script27\configurationZST.xml
@@ -6330,7 +6492,7 @@
100
|
- X:\script27\Project_15a_15b_15c_met_resultaten.risk
+ X:\script27\script15abc.risk
|
output\script27\configurationAGK.xml
@@ -6362,7 +6524,7 @@
100
|
- X:\script27\Project_15a_15b_15c_met_resultaten.risk
+ X:\script27\script15abc.risk
|
output\script27\configurationGEBU.xml
@@ -6385,81 +6547,24 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ id="ea68d6c4-16a6-4c1b-b457-1c2e48132fa7">
-
-
-
-
|