Index: System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj =================================================================== diff -u -ra102067765157b0ae1e9386d7029cf4081165138 -r5859d1e3ad9c0659dddf68e3d9f5e44d6c6d218e --- System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj (.../AutomatedSystemTests.csproj) (revision a102067765157b0ae1e9386d7029cf4081165138) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj (.../AutomatedSystemTests.csproj) (revision 5859d1e3ad9c0659dddf68e3d9f5e44d6c6d218e) @@ -1896,6 +1896,9 @@ 451d0653-a93b-4305-83ac-406b8bea1f77 + + 76c673a9-a642-49e6-9c0f-194fe9463b9f + ef5b2d51-65fd-4f10-9182-72da3a833f1b Index: System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/Validation/Abstract/ValidateEqualityStrings.cs =================================================================== diff -u --- System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/Validation/Abstract/ValidateEqualityStrings.cs (revision 0) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/Modules/Validation/Abstract/ValidateEqualityStrings.cs (revision 5859d1e3ad9c0659dddf68e3d9f5e44d6c6d218e) @@ -0,0 +1,82 @@ +/* + * Created by Ranorex + * User: rodriqu_dd + * Date: 25/03/2022 + * Time: 13:08 + * + * To change this template use Tools > Options > Coding > Edit standard headers. + */ +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; + +namespace AutomatedSystemTests.Modules.Validation.Abstract +{ + /// + /// Description of ValidateEqualityStrings. + /// + [TestModule("BE733B7A-096B-4716-91C9-93590425588B", ModuleType.UserCode, 1)] + public class ValidateEqualityStrings : ITestModule + { + + string _string1 = ""; + [TestVariable("35edb599-3a82-403c-a68d-d122782e2bd2")] + public string string1 + { + get { return _string1; } + set { _string1 = value; } + } + + + string _string2 = ""; + [TestVariable("70f1e163-3004-4b25-9a49-22f777e8aae1")] + public string string2 + { + get { return _string2; } + set { _string2 = value; } + } + + + string _equalityIsExpected = ""; + [TestVariable("e91a369c-1da2-47ba-9ad5-0524ec4a94dc")] + public string equalityIsExpected + { + get { return _equalityIsExpected; } + set { _equalityIsExpected = value; } + } + + /// + /// Constructs a new instance. + /// + public ValidateEqualityStrings() + { + // Do not delete - a parameterless constructor is required! + } + + /// + /// Performs the playback of actions in this module. + /// + /// You should not call this method directly, instead pass the module + /// instance to the method + /// that will in turn invoke this method. + void ITestModule.Run() + { + if (equalityIsExpected=="true") { + Report.Info("Validating that string1ToCompare = " + string1 + " and string2ToCompare = " + string2+ " are equal."); + Validate.AreEqual(string1, string2); + } else + { + Report.Info("Validating that string1ToCompare = " + string1 + " and string2ToCompare = " + string2+ " are unequal."); + Validate.IsFalse(string1==string2); + } + } + } +} Index: System tests/AutomatedSystemTests/AutomatedSystemTests/Script08.rxtst =================================================================== diff -u -r674ffb29bf8545b26224482a768ff4eea9b17d1a -r5859d1e3ad9c0659dddf68e3d9f5e44d6c6d218e --- System tests/AutomatedSystemTests/AutomatedSystemTests/Script08.rxtst (.../Script08.rxtst) (revision 674ffb29bf8545b26224482a768ff4eea9b17d1a) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/Script08.rxtst (.../Script08.rxtst) (revision 5859d1e3ad9c0659dddf68e3d9f5e44d6c6d218e) @@ -25,6 +25,12 @@ + + + + + + + + + + + + + + + + + + + + @@ -432,6 +484,20 @@ + + + + + + + + + + + + + + + + @@ -1169,6 +1258,14 @@ name="trajectLengthValue" value=""> + + + + @@ -1274,6 +1371,13 @@ + + + + - - - - - - - - - - + + + + + + @@ -2415,6 +2510,12 @@ + + @@ -2478,6 +2579,7 @@ + + + + + + - - - - - - + variableid="a31c9d25-98bf-4be6-a0e1-d56bcf8fe1d8" + variablename="pathToItemInProjectExplorer"> @@ -2703,6 +2800,10 @@ name="nameOfLengthParameterToValidate" value="Lengte* [m]"> + + @@ -2890,10 +2991,6 @@ id="65699a3b-a6bc-4727-bd0e-f832127575ce" name="ReadTrajectLength"> - - @@ -2903,18 +3000,54 @@ + + + + + id="3ae447dc-8897-42ca-af99-08bbdb5f077c" + name="SelectGenericItemInProjectExplorer"> + + + + + + + + + + + + + + @@ -4458,31 +4591,46 @@ type="Ranorex.Core.Data.SimpleDataConnector"> - fmName + pathToFM + + pathToLengthInPPforFM + + + + +
- fmName + pathToFM + pathToLengthInPPforFM +
- Piping + Traject>@GF>@STPH + Lengte-effect>Lengte +
- Macrostabiliteit binnenwaarts + Traject>@GF>@STBI + Lengte-effect>Lengte +
- Golfklappen op asfaltbekleding + Traject>@GF>@AGK + Lengte-effect>Lengte +
@@ -4751,6 +4899,9 @@ id="a42ea627-0e94-475a-ab47-26af7e16caeb"> + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + id="46d281ab-a2a3-4602-8787-792a9fb83272" + name="OpenDocumentViewForHydraulicBCItem"> + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- - - pathFromTrajectToHydraulicBCCalculationItem - - - fmLabel - - - - - - - - - - - - - -
- pathFromTrajectToHydraulicBCCalculationItem - - fmLabel -
- Traject>@HB>Waterstanden>1/3000 - -
-
- - -