Example #1
0
 public void Should_be_able_Generate_the_Input_tag_with_Submit_Tag()
 {
     ISubmitButton textbox = new SubmitButton("Name").Value("Satish");
     string htmlTextBox = textbox.ToString();
     var cq = CQ.Create(htmlTextBox);
     cq.Attr("name").Should().Be("Name");
     cq.Val().Should().Be("Satish");
 }