????λ?????????? >> ??????????
???????????????doh????????
???????????? ???????[ 2014/5/28 16:49:50 ] ???????????????????? doh
????doh??????????????
????1??Simple Tests ?????????????????doh.register????testCase??????
????????????
????function mySimpleTest(doh){
????doh.assertTrue(true);
????}
???????????
function mySimpleAsyncTest(doh){
var deferred = new doh.Deferred();
setTimeout(deferred.getTestCallback(function(){
doh.assertTrue(true);
})?? 100);
return deferred;
}
|
????2??Test Fixture
????????????
{
name: "thingerTest"??
setUp: function(){
// Setup to do before runTest.//??????JUnit?е?@beforeTest
this.thingerToTest = new Thinger();
this.thingerToTest.doStuffToInit();
}??
runTest: function(){
// Our test function to run.//??????JUnit?е?@Test
doh.assertEqual("blah"?? this.thingerToTest.blahProp);
doh.assertFalse(this.thingerToTest.falseProp);
// ...
}??
tearDown: function(){
// cleanup to do after runTest.//??????JUnit?е?@afterTest
}??
timeout: 3000 // 3 second timeout.//???????????????????????
}
|
???????????
{
name: "thingerTest"??
setUp: function(){
// Setup to do before runTest.
this.thingerToTest = new Thinger();
this.thingerToTest.doStuffToInit();
}??
runTest: function(){
// Our test function to run.
var deferred = new doh.Deferred();
setTimeout(deferred.getTestCallback(function(){
doh.assertEqual("blah"?? this.thingerToTest.blahProp);
doh.assertFalse(this.thingerToTest.falseProp);
})?? 100);
return deferred;
}??
tearDown: function(){
// cleanup to do after runTest.
}??
timeout: 3000 // 3 second timeout.
}
|
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
????????????????AutoRunner??Selenium?????????????????е?????????????????ν??????????????????????????????????????QTP??AR?????????????????????????5?????????????????????????????????AutoRunner?ж??????????????????????AutoRunner???????????????????app????????????MR????????????庯??????????????AR??????????????壿????????????AR????????г??????????????????????????????????AR????????????Edge?????????AR??????????????ó???????????????????壩AR??????????????ó?????????????????????????????????????3??????????????????AR??????????????ó??????????????????????????????????AR????????????????????
???·???
??????????????????
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????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????