際際滷

際際滷Share 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

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)