???????????????????????


??????????????????????????????????????е??????????????????????10?е????;??UI??????????????????IE??COM????????IE application???????????????????????????????????????????????????????9?д???(????????????????????????????????????)??


?????????Щ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????磬????о????????????????????????ν????100????????????????????????????????????????????????????10????? VS???????????????????????????????????????????????????????????????ж??????????Щ?????磬?????????????????????????????????????????????????????????

????1. ?????????????????????????????????

 

????????????????????????????????????????????????????????????????????????????????????????????????в???????????????Σ??????????????????????????????????????????????????????????????????Ρ??????????????????????bug??fix???????????????Ч??????????????bug??????????????????????????????????????

???????????????????????????????????????(Test Branch)????е?bug????????????????????(Release Branch)????е???????2???(?????????????У???????????????????????)????????????????????????????????????????????г????????????????????????????????????????????????????????????飬?????????????????????????????????????κα仯?????????????ζ????????????????????????????????????????????????????????????????????????????????????????????

??????????????

?????Щ?о???????????????????????Щ??????????????????????????ζ??????????????TOP500???????????????????????????????????????????????(Bug hunting)??????????????????????????????????????????巋???????ж??????????????????????????????????????????????????????????????????????Щ????????????????????????bug?????????????????????????????????????????????飬????????????????????????????顣????С????????Email???????????λ??У?????????Messenger;????messenger??С?????????????calendar?????????????????????????????????????????????????????????????bug???????д????bug?????????????н??????????????????????????????????????????????????????????Ч????????????????????????顣

???????????????????????????????bug??

 

?????????????????飬?????????????????????л???????

?????????????????????????????????????????????顣

 

????2. ????????????????????????

???????????????????????????????κ???????????У???????°???????????????????????°????????????????????????????????????????????????????????У????????????????????????????棬????????????????????????????????????????????????????????????????????Χ??

????3. ???????????????????洢?????

 

???????????????????????????????????????μ?????????????????????????洢????????????????????????飬bug???????????????????????????????????????????????????????????????????????????????????????????????????????????????????仯??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????棬???????????????????????????????????ж?????????????????????

????4. ?????????????????????????????????????????Ч??

 

????????????????????????????????????????????????????????????????????????????????????????????????????????????????????ü?????Ч???

 

???????Junit?????????

????import junit.framework.TestCase;


????public class funTest extends TestCase {


????protected void setUp() throws Exception {

????super.setUp();

????}


????protected void tearDown() throws Exception {


????super.tearDown();


????}

 

????public void testFun() throws Throwable {

????//?????????


????int i = Fun(2);

????//???junit????assert???????????


????assertTrue(1??i);

????}

????}


??????????????У? funTest?????funTest???setup??????teardown????(???????????)????Junit?????????????д???????????2????????ж??????assertTrue?????????????pass????fail???????檔????????????Junit???????????????????????????????????

???????QTP???????????????£?

???????QTP????????google?????????????????????????

????Browser(??Google??).Page(??Google??).WebEdit(??q??).Set ????????

????Browser(??Google??).Page(??Google??).WebButton(??Google ??????).Click

????????Browser??page??webEdit??webbutton????QTP????????????????????????