https://www.getpostman.com/docs/postman/collection_runs/integration_with_jenkins

신고

코드에 


capabilities.setCapability("unicodeKeyboard", true);


추가하면 한글 입력 가능

신고

maven project를 git repository로 만들고 싶으면 

Eclipse > Project > Team > Share로 접근해서 git repository를 생성하고

git remote add origin git@IP:sunghwan.cho/AutoTest.git

로 remote repository를 add 해주고 push 해주면 된다.

신고

이전 버전 selenium chrome driver 사용 시에 

org.openqa.selenium.SessionNotCreatedException: session not created exception


Error가 발생할 수도 있다.


이때 최신 버전을 chrome driver를 설치해주면 정상적으로 된다.

신고

moveToElement는 해당 Element의 top-left를 0,0으로 계산해서 이동시켜준다.


Actions operation = new Actions(driver);

WebElement vportIn = driver.findElement(By.id("vport-ns-in"));

WebElement vportOut = driver.findElement(By.id("vport-ns-out"));

int vportInWidth = vportIn.getSize().getWidth();

System.out.println("size of port-in : " + vportInWidth);

int vportInHeight = (vportIn.getSize().getHeight())/2;

System.out.println("size of port-in : " + vportInHeight);


int vportOutHeight = (vportIn.getSize().getHeight())/2;

System.out.println("size of port-out : " + vportOutHeight);

operation.moveToElement(vportIn,vportInWidth,vportInHeight).clickAndHold().moveToElement(vportOut,0,vportOutHeight).build().perform();;      

신고

Selendroid

  • Selendroid is a test automation framework which drivers off the UI of Android native and hybrid applications and the mobile web.
  • Tests are written using the WebDriver client API.
  • Selendroid can be used on emulators and real devices and can be integrated as a node the Selenium Grid for scaling and parallel testing.

Appinum

  • Appium is an open source test automation framework for use with native and hybrid mobile apps.
  • It drives IOS and Android apps using Selenium WebDriver.
  • Appium does not require including SDK or recompiling your application.


Selendroid vs Appium

FactorsSelendroidAppium
Supported PlatformsAndroid OnlyIOS, Android, FirefoxOS(Dev Staging)
Mobile Apps SupportNative, Hybrid & Mobile WebNative, Hybrid, Mobile Web & Web
User Agent TestingXO
Cross PlatformXO
EmulatorOO
Real DeviceOO
Cloud Based TestingOO
Selenium Grid ImplementationOO
System Requirment
  1. Selendroid is tested to run on Mac, Linux and Windows/
  2. Java sdk(minium 1.6) is installed and JAVA_HOME is configured.
  3. Latest Android-SDK is installed and ANDROID_HOME is set. 

IOS

Mac OS X 10.7+

XCode 4.5+w/ Command Line Tools


Android

Mac OS X 10.7+ or Windows 7+ or Linux

Android SDK >= 16(SDK < 16 in Selendroid mode)



 

신고

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

org.openqa.selenium.SessionNotCreatedException: session not created exception  (0) 2016.12.05
Selenium point to point link  (0) 2016.07.12
Selendroid vs Appinum  (0) 2016.03.30
Monkey Talk  (0) 2016.03.30
Swapy-ob For UI Automation  (0) 2016.02.17
PyWinAuto For UI Automation  (0) 2016.02.17

About Monkey Talk:

Monkey Talk is an open source tool for automating the scenarios, and one of most popular mobile app testing tools around. Monkey Talk automates real, functional interactive tests for iOS and Android apps. Native, mobile, and hybrid app, real devices or simulators. Recorded user actions can be shown in 3 different views i.e. Table View, Monkey Talk & JavaScript.

Monkey Talk vs. Robotium:

Robotium is the leading open source Android test automation framework. Robotium was first released in January 2010 and has been adding more features and improving itself. It supports native and hybrid android apps. Robotium recorder is an Eclipse plugin that works on Windows, Mac OSX and Linux. In comparison to Monkey talk, it has less versatility as monkey talk supports iOS and Android.

Monkey Talk vs. Appium:

