Ejemplo n.º 1
0
 private void SelecionarUmaFoto()
 {
     BtnIncluir.EsperarElemento(Browser);
     MouseActions.ClickMouseMoveToElementSML(Browser, BtnSelecionarImagem);
     Thread.Sleep(400);
     SendKeys.SendWait(GetPath.GetResourcePath("IMG_6582.JPG"));
     SendKeys.SendWait(@"{Enter}");
 }
Ejemplo n.º 2
0
        public void IncluirImagens()
        {
            var EsperarFotos = Element.Css(".fotosVitrine");

            BtnIncluir.EsperarElemento(Browser);
            MouseActions.ClickATM(Browser, BtnIncluir);
            EsperarFotos.EsperarElemento(Browser);
        }
Ejemplo n.º 3
0
 private void SelecionarQuatroFotos()
 {
     BtnIncluir.EsperarElemento(Browser);
     if (BtnSelecionarImagem.IsElementVisible(Browser))
     {
         MouseActions.ClickMouseMoveToElementSML(Browser, BtnSelecionarImagem);
     }
     Thread.Sleep(400);
     SendKeys.SendWait(GetPath.GetResourcePath("\"IMG_6582.JPG\" \"IMG_6465.JPG\" \"IMG_6466.JPG\" \"IMG_6467.JPG\""));
     SendKeys.SendWait(@"{Enter}");
 }