Index: System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj =================================================================== diff -u -r63a9527bdd86b352515c37b3732696b9624db6b1 -r77350fe3ea49ac113d98a24c817657ffcb63a72c --- System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj (.../AutomatedSystemTests.csproj) (revision 63a9527bdd86b352515c37b3732696b9624db6b1) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.csproj (.../AutomatedSystemTests.csproj) (revision 77350fe3ea49ac113d98a24c817657ffcb63a72c) @@ -222,6 +222,18 @@ true 47fc6b52-2f0b-4243-80e6-008831d5051a + + ebce4f06-318d-46f0-8678-c8e82cb57486 + GenerateRandomNumberInRangeCases.rxrec + true + 689107e8-05bf-4c50-9ceb-4031fa99f2dd + + + ebce4f06-318d-46f0-8678-c8e82cb57486 + GenerateRandomNumberInRangeCases.rxrec + true + b4c096e7-78e8-4d11-aa8e-e966516af4a3 + b93d65f3-b57f-4c3d-8b35-8fa845923bbb InitializeDropDownMenu.rxrec @@ -246,6 +258,18 @@ true 1d2c3767-8d32-4e1a-80b7-11f08b53e320 + + 98b58192-c302-41a8-bc71-46e3d4a052eb + SelecteSingleCaseInRange.rxrec + true + ec00e433-dbc1-44ea-9754-75c60ed35b11 + + + 98b58192-c302-41a8-bc71-46e3d4a052eb + SelecteSingleCaseInRange.rxrec + true + 8a1144b6-29cf-4286-84a6-195390f7f04f + 77a507ba-55df-4f3b-b312-cdf9eaa7c68b SelectGenericItemInProjectExplorer.rxrec @@ -1428,6 +1452,11 @@ c0a92f2d-ef50-471d-8e1e-2102097c50ca 8ffa45e8-2152-4d07-9590-20154379e184 + + 8b6648ca-2429-462f-8074-96184700bbed + ebce4f06-318d-46f0-8678-c8e82cb57486 + 6104469d-a535-47ca-b393-2256db12cca4 + 8b6648ca-2429-462f-8074-96184700bbed b93d65f3-b57f-4c3d-8b35-8fa845923bbb @@ -1438,6 +1467,11 @@ eeb7ef51-8e00-4dba-a124-aae38b08ccdc 6295dc9c-a237-4ff3-b0ac-355382aaa3df + + 8b6648ca-2429-462f-8074-96184700bbed + 98b58192-c302-41a8-bc71-46e3d4a052eb + 220e925d-6434-4d2c-8772-fc4edd938637 + 8b6648ca-2429-462f-8074-96184700bbed 77a507ba-55df-4f3b-b312-cdf9eaa7c68b Index: System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.rxtst =================================================================== diff -u -r63a9527bdd86b352515c37b3732696b9624db6b1 -r77350fe3ea49ac113d98a24c817657ffcb63a72c --- System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.rxtst (.../AutomatedSystemTests.rxtst) (revision 63a9527bdd86b352515c37b3732696b9624db6b1) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTests.rxtst (.../AutomatedSystemTests.rxtst) (revision 77350fe3ea49ac113d98a24c817657ffcb63a72c) @@ -77,6 +77,26 @@ id="01a8cff1-2dad-4f40-abf5-f73ee2e5c6f5" name="ValidateCustomAsssessmentType"> + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2692,14 +2751,6 @@ variablename="expectedValue"> - - - - - - - - + + - - - - + value="2 van"> - - + maxrange="1" + minrange="1" + name="HydraulicBoundaryConditionCases"> + + - - + name="ValidateAfterAllCalculationsHaveFinished"> - - - - + name="OpenDocumentViewForHydraulicBCItem"> + id="0c083a22-60f2-4670-ae4c-5c16796e6423" + name="SelectCaseToRun"> + id="01f27b5a-1497-48c7-91cd-b5d4969d152c" + name="GenerateRandomNumberInRangeCases"> + id="0edf588b-5f5b-45a3-b892-c175024dc66e" + name="SelecteSingleCaseInRange"> - - - - - - - - + id="7ddcf52d-b38d-4e51-82d8-2205317aac45" + name="HydraulicBoundaryConditionCases"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + id="e8e551f8-aaf8-40b5-ad59-507a32ebfb66" + name="OpenDocumentViewForHydraulicBCItem"> + + + + - - - - + id="0903a8f5-5f75-4ab6-9af9-5a77cc0caa35" + name="SelectLocationsForCalculation"> + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + id="6bb40052-1d65-44aa-baae-f9b02a6cf9fd" + name="ValidateAfterCalculationsHaveBeenInterrupted"> + id="dc49a1cf-9a7f-4d5b-bd4c-d44aa18e22d7" + name="MakeScreenshotOfDocumentView"> + id="a81c4715-e765-414a-93c8-ea76e6e28ab1" + name="CreateScreenshotDocumentView"> + + + id="f28a9867-dd6d-4e89-a472-3154167f3a61" + name="ValidateTextMesage"> + + + id="c3b92e46-53a3-46ef-91e2-69ea648e0f03" + name="SelectRowCalculation"> + id="bfc69429-925a-47da-bf82-53a6a635d9ff" + name="CreateScreenshotDocumentView"> + id="a5e33595-5af9-404a-8190-52dda0225b0b" + name="ConvertValueFromRanorexDataCultureToDoubleCurrentCulture"> + id="d3ac74ba-c4a6-4369-a128-c992f3841830" + name="ValidateWaterLevelWaveHeightInDocumentView"> + id="76ef22ad-3dd6-46a3-99bc-865b3e6ab8f4" + name="CreateScreenShotPropertiesPanel"> + id="aa5fbc05-ad35-412e-9cbc-44fd912e4a33" + name="ValidateNormalDoubleCurrentlyShownInPropertiesPanel"> + + + id="0173a6e0-e5c5-4905-8b6d-f4deedcd936b" + name="SelectRowCalculation"> + id="76ce316d-6ce7-47dd-8071-9f2312cee1d0" + name="CreateScreenshotDocumentView"> + id="532248d7-9e1e-4e0e-9d3d-bda5cdd68e37" + name="ConvertValueFromRanorexDataCultureToDoubleCurrentCulture"> + id="5089f1e1-4962-415a-a8d8-ad30c223db76" + name="ValidateWaterLevelWaveHeightInDocumentView"> + id="3324b95d-4dfc-4ff1-8d22-1bcd4cc46b37" + name="CreateScreenShotPropertiesPanel"> + id="0743bf71-df44-4706-8e1b-6cecaf6cb919" + name="ValidateNormalDoubleCurrentlyShownInPropertiesPanel"> + + + + + + + + + id="02a908ba-deb6-4354-9d61-830e89e8809e" + name="CreateScreenshotDocumentView"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -19049,6 +19104,318 @@ 0 + + + 6-6>Hydraulische belastingen>Waterstanden>Categoriegrens A + + + 0 + + + Waterstand [m+NAP] + + + 5.20 + + + Maatgevende windrichting + + + 300.0 + + + Windrichting + + + -0.37773 + + + Waterstand Delfzijl + + + 0 + + + Waterstand Harlingen + + + 0 + + + Waterstand Huibertgat + + + 0 + + + Waterstand Lauwersoog + + + -0.91610 + + + Waterstand West Terschelling + + + 0 + + + Windsnelheid West Terschelling | wl LO + + + 0 + + + Onzekerheid waterstand Delfzijl + + + 0 + + + Onzekerheid waterstand Harlingen + + + 0 + + + Onzekerheid waterstand Huibertgat + + + 0 + + + Onzekerheid waterstand Lauwersoog + + + -0.13445 + + + Onzekerheid windsnelheid West Terschelling | wl LO + + + 0 + + + Onzekerheid windsnelheid + + + 0 + + + Modelonzekerheid lokale waterstand + + + 0 + + + + + 6-6>Hydraulische belastingen>Waterstanden>Categoriegrens B + + + 0 + + + Waterstand [m+NAP] + + + 4.93 + + + Maatgevende windrichting + + + 300.0 + + + Windrichting + + + -0.39439 + + + Waterstand Delfzijl + + + 0 + + + Waterstand Harlingen + + + 0 + + + Waterstand Huibertgat + + + 0 + + + Waterstand Lauwersoog + + + -0.91218 + + + Waterstand West Terschelling + + + 0 + + + Windsnelheid West Terschelling | wl LO + + + 0 + + + Onzekerheid waterstand Delfzijl + + + 0 + + + Onzekerheid waterstand Harlingen + + + 0 + + + Onzekerheid waterstand Huibertgat + + + 0 + + + Onzekerheid waterstand Lauwersoog + + + -0.11131 + + + Onzekerheid windsnelheid West Terschelling | wl LO + + + 0 + + + Onzekerheid windsnelheid + + + 0 + + + Modelonzekerheid lokale waterstand + + + 0 + + + + + 6-6>Dijken en dammen - Grasbekleding erosie buitentalud>Hydraulische belastingen>Golfhoogten>Categoriegrens IIv + + + 0 + + + Golfhoogte [m] + + + 2.76 + + + Maatgevende windrichting + + + 330.0 + + + Windrichting + + + -0.36891 + + + Waterstand Delfzijl + + + 0 + + + Waterstand Harlingen + + + 0 + + + Waterstand Huibertgat + + + 0 + + + Waterstand Lauwersoog + + + -0.80816 + + + Waterstand West Terschelling + + + 0 + + + Windsnelheid West Terschelling | wl LO + + + -0.08211 + + + Onzekerheid waterstand Delfzijl + + + 0 + + + Onzekerheid waterstand Harlingen + + + 0 + + + Onzekerheid waterstand Huibertgat + + + 0 + + + Onzekerheid waterstand Lauwersoog + + + -0.14396 + + + Onzekerheid windsnelheid West Terschelling | wl LO + + + 0 + + + Modelonzekerheid golfhoogte + + + -0.42814 + + + Modelonzekerheid lokale waterstand + + + 0 + + + + + + + + /// Creates a new Table folder. @@ -2485,6 +2486,7 @@ _checkboxreadillustrationpointsnthrowInfo = new RepoItemInfo(this, "checkBoxreadIllustrationPointsNthRow", "row[@accessiblename='Row '+$rowIndex]/cell[@accessiblename>'Illustratie']", 30000, null, "7ab8bbc2-89dd-4d11-bfe9-16f1853cd19c"); _waterlevelnthrowInfo = new RepoItemInfo(this, "WaterLevelNthRow", "row[@accessiblename='Row '+$rowIndex]/cell[@accessiblename>'Waterstand']", 30000, null, "4d5dcf27-80bb-4eb2-8ac6-e585fceac838"); _berekenenrow2Info = new RepoItemInfo(this, "BerekenenRow2", "row[@accessiblename='Row 2']/cell[@accessiblename='Berekenen Row 2']", 30000, null, "dc9f3394-2ea9-44e2-8321-91f323325fff"); + _waterstandmplusnaprow2Info = new RepoItemInfo(this, "WaterstandMPlusNAPRow2", "row[@accessiblename='Row 2']/cell[@accessiblename='Waterstand [m+NAP] Row 2']", 30000, null, "c086cd80-cceb-4d4c-aa4e-a036576a28f2"); } /// @@ -2606,6 +2608,30 @@ return _berekenenrow2Info; } } + + /// + /// The WaterstandMPlusNAPRow2 item. + /// + [RepositoryItem("c086cd80-cceb-4d4c-aa4e-a036576a28f2")] + public virtual Ranorex.Cell WaterstandMPlusNAPRow2 + { + get + { + return _waterstandmplusnaprow2Info.CreateAdapter(true); + } + } + + /// + /// The WaterstandMPlusNAPRow2 item info. + /// + [RepositoryItemInfo("c086cd80-cceb-4d4c-aa4e-a036576a28f2")] + public virtual RepoItemInfo WaterstandMPlusNAPRow2Info + { + get + { + return _waterstandmplusnaprow2Info; + } + } } /// @@ -3372,7 +3398,7 @@ /// Creates a new DesignWaterLevelCalculationsViewCached folder. /// public DesignWaterLevelCalculationsViewCachedFolder(RepoGenBaseFolder parentFolder) : - base("DesignWaterLevelCalculationsViewCached", "container[@controlname='DesignWaterLevelCalculationsView']/container", parentFolder, 30000, null, false, "535b985f-89e1-4888-9b6e-edd71990ca55", "") + base("DesignWaterLevelCalculationsViewCached", "container[@controlname<'CalculationsView']/container", parentFolder, 30000, null, false, "535b985f-89e1-4888-9b6e-edd71990ca55", "") { _leftside = new AutomatedSystemTestsRepositoryFolders.LeftSideFolder1(this); _rightside = new AutomatedSystemTestsRepositoryFolders.RightSideFolder1(this); @@ -3493,7 +3519,6 @@ RepoItemInfo _checkboxcalculatenthrowInfo; RepoItemInfo _checkboxreadillustrationpointsnthrowInfo; RepoItemInfo _waterlevelorwaveheightnthrowInfo; - RepoItemInfo _berekenenrow2Info; /// /// Creates a new Table folder. @@ -3505,7 +3530,6 @@ _checkboxcalculatenthrowInfo = new RepoItemInfo(this, "checkBoxCalculateNthRow", "row[@accessiblename='Row '+$rowIndex]/cell[@accessiblename>'Berekenen']", 30000, null, "4b247c1d-9839-4696-ae92-cb7f86e1c5d1"); _checkboxreadillustrationpointsnthrowInfo = new RepoItemInfo(this, "checkBoxreadIllustrationPointsNthRow", "row[@accessiblename='Row '+$rowIndex]/cell[@accessiblename>'Illustratie']", 30000, null, "5823ab24-e87f-4cea-8490-6d081f7dc01d"); _waterlevelorwaveheightnthrowInfo = new RepoItemInfo(this, "WaterLevelOrWaveHeightNthRow", "row[@accessiblename='Row '+$rowIndex]/cell[@accessiblename>'Waterstand' or @accessiblename>'Golfhoogte']", 30000, null, "2ab47373-3c5c-4a4d-a609-50beef2a4dbd"); - _berekenenrow2Info = new RepoItemInfo(this, "BerekenenRow2", "row[@accessiblename='Row 2']/cell[@accessiblename='Berekenen Row 2']", 30000, null, "ec2abc34-af82-4f6b-904d-4e0179efc220"); } /// @@ -3627,30 +3651,6 @@ return _waterlevelorwaveheightnthrowInfo; } } - - /// - /// The BerekenenRow2 item. - /// - [RepositoryItem("ec2abc34-af82-4f6b-904d-4e0179efc220")] - public virtual Ranorex.Cell BerekenenRow2 - { - get - { - return _berekenenrow2Info.CreateAdapter(true); - } - } - - /// - /// The BerekenenRow2 item info. - /// - [RepositoryItemInfo("ec2abc34-af82-4f6b-904d-4e0179efc220")] - public virtual RepoItemInfo BerekenenRow2Info - { - get - { - return _berekenenrow2Info; - } - } } /// Index: System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTestsRepository.rximg =================================================================== diff -u -r360d90253c5cb2f281cf695f19efb2c0d4999da7 -r77350fe3ea49ac113d98a24c817657ffcb63a72c Binary files differ Index: System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTestsRepository.rxrep =================================================================== diff -u -r63a9527bdd86b352515c37b3732696b9624db6b1 -r77350fe3ea49ac113d98a24c817657ffcb63a72c --- System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTestsRepository.rxrep (.../AutomatedSystemTestsRepository.rxrep) (revision 63a9527bdd86b352515c37b3732696b9624db6b1) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/AutomatedSystemTestsRepository.rxrep (.../AutomatedSystemTestsRepository.rxrep) (revision 77350fe3ea49ac113d98a24c817657ffcb63a72c) @@ -526,6 +526,16 @@ searchtimeout="30000ms"> /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='DesignWaterLevelCalculationsView']/container/container[@controlname='panel1']/container/table/row[@accessiblename='Row 2']/cell[@accessiblename='Berekenen Row 2'] + + /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='DesignWaterLevelCalculationsView']/container/container[@controlname='panel1']/container/table/row[@accessiblename='Row 2']/cell[@accessiblename='Waterstand [m+NAP] Row 2'] + /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='DesignWaterLevelCalculationsView']/container/container[@controlname='panel1']/container/table @@ -795,41 +805,31 @@ id="8d26c2ea-9826-475b-ba13-7a87660216ce" name="GenericRow" searchtimeout="30000ms"> - /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='DesignWaterLevelCalculationsView']/container/container[@controlname='panel1']/container/table/row[@accessiblename='Row '+$rowIndex] + /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname<'CalculationsView']/container/container[@controlname='panel1']/container/table/row[@accessiblename='Row '+$rowIndex] - /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='DesignWaterLevelCalculationsView']/container/container[@controlname='panel1']/container/table/row[@accessiblename='Row '+$rowIndex]/cell[@accessiblename>'Berekenen'] + /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname<'CalculationsView']/container/container[@controlname='panel1']/container/table/row[@accessiblename='Row '+$rowIndex]/cell[@accessiblename>'Berekenen'] - /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='DesignWaterLevelCalculationsView']/container/container[@controlname='panel1']/container/table/row[@accessiblename='Row '+$rowIndex]/cell[@accessiblename>'Illustratie'] + /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname<'CalculationsView']/container/container[@controlname='panel1']/container/table/row[@accessiblename='Row '+$rowIndex]/cell[@accessiblename>'Illustratie'] - /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='DesignWaterLevelCalculationsView']/container/container[@controlname='panel1']/container/table/row[@accessiblename='Row '+$rowIndex]/cell[@accessiblename>'Waterstand' or @accessiblename>'Golfhoogte'] + /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname<'CalculationsView']/container/container[@controlname='panel1']/container/table/row[@accessiblename='Row '+$rowIndex]/cell[@accessiblename>'Waterstand' or @accessiblename>'Golfhoogte'] - - /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='DesignWaterLevelCalculationsView']/container/container[@controlname='panel1']/container/table/row[@accessiblename='Row 2']/cell[@accessiblename='Berekenen Row 2'] - - /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='DesignWaterLevelCalculationsView']/container/container[@controlname='panel1']/container/table + /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname<'CalculationsView']/container/container[@controlname='panel1']/container/table - /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='DesignWaterLevelCalculationsView']/container/container[@controlname='panel1']/container[@controlname>'Button']/button[@controlname='CalculateForSelectedButton'] + /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname<'CalculationsView']/container/container[@controlname='panel1']/container[@controlname>'Button']/button[@controlname='CalculateForSelectedButton'] - /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='DesignWaterLevelCalculationsView']/container/container[@controlname='panel1']/container[@controlname>'Button'] + /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname<'CalculationsView']/container/container[@controlname='panel1']/container[@controlname>'Button'] - /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='DesignWaterLevelCalculationsView']/container/container[@controlname='panel1'] + /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname<'CalculationsView']/container/container[@controlname='panel1'] - /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='DesignWaterLevelCalculationsView']/container/container[@controlname='panel2'] + /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname<'CalculationsView']/container/container[@controlname='panel2'] - /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname='DesignWaterLevelCalculationsView']/container + /form[@automationid='RiskeerMainWindow']/?/container[10]/container[@controltypename='WinFormsAdapter']/container[@controlname<'CalculationsView']/container Index: System tests/AutomatedSystemTests/AutomatedSystemTests/GenerateRandomNumberInRangeCases.UserCode.cs =================================================================== diff -u --- System tests/AutomatedSystemTests/AutomatedSystemTests/GenerateRandomNumberInRangeCases.UserCode.cs (revision 0) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/GenerateRandomNumberInRangeCases.UserCode.cs (revision 77350fe3ea49ac113d98a24c817657ffcb63a72c) @@ -0,0 +1,45 @@ +/////////////////////////////////////////////////////////////////////////////// +// +// 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 GenerateRandomNumberInRangeCases + { + /// + /// 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 void generateRandomNumberInRangeRowsCases() + { + int maxNumber = TestSuite.Current.GetTestContainer(nameOfFolderWithCases).DataContext.Source.Rows.Count; + Random rnd = new Random(); + int randomNumber= rnd.Next(1, maxNumber + 1); + generatedRandomNumber = randomNumber.ToString(); + } + + } +} Index: System tests/AutomatedSystemTests/AutomatedSystemTests/GenerateRandomNumberInRangeCases.cs =================================================================== diff -u --- System tests/AutomatedSystemTests/AutomatedSystemTests/GenerateRandomNumberInRangeCases.cs (revision 0) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/GenerateRandomNumberInRangeCases.cs (revision 77350fe3ea49ac113d98a24c817657ffcb63a72c) @@ -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 GenerateRandomNumberInRangeCases recording. + /// + [TestModule("6104469d-a535-47ca-b393-2256db12cca4", ModuleType.Recording, 1)] + public partial class GenerateRandomNumberInRangeCases : ITestModule + { + /// + /// Holds an instance of the AutomatedSystemTestsRepository repository. + /// + public static AutomatedSystemTestsRepository repo = AutomatedSystemTestsRepository.Instance; + + static GenerateRandomNumberInRangeCases instance = new GenerateRandomNumberInRangeCases(); + + /// + /// Constructs a new instance. + /// + public GenerateRandomNumberInRangeCases() + { + nameOfFolderWithCases = ""; + generatedRandomNumber = ""; + } + + /// + /// Gets a static instance of this recording. + /// + public static GenerateRandomNumberInRangeCases Instance + { + get { return instance; } + } + +#region Variables + + string _nameOfFolderWithCases; + + /// + /// Gets or sets the value of variable nameOfFolderWithCases. + /// + [TestVariable("14b8b92f-c5ac-45fe-9221-5b190e11f77f")] + public string nameOfFolderWithCases + { + get { return _nameOfFolderWithCases; } + set { _nameOfFolderWithCases = value; } + } + + string _generatedRandomNumber; + + /// + /// Gets or sets the value of variable generatedRandomNumber. + /// + [TestVariable("ff4e49ec-c5ac-454c-81f0-9c2b3d84516c")] + public string generatedRandomNumber + { + get { return _generatedRandomNumber; } + set { _generatedRandomNumber = 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(); + + generateRandomNumberInRangeRowsCases(); + Delay.Milliseconds(0); + + } + +#region Image Feature Data +#endregion + } +#pragma warning restore 0436 +} Index: System tests/AutomatedSystemTests/AutomatedSystemTests/GenerateRandomNumberInRangeCases.rxrec =================================================================== diff -u --- System tests/AutomatedSystemTests/AutomatedSystemTests/GenerateRandomNumberInRangeCases.rxrec (revision 0) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/GenerateRandomNumberInRangeCases.rxrec (revision 77350fe3ea49ac113d98a24c817657ffcb63a72c) @@ -0,0 +1,71 @@ + + + + 1 + + + False + + + True + + + 1 + + + True + + + + + + + + + + + + + + + + + + + + + + + + + + + GenerateRandomNumberInRangeCases.UserCode.cs + + + + Index: System tests/AutomatedSystemTests/AutomatedSystemTests/OpenProject.UserCode.cs =================================================================== diff -u -rc93a624241be7db75f5711f707017406cd048404 -r77350fe3ea49ac113d98a24c817657ffcb63a72c --- System tests/AutomatedSystemTests/AutomatedSystemTests/OpenProject.UserCode.cs (.../OpenProject.UserCode.cs) (revision c93a624241be7db75f5711f707017406cd048404) +++ System tests/AutomatedSystemTests/AutomatedSystemTests/OpenProject.UserCode.cs (.../OpenProject.UserCode.cs) (revision 77350fe3ea49ac113d98a24c817657ffcb63a72c) @@ -44,5 +44,14 @@ fileNameToOpen = Directory.GetCurrentDirectory() + "\\" + fileNameToOpen; } + public void Mouse_Click_ButtonNoIfConformationDialogAppears(RepoItemInfo buttonInfo) + { + Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'buttonInfo'.", buttonInfo); + try { + buttonInfo.WaitForExists(2000); + buttonInfo.FindAdapter