Index: System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj
===================================================================
diff -u -rc93a624241be7db75f5711f707017406cd048404 -r8ec7d4c30acc5b3d6c4d64dc93c835b6c9fecb8d
--- System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj (.../AutomatedSystemTests.csproj) (revision c93a624241be7db75f5711f707017406cd048404)
+++ System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj (.../AutomatedSystemTests.csproj) (revision 8ec7d4c30acc5b3d6c4d64dc93c835b6c9fecb8d)
@@ -150,6 +150,18 @@
true
325092cf-4a87-4a04-a578-da3aff997536
+
+ 772256b0-c236-4c14-95ed-d0682f4b713d
+ BorraEsto.rxrec
+ true
+ f617a859-903d-4326-a423-a5b02bf60a59
+
+
+ 772256b0-c236-4c14-95ed-d0682f4b713d
+ BorraEsto.rxrec
+ true
+ d7fac196-e1dd-4d34-ad29-fa17def25d19
+
19cd184f-d473-437a-9fd5-c592a2f61743
CalculateCategoryBoundary.rxrec
@@ -1146,6 +1158,11 @@
137723a5-e147-4b62-8c15-5c31a3d68f96
40cb8eed-98dc-4b16-a5ad-7ef93b4f444c
+
+ 8b6648ca-2429-462f-8074-96184700bbed
+ 772256b0-c236-4c14-95ed-d0682f4b713d
+ 80ee3780-ce84-4fd2-bf57-10594c61bb9b
+
8b6648ca-2429-462f-8074-96184700bbed
19cd184f-d473-437a-9fd5-c592a2f61743
Index: System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.rxtst
===================================================================
diff -u -re6cc31f92d64863d80581fd1661dc4055befee91 -r8ec7d4c30acc5b3d6c4d64dc93c835b6c9fecb8d
--- System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.rxtst (.../AutomatedSystemTests.rxtst) (revision e6cc31f92d64863d80581fd1661dc4055befee91)
+++ System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.rxtst (.../AutomatedSystemTests.rxtst) (revision 8ec7d4c30acc5b3d6c4d64dc93c835b6c9fecb8d)
@@ -1,4 +1,4 @@
-
+
@@ -2232,17 +2232,17 @@
variablename="substringNameItemInTraject">
-
-
+
+
+
+
@@ -7399,6 +7403,12 @@
+
+
+ name="ValidateBoundariesInView">
+ name="OpenCategoryBoundariesView">
+ name="OpenCategoryBoundariesView">
+ name="ValidateBoundariesInView">
@@ -11664,6 +11674,14 @@
+
+
+
+
+
+
+ /// 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.
+ }
+
+ public Ranorex.Row GetCellPropertiesPanelGivenPath(Adapter argumentAdapter, string pathItem)
+ {
+ int minimumIndex = 0;
+ var stepsPathItem = pathItem.Split('>').ToList();
+ Ranorex.Row stepRow = argumentAdapter.As().Rows.ToList()[1];
+ for (int i=0; i < stepsPathItem.Count; i++) {
+ // Find the item corresponding to the step
+ var step = stepsPathItem[i];
+ var completeList = argumentAdapter.As().Rows.ToList();
+ var searchList = completeList.GetRange(minimumIndex, completeList.Count-minimumIndex);
+ //stepRow = searchList.FirstOrDefault(rw => rw.GetAttributeValue("AccessibleName") == step);
+ var indexStepRow = searchList.FindIndex(rw => rw.GetAttributeValue("AccessibleName") == step);
+ stepRow = searchList[indexStepRow];
+ // Select (and expand) the item
+ stepRow.Focus();
+ stepRow.Select();
+ if (i != stepsPathItem.Count - 1)
+ {
+ stepRow.PressKeys("{Right}");
+ }
+
+ // Update the minimum index administration (only search forward)
+ minimumIndex += 1 + indexStepRow;
+ }
+ return stepRow;
+ }
+
+ public void ValidateValueCellGivenPath(Adapter propertiesPanelAdapter, string pathCell)
+ {
+ Ranorex.Row row = GetCellPropertiesPanelGivenPath(propertiesPanelAdapter, pathCell);
+ Report.Log(ReportLevel.Info, "", row.GetAttributeValue("AccessibleValue"));
+ }
+
+ }
+}
Index: System tests/AutomatedSystemTests/AutomatedSystemTests/BorraEsto.cs
===================================================================
diff -u
--- System tests/AutomatedSystemTests/AutomatedSystemTests/BorraEsto.cs (revision 0)
+++ System tests/AutomatedSystemTests/AutomatedSystemTests/BorraEsto.cs (revision 8ec7d4c30acc5b3d6c4d64dc93c835b6c9fecb8d)
@@ -0,0 +1,103 @@
+///////////////////////////////////////////////////////////////////////////////
+//
+// 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
+{
+#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 BorraEsto recording.
+ ///
+ [TestModule("80ee3780-ce84-4fd2-bf57-10594c61bb9b", ModuleType.Recording, 1)]
+ public partial class BorraEsto : ITestModule
+ {
+ ///
+ /// Holds an instance of the AutomatedSystemTestsRepository repository.
+ ///
+ public static AutomatedSystemTestsRepository repo = AutomatedSystemTestsRepository.Instance;
+
+ static BorraEsto instance = new BorraEsto();
+
+ ///
+ /// Constructs a new instance.
+ ///
+ public BorraEsto()
+ {
+ expectedValue = "";
+ }
+
+ ///
+ /// Gets a static instance of this recording.
+ ///
+ public static BorraEsto Instance
+ {
+ get { return instance; }
+ }
+
+#region Variables
+
+ string _expectedValue;
+
+ ///
+ /// Gets or sets the value of variable expectedValue.
+ ///
+ [TestVariable("50e84123-8388-42eb-96bc-d22731373c20")]
+ public string expectedValue
+ {
+ get { return _expectedValue; }
+ set { _expectedValue = 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 = 0;
+ Keyboard.DefaultKeyPressTime = 20;
+ Delay.SpeedFactor = 0.00;
+
+ Init();
+
+ ValidateValueCellGivenPath(repo.RiskeerMainWindow.PropertiesPanelContainer.Table.Self, "Categoriegrenzen per vak>[2]>Ondergrens [1/jaar]");
+
+ }
+
+#region Image Feature Data
+#endregion
+ }
+#pragma warning restore 0436
+}
Index: System tests/AutomatedSystemTests/AutomatedSystemTests/BorraEsto.rxrec
===================================================================
diff -u
--- System tests/AutomatedSystemTests/AutomatedSystemTests/BorraEsto.rxrec (revision 0)
+++ System tests/AutomatedSystemTests/AutomatedSystemTests/BorraEsto.rxrec (revision 8ec7d4c30acc5b3d6c4d64dc93c835b6c9fecb8d)
@@ -0,0 +1,93 @@
+
+
+
+ 1
+
+
+ True
+
+
+ True
+
+
+ 1
+
+
+ True
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Ranorex.Adapter, Ranorex.Core, Culture=neutral
+
+
+
+
+
+ /form[@automationid='RiskeerMainWindow']//container[@controlname='PropertiesPanelGridView']//table[@accessiblename='Properties Window']
+
+
+
+
+
+ System.String
+
+
+ Categoriegrenzen per vak>[2]>Ondergrens [1/jaar]
+
+
+
+
+
+
+
+
+
+
+
+
+ BorraEsto.UserCode.cs
+
+
+
+