Exemplo n.º 1
0
        public void TC154_ForgotPasswordSubmit_RL(int loanamout, string strmobiledevice)
        {
            strUserType = "RL";
            try
            {
                _driver      = _testengine.TestSetup(strmobiledevice, "RL");
                _homeDetails = new HomeDetails(_driver, "RL");

                // Create debug client + use Forgot Password page
                strEmailID = _homeDetails.CreateClient(TestData.ClientType.NewProduct,
                                                       TestData.Feature.NewProductAdvancePaidClean);
                _homeDetails.NimbleExistingUserForgotPassword(strEmailID);

                // Check for a Forgot Password success message
                Assert.IsTrue(_homeDetails.VerifyForgotPasswordSuccessTxt());
            }
            catch (Exception ex)
            {
                strMessage += ex.Message; Assert.Fail(ex.Message);
            }
        }