Appium is an open source tool for automating native, mobile web and hybrid applications on iOS and Android platforms. Appium supports safari on iOS and Chrome or the native browser for automating the web apps. Importantly, Appium is “cross-platform”: it allows you to write tests against multiple platforms (iOS, Android), using the same API. This enables code reuse between iOS and Android test suites.

Do you prefer any other tools other than Monkey Talk? Share your thoughts in the comments below.


Reference : http://iamdanielkim.tistory.com/47

신고

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

Selenium point to point link  (0) 2016.07.12
Selendroid vs Appinum  (0) 2016.03.30
Monkey Talk  (0) 2016.03.30
Swapy-ob For UI Automation  (0) 2016.02.17
PyWinAuto For UI Automation  (0) 2016.02.17
AutoIT For UI Automation  (0) 2016.02.17

swapy-ob

Swapy-ob is a tool for GUI Automation for Windows. Finally you will get native python code for pywinauto module.

Automate in 3 steps:

  1. Select a control.
  2. Choose action by right-click.
  3. Get native python code.

I think...

Window Application에 특화된 Tool 임. Web Automation에 적합하지 않음. 

Web Element 찾기도 쉽지 않음


 

신고

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

Selendroid vs Appinum  (0) 2016.03.30
Monkey Talk  (0) 2016.03.30
Swapy-ob For UI Automation  (0) 2016.02.17
PyWinAuto For UI Automation  (0) 2016.02.17
AutoIT For UI Automation  (0) 2016.02.17
Sikuli For UI Automation  (0) 2016.02.17

What is PywinAuto?

 - URL : http://pywinauto.googlecode.com/hg/pywinauto/docs/index.html

 - pywinauto is a set of python modules to automate the Microsoft Windows GUI. At it’s simplest it allows you to send mouse and keyboard actions to windows dialogs and controls.

 - Window의 GUI에 접근하여 마우스,키보드 작업을 자동화할 수 있는 라이브러리이다. 임의의 창을 특정하거나, (없으면 실행하는 것도 가능하다) 창의 모듈을 특정하여 키 입력이나 마우스 입력을 전달하여 사용자가 미리 정의한대로 작업을 자동화하는 것이 가능하

Installation

Install Python 2.7

Source  : http://sourceforge.net/projects/pywinauto/

pywinauto 에서는 win32의 Sendkeys 함수를 이용하는데 그것의 Wrapping python 모듈이 필요함

http://code.google.com/p/sendkeys-ctypes/downloads/detail?name=SendKeys-ctypes-0.2.zip&can=2&q=

환경변수 추가

Path : C:\Python27

pywinauto 모듈 소스가 있는 곳에 가서 설치 

C:\PyWinAuto\pywinauto-0.4.0

> python setup.py install

마찬가지로 sendkeys-ctypes-0.2.zip 도 풀어 설치

C:\PyWinAuto\SendKeys-ctypes-0.2

> python setup.py install

Sample Code

from pywinauto.application import Application


#app = Application.start("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe")
app = Application.start("C:\Program Files (x86)\Internet Explorer\iexplore.exe")
app.window_().TypeKeys({F11})
app.window_().TypeKeys('https://www.yogiyo.co.kr')
time.sleep(5)

Some similar tools for comparison

I think...

Tool 자체가 Web이 아닌 Window에 특화되어 있다는 느낌을 받음

Home Page에 추천하는 툴로 이전에 사용하던 AutoIt이 있어서 적용해볼 예정

 

신고

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

Monkey Talk  (0) 2016.03.30
Swapy-ob For UI Automation  (0) 2016.02.17
PyWinAuto For UI Automation  (0) 2016.02.17
AutoIT For UI Automation  (0) 2016.02.17
Sikuli For UI Automation  (0) 2016.02.17
Selenium & Maven  (0) 2016.02.03

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
AutoIT For UI Automation  (0) 2016.02.17
Sikuli For UI Automation  (0) 2016.02.17
Selenium & Maven  (0) 2016.02.03
UFT(Unified Functional Testing) Mobile  (0) 2016.02.03

+ Recent posts