Beispiel #1
0
 private static IEnumerable <object[]> HttpMethodsAndUrlsToTest(params HttpMethod[] methodsToTest)
 {
     foreach (string url in UrlsToTest.SelectMany(x => x))
     {
         foreach (HttpMethod method in methodsToTest)
         {
             yield return(new object[] { method, url });
         }
     }
 }
Beispiel #2
0
 public void Navigation()
 {
     foreach (string webPage in UrlsToTest)
     {
         _driver.Navigate().GoToUrl(webPage);
         _driver.Navigate().GoToUrl(UrlsToTest.First());
         _driver.Navigate().Back();
         //Testing the actual é the start Url
         //StringAssert.AreEqualIgnoringCase(webPage, _driver.Url);
     }
 }