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??д???????????к?????д?????????????????????????????????????????????????????????????
??????
???·???
App??С????H5?????????????????Щ??
2024/9/11 15:34:34?????????????????????????
2024/9/10 11:13:49P-One ???????????????????????????????????????
2024/9/10 10:14:12???????????????????????????
2024/9/9 18:04:26??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44

sales@spasvo.com