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

PPT
Somos Todos Iguais
PDF
337
PDF
Amphibia "All In"
PPTX
Visual studio 2015를 활용한 개발 생산성 및 코드 품질 혁신
PDF
테스트자동화 성공전략
PDF
사용자 스토리 대상 테스트 설계 사례(테스트기본교육 3장 3절)
PDF
발표자료 1인qa로살아남는6가지방법
PPT
테스트 자동화의 원칙
Somos Todos Iguais
337
Amphibia "All In"
Visual studio 2015를 활용한 개발 생산성 및 코드 품질 혁신
테스트자동화 성공전략
사용자 스토리 대상 테스트 설계 사례(테스트기본교육 3장 3절)
발표자료 1인qa로살아남는6가지방법
테스트 자동화의 원칙

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

PDF
Coded ui가이드
PPTX
테스트자동화와 TDD
PDF
효율적인 개발 프로세스를 위한 지속적 통합
PDF
UI 정적분석툴 소개와 활용사례
PDF
PPTX
TDD - Test Driven Development
PDF
(편집-테스트카페 발표자료) 1인 QA 수행사례로 발표한 자료 (W프로젝트 사례)
PPTX
X unittestpattern 1장_아꿈사
PDF
Istqb 2-소프트웨어수명주기와테스팅-2015
PPTX
Test term
PPTX
(SW 아키텍트 대회 2차)단위테스트자동화도구
PDF
애자일 테스트 프랙티스와 사례들 (부제: 협업의 힘)
PDF
Okjsp 13주년 발표자료: 생존 프로그래밍 Test
PPTX
[IGC 2016] 엔씨소프트 김종원 - 모바일 테스트 자동화 시스템
PDF
Airtest Mobile Game Automation
PPTX
X unit 14장
PPTX
테스트 자동화와 TDD(테스트 주도 개발방법론)
PDF
katalon studio 툴을 이용한 GUI 테스트 자동화 가이드
PDF
테스트수행사례 W통합보안솔루션
PDF
116 deview2013-guitar
Coded ui가이드
테스트자동화와 TDD
효율적인 개발 프로세스를 위한 지속적 통합
UI 정적분석툴 소개와 활용사례
TDD - Test Driven Development
(편집-테스트카페 발표자료) 1인 QA 수행사례로 발표한 자료 (W프로젝트 사례)
X unittestpattern 1장_아꿈사
Istqb 2-소프트웨어수명주기와테스팅-2015
Test term
(SW 아키텍트 대회 2차)단위테스트자동화도구
애자일 테스트 프랙티스와 사례들 (부제: 협업의 힘)
Okjsp 13주년 발표자료: 생존 프로그래밍 Test
[IGC 2016] 엔씨소프트 김종원 - 모바일 테스트 자동화 시스템
Airtest Mobile Game Automation
X unit 14장
테스트 자동화와 TDD(테스트 주도 개발방법론)
katalon studio 툴을 이용한 GUI 테스트 자동화 가이드
테스트수행사례 W통합보안솔루션
116 deview2013-guitar
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
Ad

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)