public void test01(string name, string url) { Comment2 comment = new Comment2(); comment.name = name; comment.url = url; fillinCommentForm(comment); }
private void fillinCommentForm(Comment2 comment) { webdriver.FindElement(By.Id("author")).SendKeys(comment.name); }