Exemplo n.º 1
0
        public void HomePageActionWithDeleteitem()
        {
            screenshot screens = new screenshot();

            BackPackImg.Click();
            screens.Takescreenshot3("filename");

            ImgBackButton.Click();
            screens.Takescreenshot3("filename");

            ImgADDTOCARTButton.Click();
            screens.Takescreenshot3("filename");

            CartImg.Click();
            screens.Takescreenshot3("filename");

            RemoveButton.Click();
            screens.Takescreenshot3("filename");

            ConitnueShoppingButton.Click();
            screens.Takescreenshot3("filename");

            CartImg.Click();
            screens.Takescreenshot3("filename");
        }
Exemplo n.º 2
0
 /// <summary>
 /// Removes a trial.
 /// </summary>
 /// <param name="contextTrialTitle">The context trial title.</param>
 public void RemoveATrial(string contextTrialTitle)
 {
     MySiteTrialsSearch.Clear();
     MySiteTrialsSearch.SendKeys(contextTrialTitle);
     ActionDropDown.Click();
     RemoveButton.Click();
     PageHelper.WaitForElement(Driver, RemoveTrialPopUp);
     RemoveTrialMessage.Text.Should().BeEquivalentTo(ErrorMessages.RemoveTrial_MySiteTrial);
     ConfirmRemoveButton.Click();
 }
Exemplo n.º 3
0
 //RemoveButton
 public void ClickRemoveButton()
 {
     RemoveButton.Click();
 }