コード例 #1
0
 public FormWithAJAXPage AssertThatTargetElementDoesNotExist()
 {
     AssertThatElements.DoNotExist(By.jQuery("#target"));
     return(this);
 }
コード例 #2
0
 public void AssertElementExistsWithJQuery(string id)
 {
     AssertThatElements.Exist(Seleno.PageObjects.Locators.By.jQuery(string.Format("#{0}", id)));
 }
コード例 #3
0
 public void AssertElementDoesNotExist(string id)
 {
     AssertThatElements.DoNotExist(By.Id(id));
 }
コード例 #4
0
 public void AssertElementExists(string id)
 {
     AssertThatElements.Exist(By.Id(id));
 }
コード例 #5
0
 public void AssertElementContainsValueWithJquery(string id, string value)
 {
     AssertThatElements.ConformTo(
         Seleno.PageObjects.Locators.By.jQuery(string.Format("#{0}", id)),
         es => ThrowIfElementDoesNotContainValue(value, es));
 }
コード例 #6
0
 public void AssertElementContainsValue(string id, string value)
 {
     AssertThatElements.ConformTo(By.Id(id), es => ThrowIfElementDoesNotContainValue(value, es));
 }