Index: System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj =================================================================== diff -u -r632c87324e4ceff58b0de074c6ad384a8d314432 -r82588073ddb8e42006c6e7bb5d631fda52df7502 --- System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj (.../AutomatedSystemTests.csproj) (revision 632c87324e4ceff58b0de074c6ad384a8d314432) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj (.../AutomatedSystemTests.csproj) (revision 82588073ddb8e42006c6e7bb5d631fda52df7502) @@ -1305,18 +1305,30 @@ true 6933b1f0-e685-46fa-afeb-f550560bf1b5 - + b6c2ba00-63e3-4440-af0f-320297649b7e - ValidateWaterLevelInDocumentView.rxrec + ValidateWaterLevelWaveHeightInDocumentView.rxrec true 8550311c-8bfa-4c55-a0d1-9a867ff12464 - + b6c2ba00-63e3-4440-af0f-320297649b7e - ValidateWaterLevelInDocumentView.rxrec + ValidateWaterLevelWaveHeightInDocumentView.rxrec true c0294f29-44a4-412a-8249-afbe98678ba2 + + 103381a9-7531-44a7-92ea-2144323f1101 + ValidateWaterLevelWaveHeightNotEmptyInDocumentView.rxrec + true + f9cbfcc6-0f9b-4b82-8969-0a205f97c232 + + + 103381a9-7531-44a7-92ea-2144323f1101 + ValidateWaterLevelWaveHeightNotEmptyInDocumentView.rxrec + true + 9183e89e-da58-4702-96c4-c8e026c09e87 + 22827a2a-52ff-4696-b84a-c57de9b4af2e WaitUntilAllCalculationsHaveBeenCarriedOut.rxrec @@ -1830,11 +1842,16 @@ f146138e-5d6e-47a6-b572-efcb4d6fe1ba 54946666-7cba-49b9-b848-41ea43b074d9 - + 8b6648ca-2429-462f-8074-96184700bbed b6c2ba00-63e3-4440-af0f-320297649b7e c93bb1b9-c14c-4a0a-ae72-fe034593361b + + 8b6648ca-2429-462f-8074-96184700bbed + 103381a9-7531-44a7-92ea-2144323f1101 + b7ac941c-5b89-48cd-92dd-2974ba18eb21 + 8b6648ca-2429-462f-8074-96184700bbed 22827a2a-52ff-4696-b84a-c57de9b4af2e Index: System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.rxtst =================================================================== diff -u -r3319c4731ddc76c640a08a70208c4c16ca09c354 -r82588073ddb8e42006c6e7bb5d631fda52df7502 --- System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.rxtst (.../AutomatedSystemTests.rxtst) (revision 3319c4731ddc76c640a08a70208c4c16ca09c354) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.rxtst (.../AutomatedSystemTests.rxtst) (revision 82588073ddb8e42006c6e7bb5d631fda52df7502) @@ -583,6 +583,12 @@ + + + + + + @@ -9917,7 +9931,7 @@ @@ -10551,6 +10565,28 @@ type="Recording"> + + + + + + + + + + + + + + + + + + + name="ValidateWaterLevelWaveHeightInDocumentView"> + name="ValidateWaterLevelWaveHeightInDocumentView"> + + + + + + + + + rowIndex + + + + + + + + + + + + + + + + + +
+ rowIndex +
+ 0 +
+ 1 +
+ 2 +
+
+ + ///The InitializeDropDownMenu recording. + /// + [TestModule("0e6a2e20-0223-4862-bd2e-af0df661ff0e", ModuleType.Recording, 1)] + public partial class InitializeDropDownMenu : ITestModule + { + /// + /// Holds an instance of the AutomatedSystemTestsRepository repository. + /// + public static AutomatedSystemTestsRepository repo = AutomatedSystemTestsRepository.Instance; + + static InitializeDropDownMenu instance = new InitializeDropDownMenu(); + + /// + /// Constructs a new instance. + /// + public InitializeDropDownMenu() + { + } + + /// + /// Gets a static instance of this recording. + /// + public static InitializeDropDownMenu 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; } + } + +#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, "Invoke action", "Invoking Select() on item 'RiskeerMainWindow.DocumentViewContainer.FailureMechanismResultView.TableDataGridView.CustomAsssessmentTypeRowNth'.", repo.RiskeerMainWindow.DocumentViewContainer.FailureMechanismResultView.TableDataGridView.CustomAsssessmentTypeRowNthInfo, new RecordItemIndex(1)); + repo.RiskeerMainWindow.DocumentViewContainer.FailureMechanismResultView.TableDataGridView.CustomAsssessmentTypeRowNth.Select(); + 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(2)); + repo.RiskeerMainWindow.DocumentViewContainer.FailureMechanismResultView.TableDataGridView.CustomAsssessmentTypeRowNth.Click(Location.CenterRight); + Delay.Milliseconds(0); + + Report.Log(ReportLevel.Info, "Delay", "Waiting for 100ms.", new RecordItemIndex(3)); + Delay.Duration(100, false); + + Report.Log(ReportLevel.Info, "Keyboard", "Key sequence '{Escape}'.", new RecordItemIndex(4)); + Keyboard.Press("{Escape}"); + Delay.Milliseconds(0); + + } + +#region Image Feature Data +#endregion + } +#pragma warning restore 0436 +} Fisheye: Tag 82588073ddb8e42006c6e7bb5d631fda52df7502 refers to a dead (removed) revision in file `System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateWaterLevelInDocumentView.UserCode.cs'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 82588073ddb8e42006c6e7bb5d631fda52df7502 refers to a dead (removed) revision in file `System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateWaterLevelInDocumentView.cs'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 82588073ddb8e42006c6e7bb5d631fda52df7502 refers to a dead (removed) revision in file `System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateWaterLevelInDocumentView.rxrec'. Fisheye: No comparison available. Pass `N' to diff? Index: System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateWaterLevelWaveHeightInDocumentView.UserCode.cs =================================================================== diff -u --- System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateWaterLevelWaveHeightInDocumentView.UserCode.cs (revision 0) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateWaterLevelWaveHeightInDocumentView.UserCode.cs (revision 82588073ddb8e42006c6e7bb5d631fda52df7502) @@ -0,0 +1,48 @@ +/////////////////////////////////////////////////////////////////////////////// +// +// 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.Globalization; +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 ValidateWaterLevelWaveHeightInDocumentView + { + /// + /// 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 string CovertValueIntoCurrentCulture(string valueToConvert) + { + System.Globalization.CultureInfo fixedDataSourceCulture = new CultureInfo("en-US"); + fixedDataSourceCulture.NumberFormat.NumberDecimalSeparator = "."; + fixedDataSourceCulture.NumberFormat.NumberGroupSeparator = ""; + System.Globalization.CultureInfo currentCulture = CultureInfo.CurrentCulture; + valueToConvert= Double.Parse(valueToConvert, fixedDataSourceCulture).ToString(currentCulture); + return valueToConvert; + } + + } +} Index: System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateWaterLevelWaveHeightInDocumentView.cs =================================================================== diff -u --- System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateWaterLevelWaveHeightInDocumentView.cs (revision 0) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateWaterLevelWaveHeightInDocumentView.cs (revision 82588073ddb8e42006c6e7bb5d631fda52df7502) @@ -0,0 +1,116 @@ +/////////////////////////////////////////////////////////////////////////////// +// +// 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 ValidateWaterLevelWaveHeightInDocumentView recording. + /// + [TestModule("c93bb1b9-c14c-4a0a-ae72-fe034593361b", ModuleType.Recording, 1)] + public partial class ValidateWaterLevelWaveHeightInDocumentView : ITestModule + { + /// + /// Holds an instance of the AutomatedSystemTestsRepository repository. + /// + public static AutomatedSystemTestsRepository repo = AutomatedSystemTestsRepository.Instance; + + static ValidateWaterLevelWaveHeightInDocumentView instance = new ValidateWaterLevelWaveHeightInDocumentView(); + + /// + /// Constructs a new instance. + /// + public ValidateWaterLevelWaveHeightInDocumentView() + { + expectedValue = ""; + } + + /// + /// Gets a static instance of this recording. + /// + public static ValidateWaterLevelWaveHeightInDocumentView Instance + { + get { return instance; } + } + +#region Variables + + string _expectedValue; + + /// + /// Gets or sets the value of variable expectedValue. + /// + [TestVariable("ac93a9b5-24d0-453b-8057-a697e7574717")] + public string expectedValue + { + get { return _expectedValue; } + set { _expectedValue = value; } + } + + /// + /// 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; } + } + +#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, "Validation", "Validating AttributeEqual (Text=$expectedValue) on item 'RiskeerMainWindow.DocumentViewContainer.DesignWaterLevelCalculationsViewCached.LeftSide.Table.WaterLevelNthRow'.", repo.RiskeerMainWindow.DocumentViewContainer.DesignWaterLevelCalculationsViewCached.LeftSide.Table.WaterLevelNthRowInfo, new RecordItemIndex(0)); + Validate.AttributeEqual(repo.RiskeerMainWindow.DocumentViewContainer.DesignWaterLevelCalculationsViewCached.LeftSide.Table.WaterLevelNthRowInfo, "Text", expectedValue); + + Report.Screenshot(ReportLevel.Info, "User", "", repo.RiskeerMainWindow.DocumentViewContainer.DesignWaterLevelCalculationsViewCached.LeftSide.Table.WaterLevelNthRow, false, new RecordItemIndex(1)); + + } + +#region Image Feature Data +#endregion + } +#pragma warning restore 0436 +} Index: System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateWaterLevelWaveHeightInDocumentView.rxrec =================================================================== diff -u --- System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateWaterLevelWaveHeightInDocumentView.rxrec (revision 0) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateWaterLevelWaveHeightInDocumentView.rxrec (revision 82588073ddb8e42006c6e7bb5d631fda52df7502) @@ -0,0 +1,99 @@ + + + + 1 + + + True + + + True + + + 1 + + + True + + + + + + + + + + + + + + + + + + /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='DesignWaterLevelCalculationsView']/container/container[@controlname='panel1']/container/table/row[@accessiblename='Row '+$rowIndex]/cell[@accessiblename>'Waterstand'] + + + + Text + + + yourValue + + + + + + + + + + /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='DesignWaterLevelCalculationsView']/container/container[@controlname='panel1']/container/table/row[@accessiblename='Row '+$rowIndex]/cell[@accessiblename>'Waterstand'] + + + + + + + + + + + + ValidateWaterLevelWaveHeightInDocumentView.UserCode.cs + + + + Index: System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateWaterLevelWaveHeightNotEmptyInDocumentView.UserCode.cs =================================================================== diff -u --- System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateWaterLevelWaveHeightNotEmptyInDocumentView.UserCode.cs (revision 0) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateWaterLevelWaveHeightNotEmptyInDocumentView.UserCode.cs (revision 82588073ddb8e42006c6e7bb5d631fda52df7502) @@ -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 ValidateWaterLevelWaveHeightNotEmptyInDocumentView + { + /// + /// 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/ValidateWaterLevelWaveHeightNotEmptyInDocumentView.cs =================================================================== diff -u --- System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateWaterLevelWaveHeightNotEmptyInDocumentView.cs (revision 0) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateWaterLevelWaveHeightNotEmptyInDocumentView.cs (revision 82588073ddb8e42006c6e7bb5d631fda52df7502) @@ -0,0 +1,117 @@ +/////////////////////////////////////////////////////////////////////////////// +// +// 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 ValidateWaterLevelWaveHeightNotEmptyInDocumentView recording. + /// + [TestModule("b7ac941c-5b89-48cd-92dd-2974ba18eb21", ModuleType.Recording, 1)] + public partial class ValidateWaterLevelWaveHeightNotEmptyInDocumentView : ITestModule + { + /// + /// Holds an instance of the AutomatedSystemTestsRepository repository. + /// + public static AutomatedSystemTestsRepository repo = AutomatedSystemTestsRepository.Instance; + + static ValidateWaterLevelWaveHeightNotEmptyInDocumentView instance = new ValidateWaterLevelWaveHeightNotEmptyInDocumentView(); + + /// + /// Constructs a new instance. + /// + public ValidateWaterLevelWaveHeightNotEmptyInDocumentView() + { + notExpectedValue = ""; + } + + /// + /// Gets a static instance of this recording. + /// + public static ValidateWaterLevelWaveHeightNotEmptyInDocumentView Instance + { + get { return instance; } + } + +#region Variables + + string _notExpectedValue; + + /// + /// Gets or sets the value of variable notExpectedValue. + /// + [TestVariable("cfd6ab47-34a6-480e-82b3-0cb82ab6f500")] + public string notExpectedValue + { + get { return _notExpectedValue; } + set { _notExpectedValue = value; } + } + + /// + /// 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; } + } + +#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, "Validation", "Validating AttributeNotEqual (Text!=$notExpectedValue) on item 'RiskeerMainWindow.DocumentViewContainer.DesignWaterLevelCalculationsViewCached.LeftSide.Table.WaterLevelNthRow'.", repo.RiskeerMainWindow.DocumentViewContainer.DesignWaterLevelCalculationsViewCached.LeftSide.Table.WaterLevelNthRowInfo, new RecordItemIndex(0)); + Validate.AttributeNotEqual(repo.RiskeerMainWindow.DocumentViewContainer.DesignWaterLevelCalculationsViewCached.LeftSide.Table.WaterLevelNthRowInfo, "Text", notExpectedValue); + Delay.Milliseconds(0); + + Report.Screenshot(ReportLevel.Info, "User", "", repo.RiskeerMainWindow.DocumentViewContainer.DesignWaterLevelCalculationsViewCached.LeftSide.Table.WaterLevelNthRow, false, new RecordItemIndex(1)); + + } + +#region Image Feature Data +#endregion + } +#pragma warning restore 0436 +} Index: System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateWaterLevelWaveHeightNotEmptyInDocumentView.rxrec =================================================================== diff -u --- System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateWaterLevelWaveHeightNotEmptyInDocumentView.rxrec (revision 0) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/ValidateWaterLevelWaveHeightNotEmptyInDocumentView.rxrec (revision 82588073ddb8e42006c6e7bb5d631fda52df7502) @@ -0,0 +1,99 @@ + + + + 1 + + + False + + + True + + + 1 + + + True + + + + + + + + + + + + + + + + + + /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='DesignWaterLevelCalculationsView']/container/container[@controlname='panel1']/container/table/row[@accessiblename='Row '+$rowIndex]/cell[@accessiblename>'Waterstand'] + + + + Text + + + yourValue + + + + + + + + + + /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='DesignWaterLevelCalculationsView']/container/container[@controlname='panel1']/container/table/row[@accessiblename='Row '+$rowIndex]/cell[@accessiblename>'Waterstand'] + + + + + + + + + + + + ValidateWaterLevelWaveHeightNotEmptyInDocumentView.UserCode.cs + + + +