?4.15  AutoIt Windows Info???“??”??????


???????4.14??4.15?????AutoIt Windows Info ????????????
?????????title?“????????????”???????Class?“#32770”??
???????????????class ?“Edit”??Instance?“1” ??????ClassnameNN?“Edit1”??
???????????class ?“Button”??Instance?“1” ??????ClassnameNN?“Button1”??
????2??????AutoIt Windows Info ??????????????SciTE Script Editor????????д?????
????;ControlFocus("title"??"text"??controlID) Edit1=Edit instance 1
????ControlFocus("????????????"?? ""??"Edit1")
????; Wait 10 seconds for the Upload window to appear
????WinWait("[CLASS:#32770]"??""??10)
????; Set the File name text on the Edit field
????ControlSetText("????????????"?? ""?? "Edit1"?? "D:\upload_file.txt")
????Sleep(2000)
????; Click on the Open button
????ControlClick("????????????"?? ""??"Button1");
????ControlFocus()???????????Window?????WinWait()????10???????????????????????÷???WebDriver ??????implicitly_wait()?????ControlSetText()??????“?????”??????????????????·?????????Sleep()??????Python??time???????Sleep()?????÷??????????????????????λ??Sleep(2000)??????????2000????ControlClick()??????????????е?“??”?????
????AutoIt???????д?????????????????“Tools”-->“Go” ????????F5?????????????????????????????????????????????