Index: System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj =================================================================== diff -u -r297b32a8c7296b0d3e8cdd440f465e6d53d4d3cc -r442c78818e7b5fea5a339049fab14b7f261e0198 --- System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj (.../AutomatedSystemTests.csproj) (revision 297b32a8c7296b0d3e8cdd440f465e6d53d4d3cc) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj (.../AutomatedSystemTests.csproj) (revision 442c78818e7b5fea5a339049fab14b7f261e0198) @@ -771,6 +771,18 @@ true efa53e23-d8e4-4e67-ac1c-b7c4fc9f2aaf + + f146138e-5d6e-47a6-b572-efcb4d6fe1ba + ValidateValueParameterForItemInTraject.rxrec + true + 43ecbd4d-2a3e-41b7-a165-ff44c713c769 + + + f146138e-5d6e-47a6-b572-efcb4d6fe1ba + ValidateValueParameterForItemInTraject.rxrec + true + 6933b1f0-e685-46fa-afeb-f550560bf1b5 + @@ -1052,6 +1064,11 @@ a07de890-0a93-4d5e-865b-7ca9370d261c 200d05d0-2615-44bf-991e-2913171cd220 + + 8b6648ca-2429-462f-8074-96184700bbed + f146138e-5d6e-47a6-b572-efcb4d6fe1ba + 54946666-7cba-49b9-b848-41ea43b074d9 + Index: System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.rxtst =================================================================== diff -u -r9403f12e4e8296137fa628e2a6545695a8e45f25 -r442c78818e7b5fea5a339049fab14b7f261e0198 --- System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.rxtst (.../AutomatedSystemTests.rxtst) (revision 9403f12e4e8296137fa628e2a6545695a8e45f25) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.rxtst (.../AutomatedSystemTests.rxtst) (revision 442c78818e7b5fea5a339049fab14b7f261e0198) @@ -232,6 +232,17 @@ id="0f6ce510-5e07-4792-80dc-5fa54c51639d" name="ValidateDetailedAsssessmentType"> + + + + + + + + + + + + + + + + + + + + @@ -4263,7 +4310,19 @@ name="GetValueParameterForItemInTraject"> + + + + + + @@ -7352,6 +7411,46 @@ + + + + fmName + + + + + + + + fmName + + + + + Dijken en dammen - Piping + + + + + Dijken en dammen - Macrostabiliteit binnenwaarts + + + + + Dijken en dammen - Macrostabiliteit buitenwaarts + + + + + Dijken en dammen - Golfklappen op asfaltbekleding + + + + @@ -7385,6 +7484,9 @@ id="0f6ce510-5e07-4792-80dc-5fa54c51639d"> + + + + - False + True True Index: System tests/AutomatedSystemTests/AutomatedSystemTests/SetRangeInTableForPEBasedOnTrajectType.cs =================================================================== diff -u -r4c58761840444a193ea75a34c0ceb6c2149596f8 -r442c78818e7b5fea5a339049fab14b7f261e0198 --- System tests/AutomatedSystemTests/AutomatedSystemTests/SetRangeInTableForPEBasedOnTrajectType.cs (.../SetRangeInTableForPEBasedOnTrajectType.cs) (revision 4c58761840444a193ea75a34c0ceb6c2149596f8) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/SetRangeInTableForPEBasedOnTrajectType.cs (.../SetRangeInTableForPEBasedOnTrajectType.cs) (revision 442c78818e7b5fea5a339049fab14b7f261e0198) @@ -84,14 +84,13 @@ [System.CodeDom.Compiler.GeneratedCode("Ranorex", global::Ranorex.Core.Constants.CodeGenVersion)] void ITestModule.Run() { - Mouse.DefaultMoveTime = 300; + Mouse.DefaultMoveTime = 0; Keyboard.DefaultKeyPressTime = 20; - Delay.SpeedFactor = 1.00; + Delay.SpeedFactor = 0.00; Init(); SetRangeTablePEBasedInTrajectType(); - Delay.Milliseconds(0); } Index: System tests/AutomatedSystemTests/AutomatedSystemTests/SetRangeInTableForPEBasedOnTrajectType.rxrec =================================================================== diff -u -r4c58761840444a193ea75a34c0ceb6c2149596f8 -r442c78818e7b5fea5a339049fab14b7f261e0198 --- System tests/AutomatedSystemTests/AutomatedSystemTests/SetRangeInTableForPEBasedOnTrajectType.rxrec (.../SetRangeInTableForPEBasedOnTrajectType.rxrec) (revision 4c58761840444a193ea75a34c0ceb6c2149596f8) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/SetRangeInTableForPEBasedOnTrajectType.rxrec (.../SetRangeInTableForPEBasedOnTrajectType.rxrec) (revision 442c78818e7b5fea5a339049fab14b7f261e0198) @@ -7,7 +7,7 @@ 1 - False + True True Index: System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateContributionOfFMInProjectExplorer.cs =================================================================== diff -u -r4c58761840444a193ea75a34c0ceb6c2149596f8 -r442c78818e7b5fea5a339049fab14b7f261e0198 --- System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateContributionOfFMInProjectExplorer.cs (.../ValidateContributionOfFMInProjectExplorer.cs) (revision 4c58761840444a193ea75a34c0ceb6c2149596f8) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateContributionOfFMInProjectExplorer.cs (.../ValidateContributionOfFMInProjectExplorer.cs) (revision 442c78818e7b5fea5a339049fab14b7f261e0198) @@ -106,23 +106,20 @@ [System.CodeDom.Compiler.GeneratedCode("Ranorex", global::Ranorex.Core.Constants.CodeGenVersion)] void ITestModule.Run() { - Mouse.DefaultMoveTime = 300; + Mouse.DefaultMoveTime = 0; Keyboard.DefaultKeyPressTime = 20; - Delay.SpeedFactor = 1.00; + Delay.SpeedFactor = 0.00; Init(); Report.Log(ReportLevel.Info, "Invoke action", "Invoking Focus() on item 'RiskeerMainWindow.ProjectExplorer.ProjectRootNode.TrajectWithSubstringInName.GenericFMItemWithSubstringInName'.", repo.RiskeerMainWindow.ProjectExplorer.ProjectRootNode.TrajectWithSubstringInName.GenericFMItemWithSubstringInName.SelfInfo, new RecordItemIndex(0)); repo.RiskeerMainWindow.ProjectExplorer.ProjectRootNode.TrajectWithSubstringInName.GenericFMItemWithSubstringInName.Self.Focus(); - Delay.Milliseconds(0); Report.Log(ReportLevel.Info, "Invoke action", "Invoking Select() on item 'RiskeerMainWindow.ProjectExplorer.ProjectRootNode.TrajectWithSubstringInName.GenericFMItemWithSubstringInName'.", repo.RiskeerMainWindow.ProjectExplorer.ProjectRootNode.TrajectWithSubstringInName.GenericFMItemWithSubstringInName.SelfInfo, new RecordItemIndex(1)); repo.RiskeerMainWindow.ProjectExplorer.ProjectRootNode.TrajectWithSubstringInName.GenericFMItemWithSubstringInName.Self.Select(); - Delay.Milliseconds(0); Report.Log(ReportLevel.Info, "Validation", "Validating AttributeEqual (AccessibleValue=$expectedContributionPE) on item 'RiskeerMainWindow.PropertiesPanelContainer.Table.FaalkansbijdragePercent'.", repo.RiskeerMainWindow.PropertiesPanelContainer.Table.FaalkansbijdragePercentInfo, new RecordItemIndex(2)); Validate.AttributeEqual(repo.RiskeerMainWindow.PropertiesPanelContainer.Table.FaalkansbijdragePercentInfo, "AccessibleValue", expectedContributionPE); - Delay.Milliseconds(100); Report.Log(ReportLevel.Info, "User", expectedContributionPE, new RecordItemIndex(3)); Index: System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateContributionOfFMInProjectExplorer.rxrec =================================================================== diff -u -r4c58761840444a193ea75a34c0ceb6c2149596f8 -r442c78818e7b5fea5a339049fab14b7f261e0198 --- System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateContributionOfFMInProjectExplorer.rxrec (.../ValidateContributionOfFMInProjectExplorer.rxrec) (revision 4c58761840444a193ea75a34c0ceb6c2149596f8) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateContributionOfFMInProjectExplorer.rxrec (.../ValidateContributionOfFMInProjectExplorer.rxrec) (revision 442c78818e7b5fea5a339049fab14b7f261e0198) @@ -7,7 +7,7 @@ 1 - False + True True Index: System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateValueParameterForItemInTraject.UserCode.cs =================================================================== diff -u --- System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateValueParameterForItemInTraject.UserCode.cs (revision 0) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateValueParameterForItemInTraject.UserCode.cs (revision 442c78818e7b5fea5a339049fab14b7f261e0198) @@ -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 +{ + public partial class ValidateValueParameterForItemInTraject + { + /// + /// 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/ValidateValueParameterForItemInTraject.cs =================================================================== diff -u --- System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateValueParameterForItemInTraject.cs (revision 0) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateValueParameterForItemInTraject.cs (revision 442c78818e7b5fea5a339049fab14b7f261e0198) @@ -0,0 +1,140 @@ +/////////////////////////////////////////////////////////////////////////////// +// +// 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 ValidateValueParameterForItemInTraject recording. + /// + [TestModule("54946666-7cba-49b9-b848-41ea43b074d9", ModuleType.Recording, 1)] + public partial class ValidateValueParameterForItemInTraject : ITestModule + { + /// + /// Holds an instance of the AutomatedSystemTestsRepository repository. + /// + public static AutomatedSystemTestsRepository repo = AutomatedSystemTestsRepository.Instance; + + static ValidateValueParameterForItemInTraject instance = new ValidateValueParameterForItemInTraject(); + + /// + /// Constructs a new instance. + /// + public ValidateValueParameterForItemInTraject() + { + expectedValueOfParameterForItemInTraject = ""; + } + + /// + /// Gets a static instance of this recording. + /// + public static ValidateValueParameterForItemInTraject Instance + { + get { return instance; } + } + +#region Variables + + string _expectedValueOfParameterForItemInTraject; + + /// + /// Gets or sets the value of variable expectedValueOfParameterForItemInTraject. + /// + [TestVariable("541e9cf7-fb71-4773-bd20-19b633ea6f9d")] + public string expectedValueOfParameterForItemInTraject + { + get { return _expectedValueOfParameterForItemInTraject; } + set { _expectedValueOfParameterForItemInTraject = value; } + } + + /// + /// Gets or sets the value of variable substringTrajectName. + /// + [TestVariable("77ae6c27-603e-4704-add9-e1249169f0e5")] + public string substringTrajectName + { + get { return repo.substringTrajectName; } + set { repo.substringTrajectName = value; } + } + + /// + /// Gets or sets the value of variable substringNameItemInTraject. + /// + [TestVariable("cb52c14e-9bef-4f4a-9d11-1758141c50cb")] + public string substringNameItemInTraject + { + get { return repo.substringNameItemInTraject; } + set { repo.substringNameItemInTraject = value; } + } + + /// + /// Gets or sets the value of variable nameOfParameterInPropertiesPanel. + /// + [TestVariable("be55172b-156d-4b6c-a990-593bf6c5d6a2")] + public string nameOfParameterInPropertiesPanel + { + get { return repo.nameOfParameterInPropertiesPanel; } + set { repo.nameOfParameterInPropertiesPanel = 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(); + + Report.Log(ReportLevel.Info, "Invoke action", "Invoking Focus() on item 'RiskeerMainWindow.ProjectExplorer.ProjectRootNode.TrajectWithSubstringInName.GenericItemInTraject'.", repo.RiskeerMainWindow.ProjectExplorer.ProjectRootNode.TrajectWithSubstringInName.GenericItemInTrajectInfo, new RecordItemIndex(0)); + repo.RiskeerMainWindow.ProjectExplorer.ProjectRootNode.TrajectWithSubstringInName.GenericItemInTraject.Focus(); + + Report.Log(ReportLevel.Info, "Invoke action", "Invoking Select() on item 'RiskeerMainWindow.ProjectExplorer.ProjectRootNode.TrajectWithSubstringInName.GenericItemInTraject'.", repo.RiskeerMainWindow.ProjectExplorer.ProjectRootNode.TrajectWithSubstringInName.GenericItemInTrajectInfo, new RecordItemIndex(1)); + repo.RiskeerMainWindow.ProjectExplorer.ProjectRootNode.TrajectWithSubstringInName.GenericItemInTraject.Select(); + + Report.Log(ReportLevel.Info, "Validation", "Validating AttributeEqual (AccessibleValue=$expectedValueOfParameterForItemInTraject) on item 'RiskeerMainWindow.PropertiesPanelContainer.Table.GenericParameterVisibleInProjectExplorer'.", repo.RiskeerMainWindow.PropertiesPanelContainer.Table.GenericParameterVisibleInProjectExplorerInfo, new RecordItemIndex(2)); + Validate.AttributeEqual(repo.RiskeerMainWindow.PropertiesPanelContainer.Table.GenericParameterVisibleInProjectExplorerInfo, "AccessibleValue", expectedValueOfParameterForItemInTraject); + + } + +#region Image Feature Data +#endregion + } +#pragma warning restore 0436 +} Index: System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateValueParameterForItemInTraject.rxrec =================================================================== diff -u --- System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateValueParameterForItemInTraject.rxrec (revision 0) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateValueParameterForItemInTraject.rxrec (revision 442c78818e7b5fea5a339049fab14b7f261e0198) @@ -0,0 +1,119 @@ + + + + 1 + + + True + + + True + + + 1 + + + True + + + + + + + + + + + + + + + + /form[@automationid='RiskeerMainWindow']//container[@controlname='ProjectExplorer']//tree[@controlname='treeView']/tree[@accessiblerole='Outline']/treeitem[1]/treeitem[@accessiblename~$substringTrajectName]/treeitem[@accessiblename=@substringnameitemintraject] + + + + + + + + + + + + + /form[@automationid='RiskeerMainWindow']//container[@controlname='ProjectExplorer']//tree[@controlname='treeView']/tree[@accessiblerole='Outline']/treeitem[1]/treeitem[@accessiblename~$substringTrajectName]/treeitem[@accessiblename=@substringnameitemintraject] + + + + + + + + + + + + + + + /form[@automationid='RiskeerMainWindow']//container[@controlname='PropertiesPanelGridView']//table[@accessiblename='Properties Window']/row[@accessiblename=$nameOfParameterInPropertiesPanel] + + + + AccessibleValue + + + yourValue + + + + + + + + + + + ValidateValueParameterForItemInTraject.UserCode.cs + + + +