//this is the test code generated by selenium
        //****Paste test script here*****
        public override void RunTest()
        {
            selenium.Open(base.baseURL);

            //set speed to lower value
            //selenium.SetSpeed("300");

            ken.WelcomePage();

            quality.Click("link=Sign In");
            quality.WaitForPageToLoad("30000");

            ken.SignInPage();

            // comment: Validate the Create Account page
            quality.Click("css=div.left > a.button > span");
            quality.WaitForPageToLoad("30000");

            // comment: Validate the Create Account page
            ken.CreateAccountPage();

            // comment: Enter valid information
            quality.Type("id=fullName", "full name");
            quality.Type("id=username", "newTestUser" + ken.RandomString(4));
            quality.Type("id=address", "home address");
            quality.Type("id=password", password);
            quality.Type("id=address2", "office address");
            quality.Type("id=retypePassword", password);
            quality.Type("id=city", "my city");
            quality.Select("id=state", "label=Hawaii");

            string random1 = ken.RandomString(4);
            string random2 = ken.RandomString(4);

            quality.Type("id=email", random1 + "." + random2 + "@garmin.com");
            quality.Type("id=retypeEmail", random1 + "." + random2 + "@garmin.com");

            quality.Select("id=country", "label=United States");
            quality.Type("id=zip", "988745");

            quality.Click("//form[@id='createAccountForm']/table/tbody/tr[8]/td/a[2]/span");
            quality.WaitForPageToLoad("30000");

            Thread.Sleep(5000);

            quality.AreEqual("Garmin Product Updates for Kenwood", selenium.GetTitle());
            quality.AreEqual("Welcome full name", selenium.GetText("css=span.margin-lr5"));
            quality.AreEqual("Sign Out", quality.GetText("link=Sign Out"));

            // comment: Sign Out
            ken.Logout();
        }
        //this is the test code generated by selenium
        //****Paste test script here*****
        public override void RunTest()
        {
            selenium.Open(base.baseURL);

            ken.WelcomePage();

            quality.Click("link=Sign In");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Sign In", selenium.GetTitle());


            ken.Login("NEWTESTUSER5", "password", "my name", false);
            ken.Logout();
        }
        //this is the test code generated by selenium
        //****Paste test script here*****
        public override void RunTest()
        {
            selenium.Open(base.baseURL);
            ken.WelcomePage();

            quality.Click("link=Sign In");
            quality.WaitForPageToLoad("30000");

            ken.SignInPage();

            // comment: Log ing with a My Garmin user and password
            ken.Login(username, password, fullname, false);

            // comment: Sign Out
            ken.Logout();
        }
        //this is the test code generated by quality
        //****Paste test script here*****
        public override void RunTest()
        {
            selenium.Open(base.baseURL);
            ken.WelcomePage();

            quality.Click("link=Sign In");
            quality.WaitForPageToLoad("30000");

            // comment: Validate the Create Account page
            quality.Click("css=div.left > a.button > span");
            quality.WaitForPageToLoad("30000");

            ken.CreateAccountPage();

            // comment: Do not enter any information on this page and click on submit
            quality.Click("//form[@id='createAccountForm']/table/tbody/tr[8]/td/a[2]/span");
            quality.WaitForPageToLoad("30000");

            quality.AreEqual("Create Account", quality.GetTitle());
            quality.AreEqual("Zip/Postal code is required", quality.GetText("css=ul.error > li"));
            quality.AreEqual("Retype Password field is required", quality.GetText("//div[@id='bd']/ul/li[2]"));
            quality.AreEqual("Username field is required", quality.GetText("//div[@id='bd']/ul/li[3]"));
            quality.AreEqual("Address is required", quality.GetText("//div[@id='bd']/ul/li[4]"));
            quality.AreEqual("E-mail Address is required", quality.GetText("//div[@id='bd']/ul/li[5]"));
            quality.AreEqual("State/Province is required", quality.GetText("//div[@id='bd']/ul/li[6]"));
            //Assert.AreEqual("Retype E-mail Address is required", quality.GetText("//div[@id='bd']/ul/li[7]"));
            //Assert.AreEqual("Full Name is required", quality.GetText("//div[@id='bd']/ul/li[8]"));
            //Assert.AreEqual("Password field is required", quality.GetText("//div[@id='bd']/ul/li[9]"));
            //Assert.AreEqual("Country is required", quality.GetText("//div[@id='bd']/ul/li[10]"));
            //Assert.AreEqual("City is required", quality.GetText("//div[@id='bd']/ul/li[11]"));
            quality.IsTextPresent("Full Name is required");
            quality.IsTextPresent("Password field is required");
            quality.IsTextPresent("Country is required");
            quality.IsTextPresent("City is required");

            // comment: Validate all the input text boxes are editable.
            quality.Type("id=fullName", "teeeeeeest");
            quality.Type("id=email", "*****@*****.**");
            quality.Type("id=retypeEmail", "*****@*****.**");
            quality.Type("id=address", "home address");
            quality.Type("id=username", "random user");
            quality.Type("id=address2", "office address");
            quality.Type("id=password", "password1");
            quality.Type("id=city", "my city");
            quality.Select("id=state", "label=Hawaii");
            quality.Type("id=retypePassword", "qwe");
            quality.Type("id=zip", "132");
            quality.Select("id=country", "label=Barbados");
            quality.Click("id=subscribeEmail");

            // comment: Enter an already existing user name and click submit
            quality.Type("id=fullName", "teeeeeeest");
            quality.Type("id=email", "*****@*****.**");
            quality.Type("id=retypeEmail", "*****@*****.**");
            quality.Type("id=address", "home address");
            quality.Type("id=username", username);
            quality.Type("id=address2", "office address");
            quality.Type("id=password", "password1");
            quality.Type("id=city", "my city");
            quality.Select("id=state", "label=Hawaii");
            quality.Type("id=retypePassword", "password1");
            quality.Type("id=zip", "132");
            quality.Select("id=country", "label=Barbados");
            quality.Click("id=subscribeEmail");
            quality.Type("id=username", username);
            quality.Click("//form[@id='createAccountForm']/table/tbody/tr[8]/td/a[2]/span");
            quality.WaitForPageToLoad("30000");
            quality.IsTextPresent("Username is already taken");

            // comment: Enter less than or equal to 25 characters for Username
            quality.Type("id=username", "testuser2011testuser201152345");
            quality.Type("id=password", "password1");
            quality.Type("id=retypePassword", "password1");
            quality.Type("id=email", "*****@*****.**");
            quality.Type("id=retypeEmail", "*****@*****.**");
            quality.Click("link=Submit");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Create Account", quality.GetTitle());
            quality.IsTextPresent("The maximum length of Username is 25 characters");

            // comment: Enter less than 4 characters for Username field
            quality.Type("id=username", "tes");
            quality.Type("id=password", "password1");
            quality.Type("id=retypePassword", "password1");
            quality.Type("id=email", "*****@*****.**");
            //quality.Type("id=retypeEmail", "*****@*****.**");
            quality.Click("link=Submit");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Create Account", quality.GetTitle());
            quality.IsTextPresent("Username must be at least 4 characters");

            // comment: Enter a valid user name with alpha numeric and special characters
            quality.Type("id=username", "*****@*****.**");
            quality.Type("id=password", "password1");
            quality.Type("id=retypePassword", "password1");
            quality.Type("id=email", "*****@*****.**");
            //quality.Type("id=retypeEmail", "*****@*****.**");
            quality.Click("//form[@id='createAccountForm']/table/tbody/tr[8]/td/a[2]/span");
            quality.WaitForPageToLoad("30000");

            // comment: Enter more than 50 charactors in Full Name field
            quality.Type("id=fullName", "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaasssssssssssdwe");
            quality.Type("id=password", "password1");
            quality.Type("id=retypePassword", "password1");
            quality.Type("id=email", "*****@*****.**");
            //quality.Type("id=retypeEmail", "*****@*****.**");
            quality.Click("//form[@id='createAccountForm']/table/tbody/tr[8]/td/a[2]/span");
            quality.WaitForPageToLoad("30000");
            quality.IsTextPresent("The maximum length of Full Name is 50 characters");

            // comment: Enter a full name with spaces and alpha numerics and click on continue
            quality.Type("id=fullName", "qw 123s@#$ssdwe");
            quality.Type("id=password", "password1");
            quality.Type("id=retypePassword", "password1");
            quality.Type("id=email", "*****@*****.**");
            //quality.Type("id=retypeEmail", "*****@*****.**");
            quality.Click("//form[@id='createAccountForm']/table/tbody/tr[8]/td/a[2]/span");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Create Account", quality.GetTitle());

            // comment: Enter more than 100 characters in Address field.
            quality.Type("id=password", "password1");
            quality.Type("id=retypePassword", "password1");
            quality.Type("id=email", "*****@*****.**");
            //quality.Type("id=retypeEmail", "*****@*****.**");
            quality.Type("id=address", "hom!@#$%^&&^%$#e addresshome addresshome addresshome addresshome addresshome addresshome addresshome addresshome address");
            quality.Click("//form[@id='createAccountForm']/table/tbody/tr[8]/td/a[2]/span");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Create Account", quality.GetTitle());
            quality.IsTextPresent("The maximum length of Address is 100 characters");

            // comment: Enter more than 100 charactors in Address 2 field.
            quality.Type("id=password", "password1");
            quality.Type("id=retypePassword", "password1");
            quality.Type("id=email", "*****@*****.**");
            //quality.Type("id=retypeEmail", "*****@*****.**");
            quality.Type("id=address", "hom!@#$%^&&^%$#e addresshome addresshome addresshome addresshome addresshome");
            quality.Type("id=address2", "office a!@#$%^&&^%$#ddressoffice addressoffice addressoffice addressoffice addressoffice addressoffice addressoffice addressoffice addressoffice addressoffice addressoffice addressoffice address");
            quality.Click("//form[@id='createAccountForm']/table/tbody/tr[8]/td/a[2]/span");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Create Account", quality.GetTitle());
            quality.IsTextPresent("The maximum length of Address 2 is 100 characters");

            // comment: Enter more than 50 charactors in City field.
            quality.Type("id=password", "password1");
            quality.Type("id=retypePassword", "password1");
            quality.Type("id=email", "*****@*****.**");
            //quality.Type("id=retypeEmail", "*****@*****.**");
            quality.Type("id=address", "hom!@#$%^&&^%$#e addresshome addresshome addresshome addresshome addresshome");
            quality.Type("id=address2", "office a!@#$%^&&^%$#ddressoffice addressoffice addressoffice addressoffice addressoffice");
            quality.Type("id=city", "my city!@##$$@#!@#my citymy citymy citymy citymy citymy citymy citymy citymy citymy citymy citymy citymy citymy citymy citymy city");
            quality.Click("//form[@id='createAccountForm']/table/tbody/tr[8]/td/a[2]/span");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Create Account", quality.GetTitle());
            quality.IsTextPresent("The maximum length of City is 50 characters");

            // comment: Enter more than 25 charactors in Zip Code field.
            quality.Type("id=password", "password1");
            quality.Type("id=retypePassword", "password1");
            quality.Type("id=email", "*****@*****.**");
            //quality.Type("id=retypeEmail", "*****@*****.**");
            quality.Type("id=address", "hom!@#$%^&&^%$#e addresshome addresshome addresshome addresshome addresshome");
            quality.Type("id=address2", "office a!@#$%^&&^%$#ddressoffice addressoffice addressoffice addressoffice addressoffice");
            quality.Type("id=city", "my city!@##$$@#!@#my citymy citymy citymy");
            quality.Type("id=zip", "13qweq21321@#$%#^%#$#2132132132132132132132132132132132132dsew");
            quality.Click("//form[@id='createAccountForm']/table/tbody/tr[8]/td/a[2]/span");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Create Account", quality.GetTitle());
            quality.IsTextPresent("The maximum length of Zip/Postal Code is 20 characters");

            // comment: Validate the user is able to select a state from State dropdownlist and acountry from Country drop down list.
            quality.Type("id=password", "password1");
            quality.Type("id=retypePassword", "password1");
            quality.Type("id=address", "hom!@#$%^&&^%$#e addresshome addresshome addresshome addresshome addresshome");
            quality.Type("id=address2", "office a!@#$%^&&^%$#ddressoffice addressoffice addressoffice addressoffice addressoffice");
            quality.Type("id=city", "my city!@##$$@#!@#my citymy citymy citymy");
            quality.Type("id=username", "q123werwqst34dc");
            quality.Type("id=email", "*****@*****.**");
            //quality.Type("id=retypeEmail", "*****@*****.**");
            quality.Type("id=zip", "13qwe@# $%#^%#$#2");
            quality.Select("id=state", "label=Florida");
            quality.Select("id=state", "label=Louisiana");
            quality.Select("id=state", "label=Nebraska");
            quality.Select("id=country", "label=Cameroon");
            quality.Select("id=country", "label=Bahrain");

            // comment: Enter more than 50 charactors in Email Address and Retype Email Address field.
            quality.Type("id=password", "password1");
            quality.Type("id=retypePassword", "password1");
            quality.Type("id=address", "hom!@#$%^&&^%$#e addresshome addresshome addresshome addresshome addresshome");
            quality.Type("id=address2", "office a!@#$%^&&^%$#ddressoffice addressoffice addressoffice addressoffice addressoffice");
            quality.Type("id=city", "my city!@##$$@#!@#my citymy citymy citymy");
            quality.Type("id=zip", "13qwe@# $%#^%#$#2");
            quality.Select("id=state", "label=Hawaii");
            quality.Select("id=country", "label=United States");
            quality.Type("id=email", "[email protected]@[email protected]@[email protected]");
            //quality.Type("id=retypeEmail", "[email protected]@[email protected]@[email protected]");
            quality.Click("//form[@id='createAccountForm']/table/tbody/tr[8]/td/a[2]/span");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Create Account", quality.GetTitle());
            quality.IsTextPresent("The maximum length of E-mail Address is 50 characters");
            quality.IsTextPresent("E-mail Address is invalid");

            /*
             * // comment: Enter more than 50 charactors in Retype - Email Address field.
             * quality.Type("id=password", "password1");
             * quality.Type("id=retypePassword", "password1");
             * quality.Type("id=address", "hom!@#$%^&&^%$#e addresshome addresshome addresshome addresshome addresshome");
             * quality.Type("id=address2", "office a!@#$%^&&^%$#ddressoffice addressoffice addressoffice addressoffice addressoffice");
             * quality.Type("id=city", "my city!@##$$@#!@#my citymy citymy citymy");
             * quality.Type("id=zip", "13qwe@# $%#^%#$#2");
             * quality.Select("id=state", "label=Hawaii");
             * quality.Select("id=country", "label=United States");
             * quality.Type("id=email", "*****@*****.**");
             * //quality.Type("id=retypeEmail", "[email protected]@[email protected]@[email protected]");
             * quality.Click("//form[@id='createAccountForm']/table/tbody/tr[8]/td/a[2]/span");
             * quality.WaitForPageToLoad("30000");
             * Assert.AreEqual("Create Account", quality.GetTitle());
             * Assert.AreEqual("E-mail Addresses do not match", quality.GetText("css=ul.error > li"));
             */

            // comment: Validate the web portal is allowing Password length less than 6 characters.
            quality.Type("id=password", "pass");
            quality.Type("id=retypePassword", "pass");
            quality.Type("id=address", "hom!@#$%^&&^%$#e addresshome addresshome addresshome addresshome addresshome");
            quality.Type("id=address2", "office a!@#$%^&&^%$#ddressoffice addressoffice addressoffice addressoffice addressoffice");
            quality.Type("id=city", "my city!@##$$@#!@#my citymy citymy citymy");
            quality.Type("id=zip", "13qwe@# $%#^%#$#2");
            quality.Select("id=state", "label=Hawaii");
            quality.Select("id=country", "label=United States");
            quality.Type("id=email", "*****@*****.**");
            //quality.Type("id=retypeEmail", "*****@*****.**");
            quality.Click("//form[@id='createAccountForm']/table/tbody/tr[8]/td/a[2]/span");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Create Account", quality.GetTitle());
            quality.IsTextPresent("Password must be at least 6 characters");

            // Enter different values in both Password and Retype Password fields.
            quality.Type("id=password", password);
            quality.Type("id=retypePassword", "password1");
            quality.Type("id=address", "hom!@#$%^&&^%$#e addresshome addresshome addresshome addresshome addresshome");
            quality.Type("id=address2", "office a!@#$%^&&^%$#ddressoffice addressoffice addressoffice addressoffice addressoffice");
            quality.Type("id=city", "my city!@##$$@#!@#my citymy citymy citymy");
            quality.Type("id=zip", "13qwe@# $%#^%#$#2");
            quality.Select("id=state", "label=Hawaii");
            quality.Select("id=country", "label=United States");
            quality.Type("id=email", "*****@*****.**");
            //quality.Type("id=retypeEmail", "*****@*****.**");
            quality.Click("//form[@id='createAccountForm']/table/tbody/tr[8]/td/a[2]/span");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Create Account", quality.GetTitle());
            quality.IsTextPresent("Passwords do not match");

            // Enter more than 25 characters in both Password and Retype Password fields
            quality.Type("id=password", "passwordpasswordpasswordpasswordpasswordpasswordpassword");
            quality.Type("id=retypePassword", "passwordpasswordpasswordpasswordpasswordpasswordpassword");
            quality.Type("id=address", "hom!@#$%^&&^%$#e addresshome addresshome addresshome addresshome addresshome");
            quality.Type("id=address2", "office a!@#$%^&&^%$#ddressoffice addressoffice addressoffice addressoffice addressoffice");
            quality.Type("id=city", "my city!@##$$@#!@#my citymy citymy citymy");
            quality.Type("id=zip", "13qwe@# $%#^%#$#2");
            quality.Select("id=state", "label=Hawaii");
            quality.Select("id=country", "label=United States");
            quality.Type("id=email", "*****@*****.**");
            //quality.Type("id=retypeEmail", "*****@*****.**");
            quality.Click("//form[@id='createAccountForm']/table/tbody/tr[8]/td/a[2]/span");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Create Account", quality.GetTitle());
            quality.IsTextPresent("The maximum length of Password is 25 characters");
        }
        //this is the test code generated by selenium
        //****Paste test script here*****
        public override void RunTest()
        {
            selenium.Open(base.baseURL);

            ken.WelcomePage();

            quality.Click("link=Sign In");
            quality.WaitForPageToLoad("30000");

            // comment: Validate the Sign In page
            ken.SignInPage();

            // comment: Forgot Username
            quality.Click("link=Forgot username");
            quality.WaitForPageToLoad("30000");

            ken.ForgotUsernamePage();

            // comment: Click the "Product Support"
            quality.Click("link=Product Support.");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Support", quality.GetTitle());

            quality.Click("link=Sign In");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Sign In", quality.GetTitle());
            quality.Click("link=Forgot username");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Forgot Username", quality.GetTitle());

            // comment: Click submit with out entering
            quality.Click("css=a.button > span");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Forgot Username", quality.GetTitle());
            quality.AreEqual("E-mail Address is required", quality.GetText("css=ul.error > li"));

            // comment: Enter a invalid email address
            quality.Type("id=email", "sadsddsdsdsadsdsadsdsdsdsdsdsad");
            quality.Click("css=a.button > span");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Forgot Username", quality.GetTitle());
            quality.AreEqual("E-mail Address is invalid", quality.GetText("css=ul.error > li"));

            // comment: Enter more than 50 characters as an invalid email address
            quality.Type("id=email", "as!@#!@# 21sasdasdasadasdadaaasdadassasdasdasadasdadaaasdad\\");
            quality.Click("css=a.button > span");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Forgot Username", quality.GetTitle());
            quality.AreEqual("The maximum length of E-mail Address is 50 characters", quality.GetText("css=ul.error > li"));
            quality.AreEqual("E-mail Address is invalid", quality.GetText("//div[@id='bd']/div[3]/ul/li[2]"));

            // comment: Enter a non existing email address
            quality.Type("id=email", "*****@*****.**");
            quality.Click("css=a.button > span");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Forgot Username", quality.GetTitle());
            quality.AreEqual("Unable to find your account information in our records", quality.GetText("css=ul.error > li"));

            // comment: Enter a valid email
            quality.Type("id=email", "*****@*****.**");
            quality.Click("css=a.button > span");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Forgot Username", quality.GetTitle());
            quality.AreEqual("We have sent your username to your email address.", quality.GetText("css=div.confirmationDialog-mid"));
        }
