Index: System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj =================================================================== diff -u -rbc05a9e85c0b0c4d23897a22c743ac28bcc60609 -r4f837f19b680f3b1c95e72ae02f10b6aa53f6638 --- System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj (.../AutomatedSystemTests.csproj) (revision bc05a9e85c0b0c4d23897a22c743ac28bcc60609) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj (.../AutomatedSystemTests.csproj) (revision 4f837f19b680f3b1c95e72ae02f10b6aa53f6638) @@ -507,6 +507,18 @@ true 955819d2-1ece-4474-9f41-eeaed03ad5a8 + + 0123ee1f-b03e-43f7-aab1-31c845d92f72 + SetCustomAssessmentAtRowCategories.rxrec + true + 73a246cf-3c9d-4486-bc9f-095223c13858 + + + 0123ee1f-b03e-43f7-aab1-31c845d92f72 + SetCustomAssessmentAtRowCategories.rxrec + true + 862cfb46-b169-45e8-82a9-91f31df0631b + a0c074a3-3c19-4557-8ef3-533b43266955 SetDetailedAssessmentForRowPerSection.rxrec @@ -1122,6 +1134,11 @@ b838adb7-b43d-43a1-864f-14728db0fe9a dc218a16-91e8-4197-ae23-5bbe0c083a04 + + 8b6648ca-2429-462f-8074-96184700bbed + 0123ee1f-b03e-43f7-aab1-31c845d92f72 + 0a1c5bcf-8247-4ca8-bbd1-a4f8f26f6474 + 8b6648ca-2429-462f-8074-96184700bbed a0c074a3-3c19-4557-8ef3-533b43266955 Index: System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.rxtst =================================================================== diff -u -r380831c9023b8f955034e58b5fdb2bea03a47129 -r4f837f19b680f3b1c95e72ae02f10b6aa53f6638 --- System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.rxtst (.../AutomatedSystemTests.rxtst) (revision 380831c9023b8f955034e58b5fdb2bea03a47129) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.rxtst (.../AutomatedSystemTests.rxtst) (revision 4f837f19b680f3b1c95e72ae02f10b6aa53f6638) @@ -207,6 +207,11 @@ + + + + @@ -404,6 +414,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3225,6 +3373,11 @@ id="79ea34f0-ed79-448c-8aa5-d952976bfec4" name="LoopRowsSelectDetailedAssessmentType"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -4872,6 +5146,12 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6096,6 +6438,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7027,6 +7453,40 @@ + + + + + + + + + + + + + + @@ -7063,6 +7523,12 @@ name="ValidateDetailedAsssessmentType"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + rowIndex + + + CustomAssessmentTypeItem + + + + + + X:\script21\CSVs\customAssessmentCategories.csv + + + + + + rowIndex + + + CustomAssessmentTypeItem + + + + + + X:\script21\CSVs\customAssessmentCategories.csv + + + + + + rowIndex + + + CustomAssessmentTypeItem + + + + + + X:\script21\CSVs\customAssessmentCategories.csv + + + + + + rowIndex + + + CustomAssessmentTypeItem + + + + + + X:\script21\CSVs\customAssessmentCategories.csv + + + + + + rowIndex + + + CustomAssessmentTypeItem + + + + + + X:\script21\CSVs\customAssessmentCategories.csv + + + + + + rowIndex + + + CustomAssessmentTypeItem + + + + + + X:\script21\CSVs\expectedCustomAssessmentCategories.csv + + + + + + rowIndex + + + CustomAssessmentTypeItem + + + + + + X:\script21\CSVs\expectedCustomAssessmentCategories.csv + + + + + + rowIndex + + + CustomAssessmentTypeItem + + + + + + X:\script21\CSVs\expectedCustomAssessmentCategories.csv + + + + + + rowIndex + + + CustomAssessmentTypeItem + + + + + + X:\script21\CSVs\expectedCustomAssessmentCategories.csv + + + + + + NameFM + + + Label + + + + + + X:\script21\CSVs\customAssessmentFMsGroup2.csv + + + + + + + - - - - - - - - - - /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='FailureMechanismResultView']/container/table[@controlname='dataGridView']/row[@accessiblename='Row '+$rowIndex]/cell[@accessiblename>'Toets op maat faalkans Row '] - - - - yourValue - - + /// 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/SetCustomAssessmentAtRowCategories.cs =================================================================== diff -u --- System tests/AutomatedSystemTests/AutomatedSystemTests/SetCustomAssessmentAtRowCategories.cs (revision 0) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/SetCustomAssessmentAtRowCategories.cs (revision 4f837f19b680f3b1c95e72ae02f10b6aa53f6638) @@ -0,0 +1,120 @@ +/////////////////////////////////////////////////////////////////////////////// +// +// 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 SetCustomAssessmentAtRowCategories recording. + /// + [TestModule("0a1c5bcf-8247-4ca8-bbd1-a4f8f26f6474", ModuleType.Recording, 1)] + public partial class SetCustomAssessmentAtRowCategories : ITestModule + { + /// + /// Holds an instance of the AutomatedSystemTestsRepository repository. + /// + public static AutomatedSystemTestsRepository repo = AutomatedSystemTestsRepository.Instance; + + static SetCustomAssessmentAtRowCategories instance = new SetCustomAssessmentAtRowCategories(); + + /// + /// Constructs a new instance. + /// + public SetCustomAssessmentAtRowCategories() + { + } + + /// + /// Gets a static instance of this recording. + /// + public static SetCustomAssessmentAtRowCategories Instance + { + get { return instance; } + } + +#region Variables + + /// + /// Gets or sets the value of variable rowIndex. + /// + [TestVariable("3191cedb-5ef9-4f31-85c1-c8b9bb6a46f0")] + public string rowIndex + { + get { return repo.rowIndex; } + set { repo.rowIndex = value; } + } + + /// + /// Gets or sets the value of variable textItemDropDownMenu. + /// + [TestVariable("d82001f1-20c0-4080-a06d-9f1f8ee3a56d")] + public string textItemDropDownMenu + { + get { return repo.textItemDropDownMenu; } + set { repo.textItemDropDownMenu = 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, "Invoke action", "Invoking Focus() on item 'RiskeerMainWindow.DocumentViewContainer.FailureMechanismResultView.TableDataGridView.CustomAsssessmentTypeRowNth'.", repo.RiskeerMainWindow.DocumentViewContainer.FailureMechanismResultView.TableDataGridView.CustomAsssessmentTypeRowNthInfo, new RecordItemIndex(0)); + repo.RiskeerMainWindow.DocumentViewContainer.FailureMechanismResultView.TableDataGridView.CustomAsssessmentTypeRowNth.Focus(); + Delay.Milliseconds(0); + + Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'RiskeerMainWindow.DocumentViewContainer.FailureMechanismResultView.TableDataGridView.CustomAsssessmentTypeRowNth' at CenterRight.", repo.RiskeerMainWindow.DocumentViewContainer.FailureMechanismResultView.TableDataGridView.CustomAsssessmentTypeRowNthInfo, new RecordItemIndex(1)); + repo.RiskeerMainWindow.DocumentViewContainer.FailureMechanismResultView.TableDataGridView.CustomAsssessmentTypeRowNth.Click(Location.CenterRight); + Delay.Milliseconds(0); + + Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'DropDownMenuItemList.GenericDropDownItem' at Center.", repo.DropDownMenuItemList.GenericDropDownItemInfo, new RecordItemIndex(2)); + repo.DropDownMenuItemList.GenericDropDownItem.Click(); + Delay.Milliseconds(0); + + } + +#region Image Feature Data +#endregion + } +#pragma warning restore 0436 +} Index: System tests/AutomatedSystemTests/AutomatedSystemTests/SetCustomAssessmentAtRowCategories.rxrec =================================================================== diff -u --- System tests/AutomatedSystemTests/AutomatedSystemTests/SetCustomAssessmentAtRowCategories.rxrec (revision 0) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/SetCustomAssessmentAtRowCategories.rxrec (revision 4f837f19b680f3b1c95e72ae02f10b6aa53f6638) @@ -0,0 +1,116 @@ + + + + 1 + + + False + + + True + + + 1 + + + True + + + + + + + + + + + + + + /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='FailureMechanismResultView']/container/table[@controlname='dataGridView']/row[@accessiblename='Row '+$rowIndex]/cell[@accessiblename='Toets op maat Row '+$rowIndex] + + + + + + + + + + + + + /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='FailureMechanismResultView']/container/table[@controlname='dataGridView']/row[@accessiblename='Row '+$rowIndex]/cell[@accessiblename='Toets op maat Row '+$rowIndex] + + + + + + + + + + + /list[@controlid='1000']/listitem[@text=$textItemDropDownMenu] + + + + + + + + + + + + SetCustomAssessmentAtRowCategories.UserCode.cs + + + +