??????AutoIT???????????
???????????? ???????[ 2016/4/14 16:29:17 ] ??????????????? ?????????
????4. ???????????
???????????????????????????????????AutoIt???????????????????????????????????????
????????????????y?????????????????????
WinActive("???????"[??"???????"])
??????????
WinClose("???????"[??"???????"])
?????????????????????小
WinMove("???????"??"???????"]??X????Y????[??????[?????[?????]]])
??????????小????????????????
WinSetState("???????"??"???????"?????)
?????????????????????
ControlClick("???????"??"???????”?????ID[??????[?????????[??X????[??Y????]]]])
????????????????
ControlCommand("???????"??"???????"?????ID??"????"[??"???"])
???????????????????????????
ControlFocus("???????"??"???????"?????ID)
????????????????????
ControlSend("???????"??"???????"?????ID??"?????"[?????])
????????????????
ControlSetText("???????"??"???????"?????ID??"?????"?????)
?????????????????????
Send("????"[?????])
??????????????
MouseClick("???"[??X????Y????[?????????[?????]]]??)
???????????????
MouseClickDrag("???"??X1????Y1????X2????Y2????[?????])
????5.???
??????????????????????????????胁????????????????????????????????????????妤�??????????????????????????卸?????????????????????????????????????????????????????????????????????????????写????????????校??????????
????5.1 ?????????????????????
???????????????位?煤??小???
WinGetPos("???????"[??"???????"]) ;???????
ControlGetPos("???????"??"???????"?????ID) ;??????
??????????????????????????????睢�????小???????
WinGetSate("???????"[??"???????"]) ;???????
ControlCommand("???????"??"???????"?????ID?????) ;??????
??榇�????????
WinExists("???????"[??”???????”])
????5.2 ??????????????????????
????????????????????
WinGetTitle("???????"[??"???????"])
????????械??????
WinGetText("???????"[??"???????"])
??????????????
ControlGetText("???????"??"???????"?????ID)
????5.3 ??????????效???????????
????AutoIt??????????????????????????????????????????????????????????薪??????????效???y???????????????????????????????校??貌???????o??????????
???????????????????????
_ScreenCapture_Capture("C:Image1.jpg")
??
_ScreenCapture_Capture("C:Image1.jpg"??0??0??796??596)
??
_ScreenCapture_CaptureWnd("C:Image1.jpg"????????)
??????????
#include <ScreenCapture.au3>
;????????????路?????????
$file="c:ScreenCapture"&@MON & @MDAY & @HOUR & @MIN & @SEC&" .jpg"
_ScreenCapture_Capture($file);?????娴�?????
????5.4 ??????????????
?????????????
FileExists("路??")
????????小??
FileGetSize("路??")
????????????????????????????????
FileGetAttrib("路??")
????5.5 ???????
?????????????????ID??
MouseGetCursor()
??????????????位???
MouseGetPos([dimension])
????6. ???
????????????????????????未????????????????????????????????????“1+2”?????????????????????写?????????小?
??????????锟�?
Run("calc.exe")
WinWaitActive("??????")
ControlClick("??????"??""??"1")
ControlClick("??????"??""??"+")
ControlClick("??????"??""??"2")
ControlClick("??????"??""??"=")
$Result=ControlGetText("??????"??""??403)
if $Result=="3. " Then
FileWriteLine("C: esult.txt"??"???????????????????")
Else
FileWriteLine("C: esult.txt"??"???????????????????锟�??????????"&$Result)
EndIf
WinClose("??????")
???????????????????????婕�???????????????????SPASVO小??(021-61079698-8054)?????????????????????????
??????
??????????????????????????????????????????效?????????????????????????????????????????????????5????????????????????薪?????????????????AR????????????ios???????????????些????????????????????AutoRunner??Selenium????????????????????????????????????Web????????????????Android???????????????些?????????????????????????????????????????????????????????????????????????????????????????????????????味????小??????????????????????????????????????????未?????????????????????????????????????????????????????????Selenium???????????????????????Selenium?????????????些?????????

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