public void FileElement() { // generate element var onElement = MockWebElement.GetElement(new MockWebDriver(), MockBy.InputFile()); // assertion Assert.IsTrue(onElement.TagName == "INPUT"); Assert.IsTrue(onElement.GetAttribute("type") == "file"); }
public void FileElement() { // generate element var onElement = MockWebElement.GetElement(new MockWebDriver(), MockBy.InputFile()); // assertion Assert.IsTrue(onElement.TagName == "INPUT"); Assert.IsTrue(onElement.GetAttribute("type") == "file"); }