public void VerifyElementContent()
 {
     BreadCrumbShippingMethodsDetails.VerifyTextIsInThisElement("Shipping Method Details");
     IdLabel.VerifyTextIsInThisElement("Id");
     IdContent.VerifyContentOfThisElementIsIntegerType();
     NameLabel.VerifyTextIsInThisElement("Name");
     NameContent.VerifyContentNotEmpty();
     Console.WriteLine("Verified Header elements have expected values on " + GetType().Name);
 }
コード例 #2
0
 public void VerifyElementContent()
 {
     IdLabel.VerifyTextIsInThisElement("Id");
     IdContent.VerifyContentOfThisElementIsIntegerType();
     IdText.VerifyTextIsInThisElement("This uniquely identifies this sales channel from other sales channels");
     NameLabel.VerifyTextIsInThisElement("Name");
     NameContent.VerifyContentNotEmpty();
     NameSubText.VerifyTextIsInThisElement("This text is not displayed on the site and is for internal use only");
     Console.WriteLine("Verified Header elements have expected values on " + GetType().Name);
 }