public void OurStoreSearch()
        {
            TakeScreenshot ts = new TakeScreenshot();

            // our stores link
            ts.OurStoreLink();

            //ts.ScrollThroughMap();

            // taking screeshot
            ts.Screenshot();
        }
예제 #2
0
 public void GetScreenshot()
 {
     NavigationHelper.NavigateToUrl(ObjectRepository.config.GetWebsite());
     TakeScreenshot.Screenshot("rajendra.Jpeg");
     LinkHelper.ClickOnLink(By.Id("enter_bug"));
     TakeScreenshot.Screenshot("Prasad.Jpeg");
     TextBoxHelper.TypeInTextBox(By.Id("Bugzilla_login"), ObjectRepository.config.GetUsername());
     TakeScreenshot.Screenshot("Modem.Jpeg");
     TextBoxHelper.TypeInTextBox(By.Id("Bugzilla_password"), ObjectRepository.config.GetPassword());
     TakeScreenshot.Screenshot("India.Jpeg");
     //TakeScreenshot.Screenshot("rajendra.png");
 }