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

            quality.AreEqual("Garmin Product Updates for Kenwood", quality.GetTitle());
            quality.Click("//div[@id='bd']/div[6]/div[2]/div/div/a/span");
            quality.WaitForPageToLoad("30000");

            ken.ActivateMapPage();

            //comment: Type valid data and obtain the unlock code
            quality.Type("id=unitId", "3563850818");
            quality.Type("id=validationCode", validationCode);
            quality.Type("id=productKey", productKey);
            quality.Click("css=a.button > span");
            quality.WaitForPageToLoad("30000");

            ken.MapSuccessfullyActivatedPage();
        }