Coded UI ?????????????о?
???????????? ???????[ 2014/5/12 10:14:58 ] ????????????????? Coded UI
????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??д???????????к?????д?????????????????????????????????????????????????????????????
??????

???·???
??????????????????
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