Index: System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj =================================================================== diff -u -rebfa1996df5454be7b3b2f4e7c4af5e1330a4c37 -r3d784d49fb2ff11a12bcca4ffcfdcd091e65db45 --- System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj (.../AutomatedSystemTests.csproj) (revision ebfa1996df5454be7b3b2f4e7c4af5e1330a4c37) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj (.../AutomatedSystemTests.csproj) (revision 3d784d49fb2ff11a12bcca4ffcfdcd091e65db45) @@ -1527,6 +1527,18 @@ 59e66fad-2051-478d-b369-3d8e34f464fb + + 6e0fb325-0c1b-43dd-b8fe-279df0bb06bc + ValidateFMAssemblyProbability.rxrec + true + 339fedb2-33b6-429e-9deb-b2d6bf2497e4 + + + 6e0fb325-0c1b-43dd-b8fe-279df0bb06bc + ValidateFMAssemblyProbability.rxrec + true + 74403695-3102-4a2a-a8fc-b2dbfd402078 + 452096ad-9aec-4f1f-b5b9-5a9f507ce492 @@ -2364,6 +2376,11 @@ aec09b15-20aa-4f46-96b6-b6bd66a8d9b9 7bc728af-f14c-4f8b-8354-b59262002f99 + + 8b6648ca-2429-462f-8074-96184700bbed + 6e0fb325-0c1b-43dd-b8fe-279df0bb06bc + 20872583-1d50-4408-9f39-87126baf3c34 + 8b6648ca-2429-462f-8074-96184700bbed 3aa152e0-983f-4439-a308-b6281e5982da Index: System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTestsRepository.cs =================================================================== diff -u -rebfa1996df5454be7b3b2f4e7c4af5e1330a4c37 -r3d784d49fb2ff11a12bcca4ffcfdcd091e65db45 --- System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTestsRepository.cs (.../AutomatedSystemTestsRepository.cs) (revision ebfa1996df5454be7b3b2f4e7c4af5e1330a4c37) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTestsRepository.cs (.../AutomatedSystemTestsRepository.cs) (revision 3d784d49fb2ff11a12bcca4ffcfdcd091e65db45) @@ -1805,6 +1805,7 @@ AutomatedSystemTestsRepositoryFolders.TableFMResultViewFolder _tablefmresultview; RepoItemInfo _failureprobabilityfmInfo; RepoItemInfo _expanddropdownmenuInfo; + RepoItemInfo _failuremechanismassemblyprobabilityInfo; /// /// Creates a new FM_ResultView folder. @@ -1815,6 +1816,7 @@ _tablefmresultview = new AutomatedSystemTestsRepositoryFolders.TableFMResultViewFolder(this); _failureprobabilityfmInfo = new RepoItemInfo(this, "FailureProbabilityFM", "container[@controlname='TableLayoutPanel']/text/text", "", 30000, null, "4bda29c4-58e8-4b08-ac2e-ec866b6f1fb6"); _expanddropdownmenuInfo = new RepoItemInfo(this, "ExpandDropDownMenu", "container[@controlname='TableLayoutPanel']/combobox[@controlname='probabilityResultTypeComboBox']/button", "", 30000, null, "8a65568d-140f-4c4f-b21d-a105a8285816"); + _failuremechanismassemblyprobabilityInfo = new RepoItemInfo(this, "FailureMechanismAssemblyProbability", "container[@automationid='TableLayoutPanel']/text[@automationid='failureMechanismAssemblyProbabilityTextBox']", "", 30000, null, "0a798c6e-09c7-4c5e-a5d5-688f39cf54c1"); } /// @@ -1890,6 +1892,30 @@ } /// + /// The FailureMechanismAssemblyProbability item. + /// + [RepositoryItem("0a798c6e-09c7-4c5e-a5d5-688f39cf54c1")] + public virtual Ranorex.Text FailureMechanismAssemblyProbability + { + get + { + return _failuremechanismassemblyprobabilityInfo.CreateAdapter(true); + } + } + + /// + /// The FailureMechanismAssemblyProbability item info. + /// + [RepositoryItemInfo("0a798c6e-09c7-4c5e-a5d5-688f39cf54c1")] + public virtual RepoItemInfo FailureMechanismAssemblyProbabilityInfo + { + get + { + return _failuremechanismassemblyprobabilityInfo; + } + } + + /// /// The TableFMResultView folder. /// [RepositoryFolder("a41c39c2-763f-4195-aef0-17e3e2be8655")] Index: System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTestsRepository.rximg =================================================================== diff -u -rebfa1996df5454be7b3b2f4e7c4af5e1330a4c37 -r3d784d49fb2ff11a12bcca4ffcfdcd091e65db45 Binary files differ Index: System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTestsRepository.rxrep =================================================================== diff -u -rebfa1996df5454be7b3b2f4e7c4af5e1330a4c37 -r3d784d49fb2ff11a12bcca4ffcfdcd091e65db45 --- System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTestsRepository.rxrep (.../AutomatedSystemTestsRepository.rxrep) (revision ebfa1996df5454be7b3b2f4e7c4af5e1330a4c37) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTestsRepository.rxrep (.../AutomatedSystemTestsRepository.rxrep) (revision 3d784d49fb2ff11a12bcca4ffcfdcd091e65db45) @@ -308,6 +308,17 @@ searchtimeout="30000ms"> /form[@automationid='RiskeerMainWindow']/container/container[4]/container/container[@instance='1' and @controltypename='WinFormsAdapter']/container[@controlname~'FailureMechanismResultView']/container[@controlname='TableLayoutPanel']/combobox[@controlname='probabilityResultTypeComboBox']/button + + /form[@automationid='RiskeerMainWindow']/container/container[4]/container/container[@instance='1' and @controltypename='WinFormsAdapter']/container[@controlname~'FailureMechanismResultView']/container[@automationid='TableLayoutPanel']/text[@automationid='failureMechanismAssemblyProbabilityTextBox'] + /form[@automationid='RiskeerMainWindow']/container/container[4]/container/container[@instance='1' and @controltypename='WinFormsAdapter']/container[@controlname~'FailureMechanismResultView'] Index: System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/Validation/DocumentView/ValidateFMAssemblyProbability.UserCode.cs =================================================================== diff -u --- System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/Validation/DocumentView/ValidateFMAssemblyProbability.UserCode.cs (revision 0) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/Validation/DocumentView/ValidateFMAssemblyProbability.UserCode.cs (revision 3d784d49fb2ff11a12bcca4ffcfdcd091e65db45) @@ -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.Validation.DocumentView +{ + public partial class ValidateFMAssemblyProbability + { + /// + /// 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/Validation/DocumentView/ValidateFMAssemblyProbability.cs =================================================================== diff -u --- System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/Validation/DocumentView/ValidateFMAssemblyProbability.cs (revision 0) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/Validation/DocumentView/ValidateFMAssemblyProbability.cs (revision 3d784d49fb2ff11a12bcca4ffcfdcd091e65db45) @@ -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.Validation.DocumentView +{ +#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 ValidateFMAssemblyProbability recording. + /// + [TestModule("20872583-1d50-4408-9f39-87126baf3c34", ModuleType.Recording, 1)] + public partial class ValidateFMAssemblyProbability : ITestModule + { + /// + /// Holds an instance of the global::AutomatedSystemTests.AutomatedSystemTestsRepository repository. + /// + public static global::AutomatedSystemTests.AutomatedSystemTestsRepository repo = global::AutomatedSystemTests.AutomatedSystemTestsRepository.Instance; + + static ValidateFMAssemblyProbability instance = new ValidateFMAssemblyProbability(); + + /// + /// Constructs a new instance. + /// + public ValidateFMAssemblyProbability() + { + FMAssemblyProbability = ""; + } + + /// + /// Gets a static instance of this recording. + /// + public static ValidateFMAssemblyProbability Instance + { + get { return instance; } + } + +#region Variables + + string _FMAssemblyProbability; + + /// + /// Gets or sets the value of variable FMAssemblyProbability. + /// + [TestVariable("f0dc1f20-f699-422e-bdc0-2a3455febb1b")] + public string FMAssemblyProbability + { + get { return _FMAssemblyProbability; } + set { _FMAssemblyProbability = 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 AttributeEqual (Text=$FMAssemblyProbability) on item 'RiskeerMainWindow.ContainerMultipleViews.DocumentViewContainer.FM_ResultView.FailureMechanismAssemblyProbability'.", repo.RiskeerMainWindow.ContainerMultipleViews.DocumentViewContainer.FM_ResultView.FailureMechanismAssemblyProbabilityInfo, new RecordItemIndex(0)); + Validate.AttributeEqual(repo.RiskeerMainWindow.ContainerMultipleViews.DocumentViewContainer.FM_ResultView.FailureMechanismAssemblyProbabilityInfo, "Text", FMAssemblyProbability); + Delay.Milliseconds(0); + + } + +#region Image Feature Data +#endregion + } +#pragma warning restore 0436 +} Index: System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/Validation/DocumentView/ValidateFMAssemblyProbability.rxrec =================================================================== diff -u --- System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/Validation/DocumentView/ValidateFMAssemblyProbability.rxrec (revision 0) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/Validation/DocumentView/ValidateFMAssemblyProbability.rxrec (revision 3d784d49fb2ff11a12bcca4ffcfdcd091e65db45) @@ -0,0 +1,1053 @@ + + + + 1 + + + False + + + True + + + 1 + + + True + + + + + + + + + + + + + + + + + + + 0 + + + 0 + + + + + 1/123.456 + + + failureMechanismAssemblyProbabilityTextBox + + + 1/123.456 + + + System.Windows.Forms.TextBox + + + TextBox + + + False + + + failureMechanismAssemblyProbabilityTextBox + + + WindowsForms10.EDIT.app.0.191a92a_r7_ad1 + + + failureMechanismAssemblyProbabilityTextBox + + + 7080774 + + + 0 + + + 4484 + + + Riskeer + + + RightScrollBar, Left, ClientEdge + + + Tiled, MaximizeBox, ClipChildren, ClipSiblings, Disabled, Visible, ChildWindow + + + 1/123.456 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + False + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + True + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + /form[@automationid='RiskeerMainWindow']/container/container[4]/container/container[@instance='1' and @controltypename='WinFormsAdapter']/container[@controlname~'FailureMechanismResultView']/container[@automationid='TableLayoutPanel']/text[@automationid='failureMechanismAssemblyProbabilityTextBox'] + + + + + + Text + + + yourtext + + + + + + + + + + + ValidateFMAssemblyProbability.UserCode.cs + + + + Index: System tests/AutomatedSystemTests/AutomatedSystemTests/Script22.rxtst =================================================================== diff -u -r5e2989c6dbe207331078e1e41b18fa28f43a7338 -r3d784d49fb2ff11a12bcca4ffcfdcd091e65db45 --- System tests/AutomatedSystemTests/AutomatedSystemTests/Script22.rxtst (.../Script22.rxtst) (revision 5e2989c6dbe207331078e1e41b18fa28f43a7338) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/Script22.rxtst (.../Script22.rxtst) (revision 3d784d49fb2ff11a12bcca4ffcfdcd091e65db45) @@ -163,6 +163,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -778,6 +824,20 @@ + + + + + + + + + + + + + + + + + + + + + + @@ -1021,6 +1106,20 @@ id="d601846d-0fa3-4dbc-833d-8685dbcea7f2" name="OpenResultsView"> + + + + + + @@ -1340,6 +1439,26 @@ + + + + + + + + + + newManualFMFailureProb + + P1FMFailureProb + + + P2FMFailureProb + @@ -1726,6 +1851,12 @@ newManualFMFailureProb + + P1FMFailureProb + + + P2FMFailureProb + @@ -1745,6 +1876,10 @@ + + + + @@ -1764,6 +1899,10 @@ + + + + @@ -1784,6 +1923,12 @@ 1/7654321 + + 1/1.111 + + + 1/1.234 + @@ -1804,6 +1949,12 @@ 1/8877665 + + 1/456.589 + + + 1/555.555 + @@ -1823,6 +1974,10 @@ + + + + @@ -1843,6 +1998,12 @@ 1/7766554 + + 1/96.618 + + + 1/123.456 + @@ -1858,6 +2019,9 @@ id="1a4bdd4f-4f87-465e-8d48-768d2657a89c"> + + + +