본문 바로가기
QA/Test Automation

AutoIT For UI Automation

by 화뉘 2016. 2. 17.

AutoIT?

AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys).

AutoIt 은 윈도우즈에 특화되어 있는 스크립트 언어로 기존의 스크립트 언어와는 달리 윈도우즈에서 하는 여러 가지 작업을 자동화하기 쉽다.


Features

  1. Easy to learn BASIC-like syntax
  2. Simulate keystrokes and mouse movements
  3. Manipulate windows and processes
  4. Interact with all standard windows controls
  5. Scripts can be compiled into standalone executables
  6. Create Graphical User Interfaces (GUIs)
  7. COM support
  8. Regular expressions
  9. Directly call external DLL and Windows API functions
  10. Scriptable RunAs functions
  11. Detailed helpfile and large community-based support forums
  12. Compatible with Windows XP / 2003 / Vista / 2008 / Windows 7 / 2008 R2 / Windows 8 / 2012 R2
  13. Unicode and x64 support
  14. Digitally signed for peace of mind
  15. Works with Windows Vista’s User Account Control (UAC)

Sample Code

#include <IE.au3>

$url = "https://www.yogiyo.co.kr"
; Active Yogiyo Web
$oIE = _IECreate($url)
$hWnd = _IEPropertyGet($oIE, "hwnd")
WinSetState($hWnd, "", @SW_MAXIMIZE)
_IELoadWait($oIE)
; Input Zip Code Address
$submit = _IEGetObjByName($oIE, "zipcode_or_city")
_IEPropertySet($submit, "innerText", "요기요시 요기요구 요기요동")
Sleep(1000)
_IEFormImageClick($oIE, "search_btn.png", "src")
Sleep(1000)



 

'QA > Test Automation' 카테고리의 다른 글

Swapy-ob For UI Automation  (0) 2016.02.17
PyWinAuto For UI Automation  (0) 2016.02.17
Sikuli For UI Automation  (0) 2016.02.17
Selenium & Maven  (1) 2016.02.03
UFT(Unified Functional Testing) Mobile  (0) 2016.02.03

댓글