SlideShare a Scribd company logo
@himskim
수동 UI 테스트는 언제나 우리들의 친구였다
Microsoft Research Paper : http://research.microsoft.com/en-us/groups/ese/nagappan_tdd.pdf
feel confident
7
8
출처 : http://msdn.microsoft.com/ko-kr/library/dd286726.aspx
F5 경험
UI를 통해 전체 응용프로그램을 빌
드하고 수동으로 테스트
일반적인 비-CUIT 테스트
UI를 이용하지 않고 전체 응용 프
로그램 테스트 (예, 단위 테스트)
일반적인 CUIT 테스트
UI를 통하여 전체 응용프로그램을
자동으로 테스트
UI를 검증하는 테스트
격리 상태에서 UI 테스트
Coded UI 테스트 작성
Visual Studio 도구
녹화/일시 멈춤/녹화재개
스텝(단계) 편집
어설션 추가
코드 자동 생성
테스트 녹화기 종료
11
Demo
13
Demo
[DataSource]
TestContext.DataRow["열 이름"]
참고 : http://msdn.microsoft.com/ko-kr/library/ee624082.aspx
20
데이터 형식 데이터 원본 어트리뷰트
CSV
[DataSource("Microsoft.VisualStudio.TestTools.DataSource.CSV", "|DataDirectory|data.csv",
"data#csv", DataAccessMethod.Sequential), DeploymentItem("data.csv"), TestMethod]
Excel
[DataSource("System.Data.Odbc", "Dsn=Excel Files;Driver={Microsoft Excel Driver (*.xls)};
dbq=|DataDirectory|Data.xls;defaultdir=.;driverid=790;maxbuffersize=2048;
pagetimeout=5;readonly=true", "Sheet1$", DataAccessMethod.Sequential), TestMethod]
테스트 케이스
(TFS)
[DataSource("Microsoft.VisualStudio.TestTools.DataSource.TestCase",
"http://vlm13261329:8080/tfs/DefaultCollection;Agile", "30",
DataAccessMethod.Sequential), TestMethod]
XML
[DataSource("Microsoft.VisualStudio.TestTools.DataSource.XML", "|DataDirectory|data.xml“,
"Iterations", DataAccessMethod.Sequential), DeploymentItem("data.xml"), TestMethod]
SQL Express
[DataSource("System.Data.SqlClient", "Data Source=.sqlexpress;Initial Catalog=tempdb;
Integrated Security=True", "Data", DataAccessMethod.Sequential), TestMethod]
21
Selenium components for Coded UI Cross Browser Testing
Coded UI test를 이용한 테스트 자동화
운영체제 Windows 7, 8, Windows Server 2008 R2
.NET .NET 2.0, 3.0, 3.5, 4.0, 4.5
(상기 버전으로 개발된 앱을 지원한다는 의미임)
Internet Explorer 8 ,9, 10, 11 버전 지원 (10, 11은 데스크탑 버전만 지원)
Window Store App 지원. XAML 기반 앱
Windows Forms와 WPF 써드파티 컨트롤 지원
Chrome, Firefox 최신 버전만 지원
Window Form 2.0 이상 지원
MFC 부분적으로 지원
WPF 3.5 이상 지원 (다만, 일부 써드파티 컨트롤은 지원되지 않을 수 있음)
SharePoint 지원
Dynamics CRM web client 지원
http://msdn.microsoft.com/en-us/library/dd380742(v=vs.110)
http://msdn.microsoft.com/en-us/library/dd380742(v=vs.110)
Internet Explorer 6, 7 지원안함
Silverlight 지원안함
(플러그인 설치 시 가능하긴 하나 문제있음)
Flash 지원안함
Java 지원안함
Office Client Applications 지원안함
SAP 지원안함
<system.diagnostics>
<switches>
<add name=“EqtTraceLevel” value=“4” />
</switches>
</system.diagnostics>
Playback.PlaybackSettings.LoggerOverrideState =
HtmlLoggerState.AllActionSnapshot;
Coded UI test를 이용한 테스트 자동화
Demo
참고 : http://msdn.microsoft.com/ko-kr/library/dd380782.aspx
참고 : http://msdn.microsoft.com/ko-kr/library/dd380782.aspx
http://msdn.microsoft.com/en-us/library/jj159345.aspx
http://msdn.microsoft.com/ko-kr/library/dd264943.aspx
http://msdn.microsoft.com/ko-kr/library/dd286726.aspx
tools
도구
Q & A
34

More Related Content

PDF
Unit Testing in Angular
Knoldus Inc.
 
PDF
C++ 프로젝트에 단위 테스트 도입하기
OnGameServer
 
PDF
Robot framework 을 이용한 기능 테스트 자동화
Jaehoon Oh
 
PDF
Robot framework and selenium2 library
krishantha_samaraweera
 
PDF
Karate - powerful and simple framework for REST API automation testing
Roman Liubun
 
PPTX
Odoo's Test Framework - Learn Best Practices
Odoo
 
PPT
Unit Test
guest45ac48
 
PPTX
Angular Unit Testing
Alessandro Giorgetti
 
Unit Testing in Angular
Knoldus Inc.
 
C++ 프로젝트에 단위 테스트 도입하기
OnGameServer
 
Robot framework 을 이용한 기능 테스트 자동화
Jaehoon Oh
 
Robot framework and selenium2 library
krishantha_samaraweera
 
Karate - powerful and simple framework for REST API automation testing
Roman Liubun
 
Odoo's Test Framework - Learn Best Practices
Odoo
 
Unit Test
guest45ac48
 
Angular Unit Testing
Alessandro Giorgetti
 

What's hot (20)

PDF
Robot Framework Introduction
Pekka Klärck
 
PPTX
PID Control
Dheeraj Upadhyay
 
PDF
Monadic Java
Mario Fusco
 
PDF
Driving Pipeline Automation With Newman and the Postman API
Postman
 
PPTX
Hibernate ORM over JDBC
Pratyush Katre
 
PPTX
Workshop: Unit Testing in Python
David Tan
 
PDF
구글테스트
진화 손
 
PPTX
Robot Framework
Onur Baskirt
 
PDF
Robot Framework Dos And Don'ts
Pekka Klärck
 
PPTX
Karate DSL
anil borse
 
PPTX
Tips & Tricks for Motion with S7 1500 CPU
DMC, Inc.
 
PDF
How to start performance testing project
NaveenKumar Namachivayam
 
PDF
Robot Framework :: Demo login application
Somkiat Puisungnoen
 
PDF
Tdd red-green-refactor
Francisco Iglesias Gómez
 
PDF
The history and development of PLC.pdf
AbdurahmanWaleed
 
PPTX
Ngrx: Redux in angular
Saadnoor Salehin
 
PDF
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
Postman
 
PDF
React js use contexts and useContext hook
Piyush Jamwal
 
PDF
코드의 품질 (Code Quality)
ChulHui Lee
 
Robot Framework Introduction
Pekka Klärck
 
PID Control
Dheeraj Upadhyay
 
Monadic Java
Mario Fusco
 
Driving Pipeline Automation With Newman and the Postman API
Postman
 
Hibernate ORM over JDBC
Pratyush Katre
 
Workshop: Unit Testing in Python
David Tan
 
구글테스트
진화 손
 
Robot Framework
Onur Baskirt
 
Robot Framework Dos And Don'ts
Pekka Klärck
 
Karate DSL
anil borse
 
Tips & Tricks for Motion with S7 1500 CPU
DMC, Inc.
 
How to start performance testing project
NaveenKumar Namachivayam
 
Robot Framework :: Demo login application
Somkiat Puisungnoen
 
Tdd red-green-refactor
Francisco Iglesias Gómez
 
The history and development of PLC.pdf
AbdurahmanWaleed
 
Ngrx: Redux in angular
Saadnoor Salehin
 
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
Postman
 
React js use contexts and useContext hook
Piyush Jamwal
 
코드의 품질 (Code Quality)
ChulHui Lee
 
Ad

Similar to Coded UI test를 이용한 테스트 자동화 (20)

PPTX
Visual studio 2015를 활용한 개발 생산성 및 코드 품질 혁신
명신 김
 
PDF
테스트자동화 성공전략
SangIn Choung
 
PDF
사용자 스토리 대상 테스트 설계 사례(테스트기본교육 3장 3절)
SangIn Choung
 
PDF
발표자료 1인qa로살아남는6가지방법
SangIn Choung
 
PPT
테스트 자동화의 원칙
codevania
 
PDF
Coded ui가이드
SangIn Choung
 
PPTX
테스트자동화와 TDD
Sunghyouk Bae
 
PDF
효율적인 개발 프로세스를 위한 지속적 통합
홍렬 임
 
PDF
UI 정적분석툴 소개와 활용사례
SangIn Choung
 
PDF
Tdd
savemyface
 
PPTX
TDD - Test Driven Development
ChangHyeon Bae
 
PDF
(편집-테스트카페 발표자료) 1인 QA 수행사례로 발표한 자료 (W프로젝트 사례)
SangIn Choung
 
PPTX
X unittestpattern 1장_아꿈사
효원 강
 
PDF
Istqb 2-소프트웨어수명주기와테스팅-2015
Jongwon Lee
 
PPTX
Test term
tedypicker
 
PPTX
(SW 아키텍트 대회 2차)단위테스트자동화도구
Lim SungHyun
 
PDF
애자일 테스트 프랙티스와 사례들 (부제: 협업의 힘)
SangIn Choung
 
PDF
Okjsp 13주년 발표자료: 생존 프로그래밍 Test
beom kyun choi
 
PPTX
[IGC 2016] 엔씨소프트 김종원 - 모바일 테스트 자동화 시스템
강 민우
 
PDF
Airtest Mobile Game Automation
Jiwon Lee
 
Visual studio 2015를 활용한 개발 생산성 및 코드 품질 혁신
명신 김
 
테스트자동화 성공전략
SangIn Choung
 
사용자 스토리 대상 테스트 설계 사례(테스트기본교육 3장 3절)
SangIn Choung
 
발표자료 1인qa로살아남는6가지방법
SangIn Choung
 
테스트 자동화의 원칙
codevania
 
Coded ui가이드
SangIn Choung
 
테스트자동화와 TDD
Sunghyouk Bae
 
효율적인 개발 프로세스를 위한 지속적 통합
홍렬 임
 
UI 정적분석툴 소개와 활용사례
SangIn Choung
 
TDD - Test Driven Development
ChangHyeon Bae
 
(편집-테스트카페 발표자료) 1인 QA 수행사례로 발표한 자료 (W프로젝트 사례)
SangIn Choung
 
X unittestpattern 1장_아꿈사
효원 강
 
Istqb 2-소프트웨어수명주기와테스팅-2015
Jongwon Lee
 
Test term
tedypicker
 
(SW 아키텍트 대회 2차)단위테스트자동화도구
Lim SungHyun
 
애자일 테스트 프랙티스와 사례들 (부제: 협업의 힘)
SangIn Choung
 
Okjsp 13주년 발표자료: 생존 프로그래밍 Test
beom kyun choi
 
[IGC 2016] 엔씨소프트 김종원 - 모바일 테스트 자동화 시스템
강 민우
 
Airtest Mobile Game Automation
Jiwon Lee
 
Ad

More from 명신 김 (20)

PDF
업무를 빼고 가치를 더하는 클라우드 기술
명신 김
 
PPTX
[2020 Ignite Seoul]Azure에서 사용할 수 있는 컨테이너/오케스트레이션 기술 살펴보기
명신 김
 
PPTX
Best of Build Seoul 2019 Keynote
명신 김
 
PPTX
Passwordless society
명신 김
 
PPTX
DevOps and Azure Devops 소개, 동향, 그리고 기대효과
명신 김
 
PPTX
Serverless design and adoption
명신 김
 
PPTX
Durable functions
명신 김
 
PPTX
Azure functions v2 announcement
명신 김
 
PPTX
Azure functions
명신 김
 
PPTX
Logic apps
명신 김
 
PPTX
Serverless
명신 김
 
PPTX
Azure event grid
명신 김
 
PPTX
Serverless, Azure Functions, Logic Apps
명신 김
 
PPTX
Microservices architecture
명신 김
 
PDF
Connect(); 2016 한시간 총정리
명신 김
 
PPTX
크로스 플랫폼을 품은 오픈 소스 프레임워크 .NET Core
명신 김
 
PPTX
VS2015 C++ new features
명신 김
 
PPTX
Welcome to the microsoft madness
명신 김
 
PPTX
Azure service fabric
명신 김
 
PPTX
가상 액터 모형과 Project orleans
명신 김
 
업무를 빼고 가치를 더하는 클라우드 기술
명신 김
 
[2020 Ignite Seoul]Azure에서 사용할 수 있는 컨테이너/오케스트레이션 기술 살펴보기
명신 김
 
Best of Build Seoul 2019 Keynote
명신 김
 
Passwordless society
명신 김
 
DevOps and Azure Devops 소개, 동향, 그리고 기대효과
명신 김
 
Serverless design and adoption
명신 김
 
Durable functions
명신 김
 
Azure functions v2 announcement
명신 김
 
Azure functions
명신 김
 
Logic apps
명신 김
 
Serverless
명신 김
 
Azure event grid
명신 김
 
Serverless, Azure Functions, Logic Apps
명신 김
 
Microservices architecture
명신 김
 
Connect(); 2016 한시간 총정리
명신 김
 
크로스 플랫폼을 품은 오픈 소스 프레임워크 .NET Core
명신 김
 
VS2015 C++ new features
명신 김
 
Welcome to the microsoft madness
명신 김
 
Azure service fabric
명신 김
 
가상 액터 모형과 Project orleans
명신 김
 

Coded UI test를 이용한 테스트 자동화

Editor's Notes

  • #10: UI Automation test creation is handled from the Visual Studio IDE. There are three methods for creating these tests: manual creation via code, keyword based scripts (using the preferred partner solution LogiGear), recording your actions as you interact with the UI, or importing an existing manual test case that has an action recording. Once the test has been created in the IDE, it can be ran from the IDE itself directly, from Test Manager, or automated as part of an automated build or deploy scenario. Automated UI tests can be associated with test cases in TFS for maximum visibility. Just like all other types of testing in Visual Studio, automated UI tests are backed by Team Foundation Server, enabling up to the minute detailed reporting. Depending on the method of execution, bugs can be created (directly in the case of MTM execution, or part of a failed build in the case of complete automation).
  • #23: http://visualstudiogallery.msdn.microsoft.com/11cfc881-f8c9-4f96-b303-a2780156628d
  • #25: http://msdn.microsoft.com/en-us/library/dd380742(v=vs.120)