????6. ??в???????
??????е?????е???????????VS???????????Run?????????????????????

??????????????????????5????????????????????????

????????????Run test??????Debug test????л????????????????????????????????????????????VS2010??VS2013??????????????????????
????7. ??????
?????κ????????????????????????????ο????????????????????????????Щ???????????????????
?????????????????£?
????1. ????????5??????????????????
????2. ??????????????????????????????????????????

??????????????????????????????UI???????????
????8. ?Щ???????
????1. ????????????????????????????

????????????????????????295??11???????????????????????£????????????????????????????д?????????λ???????
????????????????????????????????????????????????????????С??????????????λ???
????2. ?????????????????
??????????SCCM?????Coded UI??????????Щ????????????????????Щ??????????????Щ??????????????????????????????
?????????????????????????????????????????????????????????????Щ????????????
???????磬?????????A?????????????????????????????????B??ζ????????????????????B????????????B??A???????????????λ??A???????????д??????????ο?

 

public void offsetclick(UITestControl control?? string button?? int left?? int top?? int time)
{
int x = control.Left;
int y = control.Top;
x = x + left;
y = y + top;
if(button == "right")
{
Mouse.Click(MouseButtons.Right?? ModifierKeys.None?? new Point(x?? y));
}
else
{
Mouse.Click(MouseButtons.Left?? ModifierKeys.None?? new Point(x?? y));
}
Playback.Wait(time);
}

????OK??д???????????к?????д?????????????????????????????????????????????????????????????