Пример #6
0
        //this is the test code generated by selenium
        //****Paste test script here*****
        public override void RunTest()
        {
            selenium.Open(base.baseURL);

            ken.WelcomePage();

            quality.Click("link=Sign In");
            quality.WaitForPageToLoad("30000");

            //comment: Go to Sing In page
            ken.SignInPage();

            ken.SignIn("asdfgh", "qasdasdfsfgsd");
            // comment: Insert any username and password
            quality.AreEqual("Sign In", selenium.GetTitle());
            quality.AreEqual("The username/password combination is not valid", selenium.GetText("css=ul.error > li"));

            // comment: Enter only username
            ken.SignIn("qwerty", "");
            quality.AreEqual("Sign In", selenium.GetTitle());
            quality.AreEqual("Password is required to login", selenium.GetText("css=ul.error > li"));

            // comment: Sign in without entering any information

            ken.SignIn("", "");

            quality.AreEqual("Sign In", selenium.GetTitle());
            quality.AreEqual("Username is required to login", selenium.GetText("css=ul.error > li"));
            quality.AreEqual("Password is required to login", selenium.GetText("//div[@id='bd']/ul/li[2]"));

            // comment: Enter only password
            ken.SignIn("", "asfdsffgdfgs");

            quality.AreEqual("Sign In", selenium.GetTitle());
            quality.AreEqual("Username is required to login", selenium.GetText("css=ul.error > li"));

            // comment: Enter more than 25 characters in both fields

            ken.SignIn("as!@#!@# 21sasdasdasadasdadaaasdadassasdasdasadasdadaaasdad\\\\", "as!@#!@# 21sasdasdasadasdadaaasdadassasdasdasadasdadaaasdad\\\\");

            quality.AreEqual("Sign In", selenium.GetTitle());
            quality.AreEqual("Username is invalid", selenium.GetText("css=ul.error > li"));
            quality.AreEqual("Password is invalid", selenium.GetText("//div[@id='bd']/ul/li[2]"));

            // comment: Insert less than 25 characters in both fields

            ken.SignIn("as!@#!@# 21sasdasdasad", "as!@#!@# 21sasdasdasad");

            quality.AreEqual("Sign In", selenium.GetTitle());
            quality.AreEqual("The username/password combination is not valid", selenium.GetText("css=ul.error > li"));

            // comment: Click on Forgot Username link
            quality.Click("link=Forgot username");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Forgot Username", selenium.GetTitle());
            quality.AreEqual("Forgot Username", selenium.GetText("css=div.titleHeader-text"));
            quality.AreEqual("To retrieve your username, enter the email address that you saved in your myGarmin account. If you did not save an email address in your account or you do not remember it, please contact Product Support.", selenium.GetText("css=p.prompt"));
            quality.AreEqual("Product Support", quality.GetText("link=Product Support"));
            quality.AreEqual("Email Address", selenium.GetText("css=div.inputIndicator-text"));
            quality.AreEqual("", selenium.GetText("id=email"));
            quality.AreEqual("Submit", selenium.GetText("css=a.button > span"));

            // comment: Go Back to Sign in page
            quality.Click("link=Sign In");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Sign In", selenium.GetTitle());

            // comment: Click on Forgot Password
            selenium.Click("link=Forgot password");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Forgot Password", selenium.GetTitle());
            quality.AreEqual("Forgot Password", selenium.GetText("css=div.titleHeader-text"));
            quality.AreEqual("To reset your password, enter the username of your myGarmin account. If you do not remember your username, please contact Product Support.", selenium.GetText("css=p.prompt"));
            quality.AreEqual("Product Support", quality.GetText("link=Product Support"));
            quality.AreEqual("Username", selenium.GetText("css=div.inputIndicator-text"));
            //quality.AreEqual("", selenium.GetValue("css=div.inputIndicator-text"));
            quality.AreEqual("Submit", selenium.GetText("css=a.button > span"));

            // comment: Go Back to Sign in page
            quality.Click("link=Sign In");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Sign In", selenium.GetTitle());

            // comment: Click on Create Account button
            quality.Click("css=div.left > a.button > span");
            quality.WaitForPageToLoad("30000");

            ken.CreateAccountPage();

            // comment: Go Back to Sign in page
            quality.Click("link=Sign In");
            quality.WaitForPageToLoad("30000");
            quality.AreEqual("Sign In", selenium.GetTitle());

            // comment: Enter more than 25 characters in User Name and nothing for password
            ken.SignIn("as!@#!@# 21sasdasdasadasdadaaasdadassasdasdasadasdadaaasdad\\\\", "");

            quality.AreEqual("Sign In", selenium.GetTitle());
            quality.AreEqual("Username is invalid", selenium.GetText("css=ul.error > li"));
            quality.AreEqual("Password is required to login", selenium.GetText("//div[@id='bd']/ul/li[2]"));

            // comment: Enter more than 25 characters in password field and nothing for User Name

            ken.SignIn("", "as!@#!@# 21sasdasdasadasdadaaasdadassasdasdasadasdadaaasdad\\\\");

            quality.AreEqual("Sign In", selenium.GetTitle());
            quality.AreEqual("Username is required to login", selenium.GetText("css=ul.error > li"));
            quality.AreEqual("Password is invalid", selenium.GetText("//div[@id='bd']/ul/li[2]"));

            // comment: Enter valid credentials
            ken.Login(username, password, fullname, false);

            // comment: SignOut
            ken.Logout();
        }