/// <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;

            WebSpecific.LaunchWeb(TestSuite.Current.Parameters["Browser"], TestSuite.Current.Parameters["Url"]);
        }
Beispiel #2
0
        private void ValidateSelectedValue(string pId, string pExpectedCountry)
        {
            var lvComboBoxValue = WebSpecific.GetSelectedComboboxValue(By.Id(pId));      //Element Search


            if (lvComboBoxValue.Equals(pExpectedCountry, StringComparison.InvariantCultureIgnoreCase))
            {
                Logger.logSnapshot();
            }
            else
            {
                Report.Log(ReportLevel.Failure, "COMBO BOX VAUE IS not EXPECTED");
            }
        }
Beispiel #3
0
 private void ClickCountry(string pId, string pExpectedCountry)
 {
     WebSpecific.SelectComboBoxItem(By.Id(pId), pExpectedCountry);
 }