예제 #1
0
        /// <summary>
        /// Performs the playback of actions in this module.
        /// </summary>
        /// <remarks>You should not call this method directly, instead pass the module
        /// instance to the <see cref="TestModuleRunner.Run(ITestModule)"/> method
        /// that will in turn invoke this method.</remarks>
        void ITestModule.Run()
        {
            Mouse.DefaultMoveTime        = 300;
            Keyboard.DefaultKeyPressTime = 100;
            Delay.SpeedFactor            = 1.0;

            UserCodeApplicationRepository myRepo = new UserCodeApplicationRepository();

            myRepo.ApplicationUnderTest.IntroductionPane.TxtFieldName.TextValue = varName;

            Report.Log(ReportLevel.Info, "Inserted '" + varName + "' into the text filed");
            Delay.Seconds(3);
        }
예제 #2
0
        /// <summary>
        /// Performs the playback of actions in this module.
        /// </summary>
        /// <remarks>You should not call this method directly, instead pass the module
        /// instance to the <see cref="TestModuleRunner.Run(ITestModule)"/> method
        /// that will in turn invoke this method.</remarks>
        void ITestModule.Run()
        {
            Mouse.DefaultMoveTime        = 300;
            Keyboard.DefaultKeyPressTime = 100;
            Delay.SpeedFactor            = 1.0;

            var myRepo = new UserCodeApplicationRepository();

            var ButtonSubmit = myRepo.ApplicationUnderTest.IntroductionPane.BtnSubmit;

            ButtonSubmit.Click();

            Report.Log(ReportLevel.Info, "Submit button has been clicked");
        }