??????????????????????
???????????? ???????[ 2012/9/12 9:13:14 ] ????????
?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????写???????????????????????????????些???????????????????????????写??????
????????????????(??????????????????)??????????????????????????????????????????????????????????????????????????????????????????????(???绮�???)?????????????????????????????渭?????????????????????????????????????????????????????????????????????????锟�????????????????????????????????????????????????????
????1. ?????????????????????????????????????????????渭???瑁�???????妫�?????????????????????????????????????危??????????????????????????????睢�????????????????????????????????屑???????????????????????????????????????鈥�?????????些?????HTML??—??????????????????????魏?????;????????????????????????????????????????????????????????????????????????????????
????????????????????????????????????“??????????????—????Selenium??VSTT”????????????????璨�?????????效??????????????????????????????????????????????????????校? ???????????(?些?????????????????????)???????写???????????????????椋�???婕�???????魏尾??????????????????????????
????1) ????????????????????谐??????????????????????????????????????????????????????谐????—????????????????(Bug)???????????????????????????????????渭?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????1?????????????
????????????????????薪??????????????????????械????????????????????????????????—???????????????????1????????????????????????????????????????????1???????????????????????????????????????????????????????????????????????????????魏????
????2) ?????????????????????械??????????????????????????????t?????????????????????????????????????????????????????????????????????泄??????????????????????????????????????????????????????????????????????????y?????????????????????????????????????????……????????????????????????????????????????????????????????????????????????????榉�????
??????????????????????????????????????????????????????????????????????
[TestMethod]
public void BlogCommentIsDisabled()
{
TestLibrary.UserHelper.LogOnAsAdmin();
var blog = TestLibrary.BlogHelper.CreateBlog("???????卤???"?? "????????");
// ????????渭????
TestLibrary.BlogHelper.ManageArticles();
// ?????1??????????????斜??????尾???????
// "???????卤???"???????????
var blogListItem = TestLibrary.BlogHelper.FindBlog(blog.Title);
// ?????????????"???" ????????????????渭????
blogListItem.View();
// ???????????
TestLibrary.BlogHelper.Comment(blog);
// ???????些????卸???????????????????
// ...
}
[TestMethod]
public void DeleteBlogComment()
{
TestLibrary.UserHelper.LogOnAsAdmin();
var blog = TestLibrary.BlogHelper.CreateBlog("???????卤???"?? "????????");
// ????????渭????
TestLibrary.BlogHelper.ManageArticles();
// ?????1??????????????斜??????尾???????
// "???????卤???"???????????
var blogListItem = TestLibrary.BlogHelper.FindBlog(blog.Title);
// ?????????????"???" ????????????????渭????
blogListItem.View();
// ???????????
var comment = TestLibrary.BlogHelper.Comment(blog);
// ????????????????????????????????
// ??????????
}
??????

???路???
??????????????????
2023/3/23 14:23:39???写?貌??????????
2023/3/22 16:17:39????????????????????些??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???路???????路
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11