示例#1
0
        public void checkout_filldifferentInfor(string firstname, string lastname, string zip)
        {
            screenshot screens = new screenshot();


            FirstNameT.SendKeys(firstname);
            LastNameT.SendKeys(lastname);
            PostCodeT.SendKeys(zip);
        }
示例#2
0
        public void Checkout_Cancel()
        {
            screenshot screens = new screenshot();

            CheckoutButton.Click();
            FirstNameT.SendKeys("sggi");
            LastNameT.SendKeys("r");
            PostCodeT.SendKeys("12345");
            screens.Takescreenshot6("filename");

            CancelButton.Click();
            screens.Takescreenshot6("filename");
        }
示例#3
0
        public void Checkout_Continue()
        {
            screenshot screens = new screenshot();

            CheckoutButton.Click();

            FirstNameT.SendKeys("sggi");

            LastNameT.SendKeys("r");

            PostCodeT.SendKeys("12345");
            screens.Takescreenshot5("filename");
            screens.Takescreenshot9("filename");

            ContiuneButton.Click();
            screens.Takescreenshot5("filename");
            screens.Takescreenshot9("filename");
        }