SlideShare uma empresa Scribd logo
1 de 136
Baixar para ler offline
DAY 2
MTLM
Start   Topics
9:00    Recap
9:15    Create Basic CodedUI, from Test Case and Manual
9:45    UIMap and customize the code for optimization
10:15   Data driven Tests and assertions
10:45   break
11:00   Troubleshoot CodedUI, Common Practices and questions
11:30   Configure the build to execute the CodedUI tests, test settings from VS2010, Execute
        from VS2010 with test agents and analyze the results
11:30   Associate test automation with test case, execute automated test case from MTM,
        configure the build to run from the build within MTM and analyze the results
12:30   break
13:15   MTLM, Scrum and other project Methodologies
13:45   Lab Management - Virtualized Test Environment and execution Demo
14:15   Test info in the OLAP Cube
14:30   Extensibility - test Scribe, TCMIMport
14:45   Create your own Data Diagnostic Adapter
15:15   MTLM usages with Azure projects
16:00   Closing
RECAP
Test Activities Planning…
Test Case Management
                     RECAP
RECAP
Test Case Specification
RECAP
Test Case Execution
Test Case Management
                     RECAP
Test Environments

                    RECAP
"by special request"
F5
1
Open the employee application
Set the intellitrace options
Set a breakpoint at …
2
When on the breakpoint, save the trace file on your desktop
3
Close Visual Studio and double click the intellitrace file
4
In the intellitrace summary, open the main threat …
5   … and search for
    The values that where entered
    during the previous run.
6
And now from Microsoft Test Manager
6
Set the diagnostic adapter
7
Configure the build… it needs a drop location for the symbols (pdb files)
.
Make test case with the parameter 1 and 1, crash again…
See lab 7 yesterday
8
Run the test case and see it crash… file a bug.
9
See the itrace file in the bug report...
10

Close MTM, open VS (with or without the employee application).
Got to the bug and click the itrace file…

See the exception and
start debugging…
11

Go back in time
11

Go back in time … and find the entered values
Start   Topics
9:00    Recap
9:15    Create Basic CodedUI, from Test Case and Manual
9:45    UIMap and customize the code for optimization
10:15   Data driven Tests and assertions
10:45   break
11:00   Troubleshoot CodedUI, Common Practices and questions
11:30   Configure the build to execute the CodedUI tests, test settings from VS2010, Execute
        from VS2010 with test agents and analyze the results
11:30   Associate test automation with test case, execute automated test case from MTM,
        configure the build to run from the build within MTM and analyze the results
12:30   break
13:15   MTLM, Scrum and other project Methodologies
13:45   Lab Management - Virtualized Test Environment and execution Demo
14:15   Test info in the OLAP Cube
14:30   Extensibility - test Scribe, TCMIMport
14:45   Create your own Data Diagnostic Adapter
15:15   MTLM usages with Azure projects
16:00   Closing
Regression Test Candidates




See also on www.tmap.net: Completion Phase
Test Automation


                          Test automation
       Where? When? How? Who? Why? What?
Where? When? How? Who? Why? What?
Where?   When? How? Who? Why? What?
Where? When? How? Who? Why? What?
VS2010 Test Tools
UI Test Automation Capabilities

                        Fast Forward
                             CodedUI
                  Test Infrastructure
Test Automation Investment Levels
 0   No investment in any kind of automation. Just click and test.



 1   Clean up of the Action log maybe re-execute, for more smooth Fast Forward.



 2   Basic CodedUI. Only use the default generation, add your own assertion.



 3   Advanced CodedUI. Customize the CodedUI and UIMap for optimization.
1   Clean up of the Action
2   Basic CodedUI




             VS2010 ALM MTLM usages patterns for
             Windows Azure hosted application
             development
3   Advanced CodedUI
Fast Forward
Cleaning the action recording
When: executing the same test case on
multiple environments or when using test data
iteration or … and don’t forget the shared
steps
CodedUI
CodedUI
from existing action recording from Manual Tester
CodedUI
from existing action recording from Manual Tester
CodedUI
from existing action recording from Manual Tester




                                                    2




                                                        1




                                                    4


                                                            3
CodedUI
Create a new action recording by Developer
Lab 12
Create a CodedUI from Test Case
Create a CodedUI by using the CodedUI Builder




            Timebox: 10 minuts
Start   Topics
9:00    Recap
9:15    Create Basic CodedUI, from Test Case and Manual
9:45    UIMap and customize the code for optimization
10:15   Data driven Tests and assertions
10:45   break
11:00   Troubleshoot CodedUI, Common Practices and questions
11:30   Configure the build to execute the CodedUI tests, test settings from VS2010, Execute
        from VS2010 with test agents and analyze the results
11:30   Associate test automation with test case, execute automated test case from MTM,
        configure the build to run from the build within MTM and analyze the results
12:30   break
13:15   MTLM, Scrum and other project Methodologies
13:45   Lab Management - Virtualized Test Environment and execution Demo
14:15   Test info in the OLAP Cube
14:30   Extensibility - test Scribe, TCMIMport
14:45   Create your own Data Diagnostic Adapter
15:15   MTLM usages with Azure projects
16:00   Closing
UIMap
UIMap
Lab 13
Tune the CodedUI with the UIMap…




            Timebox: 10 minuts
Start   Topics
9:00    Recap
9:15    Create Basic CodedUI, from Test Case and Manual
9:45    UIMap and customize the code for optimization
10:15   Data driven Tests and assertions
10:45   break
11:00   Troubleshoot CodedUI, Common Practices and questions
11:30   Configure the build to execute the CodedUI tests, test settings from VS2010, Execute
        from VS2010 with test agents and analyze the results
11:30   Associate test automation with test case, execute automated test case from MTM,
        configure the build to run from the build within MTM and analyze the results
12:30   break
13:15   MTLM, Scrum and other project Methodologies
13:45   Lab Management - Virtualized Test Environment and execution Demo
14:15   Test info in the OLAP Cube
14:30   Extensibility - test Scribe, TCMIMport
14:45   Create your own Data Diagnostic Adapter
15:15   MTLM usages with Azure projects
16:00   Closing
Data-Driven
Coded UI Test
Lab 14
Make CodedUI parameterized from an Excel sheet




            Timebox: 10 minuts
Start   Topics
9:00    Recap
9:15    Create Basic CodedUI, from Test Case and Manual
9:45    UIMap and customize the code for optimization
10:15   Data driven Tests and assertions
10:45   break
11:00   Troubleshoot CodedUI, Common Practices and questions
11:10   Configure the build to execute the CodedUI tests, test settings from VS2010, Execute
        from VS2010 with test agents and analyze the results
11:30   Associate test automation with test case, execute automated test case from MTM,
        configure the build to run from the build within MTM and analyze the results
12:30   break                                      BREAK TILL:
13:15   MTLM, Scrum and other project Methodologies
13:45                                                11:00
        Lab Management - Virtualized Test Environment and execution Demo
14:15   Test info in the OLAP Cube
14:30   Extensibility - test Scribe, TCMIMport
                                                (extra time to finish the labs :)
14:45   Create your own Data Diagnostic Adapter
15:15   MTLM usages with Azure projects
16:00   Closing
Start   Topics
9:00    Recap
9:15    Create Basic CodedUI, from Test Case and Manual
9:45    UIMap and customize the code for optimization
10:15   Data driven Tests and assertions
10:45   break
11:00   Troubleshoot CodedUI, Common Practices and questions
11:10   Configure the build to execute the CodedUI tests, test settings from VS2010, Execute
        from VS2010 with test agents and analyze the results
11:30   Associate test automation with test case, execute automated test case from MTM,
        configure the build to run from the build within MTM and analyze the results
12:30   break
13:15   MTLM, Scrum and other project Methodologies
13:45   Lab Management - Virtualized Test Environment and execution Demo
14:15   Test info in the OLAP Cube
14:30   Extensibility - test Scribe, TCMIMport
14:45   Create your own Data Diagnostic Adapter
15:15   MTLM usages with Azure projects
16:00   Closing
CodedUI Common Questions

 • In what version what functionality?

 • How to debug?

 • Where can I find test run results for a test run?

 • Where do I see these assertions are passed or failed?

 • For which properties can I make an assertion?

 • …
CodedUI Advanced Questions

 • How does CodedUI work?

 • Can I use CodedUI for performance testing?

 • How to maintain CodedUI tests?

 • How to execute in the build?

 • …
CodedUI Challenges

 • The playback failed to find the control with the given search
   properties.

 • Identifying controls with no name search criteria or changing
   ID’s

 • Selecting correct Search Configurations for a control

 • How to select the particular value from combo box

 • …find controls
Start   Topics
9:00    Recap
9:15    Create Basic CodedUI, from Test Case and Manual
9:45    UIMap and customize the code for optimization
10:15   Data driven Tests and assertions
10:45   break
11:00   Troubleshoot CodedUI, Common Practices and questions
11:10   Configure the build to execute the CodedUI tests, test settings from VS2010, Execute
        from VS2010 with test agents and analyze the results
11:30   Associate test automation with test case, execute automated test case from MTM,
        configure the build to run from the build within MTM and analyze the results
12:30   Lunch
13:15   MTLM, Scrum and other project Methodologies
13:45   Lab Management - Virtualized Test Environment and execution Demo
14:15   Test info in the OLAP Cube
14:30   Extensibility - test Scribe, TCMIMport
14:45   Create your own Data Diagnostic Adapter
15:15   MTLM usages with Azure projects
16:00   Closing
Execute CodedUI
During the build with Visual Studio 2010



                      For the next 1,5 hour, you must have:
                      - A successful running codedui
                      - Test agent and controller
                      - A build
                      - Testplan and a test case
Configurations for automated test execution:




                                                                     C


Flavor C: Execution during build with Test controller… B
                                       Preferred configuration above flavor
  Part of Build Verification Tests on multiple test agents
  (triggered by: build)

  Configure Test Controller (don’t register it with a project collection )
  http://msdn.microsoft.com/en-us/library/dd648127.aspx#TestControllers
  Configure Test Agents on clients (interactive mode)
  http://msdn.microsoft.com/en-us/library/dd648127.aspx#TestAgents
  Configure *.Testsettings file in solution to use Test Controller and Test Agents
  Configure the build to run the tests (see B)




                                                    Pro: Con:
                 Test run on test environments No collection of test results in TFS
           Tests run on multiple environments Harder to configure
                     Test Results in Build result Need for specific test client environments
                                                  Test Settings from VS
1
Configure Test Controller.
2
Add new Test Settings file
Set remote execution and
test controller.
3
Create a new build definition
Set the Automated Test Properties
4
Queue a new Build

Watch the Test Agent and
Test Environment
Lab 15
Run the automated test from the build.
Look for the test results




             Timebox: 10 minuts
Start   Topics
9:00    Recap
9:15    Create Basic CodedUI, from Test Case and Manual
9:45    UIMap and customize the code for optimization
10:15   Data driven Tests and assertions
10:45   break
11:00   Troubleshoot CodedUI, Common Practices and questions
11:30   Configure the build to execute the CodedUI tests, test settings from VS2010, Execute
        from VS2010 with test agents and analyze the results
11:30   Associate test automation with test case, execute automated test case from MTM,
        configure the build to run from the build within MTM and analyze the results
12:30   break
13:15   MTLM, Scrum and other project Methodologies
13:45   Lab Management - Virtualized Test Environment and execution Demo
14:15   Test info in the OLAP Cube
14:30   Extensibility - test Scribe, TCMIMport
14:45   Create your own Data Diagnostic Adapter
15:15   MTLM usages with Azure projects
16:00   Closing
Execute CodedUI
Within a test case as an associated automation manualy
Configurations for automated test execution:




                                               D


Flavor D: Execution from Microsoft Test Manager…than BVT
                                         Other type of test
  Part of Regression Tests
  (triggered by: MTM user, right mouse click on test case, run)

  Configure Test Controller (register it with a project collection )
  Configure Test Agents on clients (interactive mode, can be the same as MTM)
  Configure Lab Center in MTM to use test controller and create test ‘agent’ environment.
  http://msdn.microsoft.com/en-us/library/ee390842.aspx
  http://msdn.microsoft.com/en-us/library/dd293551.aspx
  Associate CodedUI test with WI Test Case from VS.
  http://www.richard-banks.org/2010/11/how-to-use-codedui-tests-watin-and-mtm.html


                                                   Pro: Con:
                 Test run on test environments Manually triggered by Tester
           Tests run on multiple environments Hard to configure
                   Test Result in MTM and TFS Need for specific test client (same as MTM?)
                        Test Settings from MTM
1
Configure Test Controller.
2
Associate the CodedUI
with a Test Case.
2
Create Test Environment
3
Set test Settings
4
Associate the CodedUI
with a Test Case.
5
Run Automated Tests from Test Manager
Lab 16
Run the automated test from MTM.
Look for the test results




            Timebox: 10 minuts
Execute CodedUI
Within a test case as an associated automation from the build
Configurations for automated test execution:




                                                               E


Flavor E: Execution from MTM duringPreferred configuration above flavor C
                                     Build…
  Part of BVT                                                                 Flavor D and E can be configured together
  (triggered by: Build)

  Configure Test Controller (register it with a project collection )
  Configure Test Agents on clients (interactive mode, can be the same as MTM)
  Configure Lab Center in MTM to use test controller and create test ‘agent’ environment.
  Associate CodedUI test with WI Test Case from VS.
  Create Build task to run MTC or MSTEST task for Test Plan
  http://blogs.microsoft.co.il/blogs/shair/archive/2010/10/30/how-to-run-coded-ui-tests-from-command-line.aspx


                                                Pro: Con:
                 Test run on test environments Hard to configure
           Tests run on multiple environments Need for specific test client (same as MTM?)
                   Test Result in MTM and TFS
                              Triggered by build
                        Test Settings from MTM
Execute automated test cases on
different environments
0
Same steps as previous lab.
1
Configure additional environments in Test Plan properties.
                              Win 7 IE9 configuration
                                 Win 7 IE8 configuration


           TC   MTLM Client
                                                           Win 7 IE8 configuration
                                        Physical
                                        Test Client
                 TFS 2010



                                                           Win 7 IE9 configuration
                                        Physical
                                        Test Client
1
Get Test Plan ID
Get Test Suite
Get Test Configurations
  with TCM.exe
2
Create command line for Test Run for the different Test Configurations

    "run /create /title:""Run on Host for specific Test Point"" /planid:16
    /querytext:""SELECT * FROM TestPoint WHERE ConfigurationId=13""
    /settingsname:""Automated Test on Windows 7 Environment IE9""
    /testenvironment:""Win 7 IE9"" /collection:http://clemenes-
    pc:8080/tfs/defaultcollection /teamproject:EmployeeApplication"



    "run /create /title:""Run on test env for specific Test Point"" /planid:16
    /querytext:""SELECT * FROM TestPoint WHERE ConfigurationId=12""
    /settingsname:""Automated Test on Windows 7 Environment IE8""
    /testenvironment:""Win 7 IE8"" /collection:http://clemenes-
    pc:8080/tfs/defaultcollection /teamproject:EmployeeApplication"
3
Add build commands
6
Queue a new Build

Watch the Test Agent and
Test Environment
Start   Topics
9:00    Recap
9:15    Create Basic CodedUI, from Test Case and Manual
9:45    UIMap and customize the code for optimization
10:15   Data driven Tests and assertions
10:45   break
11:00   Troubleshoot CodedUI, Common Practices and questions
11:30   Configure the build to execute the CodedUI tests, test settings from VS2010, Execute
        from VS2010 with test agents and analyze the results
11:30   Associate test automation with test case, execute automated test case from MTM,
        configure the build to run from the build within MTM and analyze the results
12:30   Lunch                                      LUNCH TILL:
13:15   MTLM, Scrum and other project Methodologies
13:45                                                13:15
        Lab Management - Virtualized Test Environment and execution Demo
14:15   Test info in the OLAP Cube
14:30   Extensibility - test Scribe, TCMIMport
                                                (extra time to finish the labs :)
14:45   Create your own Data Diagnostic Adapter
15:15   MTLM usages with Azure projects
16:00   Closing
Start   Topics
9:00    Recap
9:15    Create Basic CodedUI, from Test Case and Manual
9:45    UIMap and customize the code for optimization
10:15   Data driven Tests and assertions
10:45   break
11:00   Troubleshoot CodedUI, Common Practices and questions
11:30   Configure the build to execute the CodedUI tests, test settings from VS2010, Execute
        from VS2010 with test agents and analyze the results
11:30   Associate test automation with test case, execute automated test case from MTM,
        configure the build to run from the build within MTM and analyze the results
12:30   Lunch
13:15   MTLM, Scrum and other project Methodologies
13:45   Lab Management - Virtualized Test Environment and execution Demo
14:15   Test info in the OLAP Cube
14:30   Extensibility - test Scribe, TCMIMport
14:45   Create your own Data Diagnostic Adapter
15:15   MTLM usages with Azure projects
16:00   Closing
VS2010 Process Support
TMap, ALM and process templates
# Planning the project
# Release planning
      meeting
     Estimating and prioritizing the Product Backlog




                                                   # Product Backlog

                                                         Evolving
                                                      User Needs
                                         Owned by Product Owner
                                           Prio by Business Value



Test during the Release Planning meeting.
# Planning the project
# Planning the sprint
‘only execute tasks who make an addition to
the product are worthy to execute’
# Sprint planning
    meeting
          Add PBI to sprint
          Decomposition
          Commitment




                                       # Sprint Backlog

                                         Tasks
                               Related to PBI’s
                              Hours remaining




Test during the Sprint Planning meeting
# Planning the sprint
‘only execute tasks who make an addition to
the product are worthy to execute’
# Running the
    sprint
# Daily scrum
                  Track




# Sprint Review
                                                        # Sprint
           Demo the value
                                                      Retrospective
                          Agile Practices – Improvement
                            Test early and often
                            Build and deploy continuously
                            Acceptance Test Driven Development
                            Emergent Architectures
                            Refactor
                            Test Driven Development
                            Agile Database Development
                            Pair Programming
Undone
                            End to End
                            Testing



http://www.scrum.org/scrumguides/
Start   Topics
9:00    Recap
9:15    Create Basic CodedUI, from Test Case and Manual
9:45    UIMap and customize the code for optimization
10:15   Data driven Tests and assertions
10:45   break
11:00   Troubleshoot CodedUI, Common Practices and questions
11:30   Configure the build to execute the CodedUI tests, test settings from VS2010, Execute
        from VS2010 with test agents and analyze the results
11:30   Associate test automation with test case, execute automated test case from MTM,
        configure the build to run from the build within MTM and analyze the results
12:30   Lunch
13:15   MTLM, Scrum and other project Methodologies
13:45   Lab Management - Virtualized Test Environment and execution Demo
14:15   Test info in the OLAP Cube
14:30   Extensibility - test Scribe, TCMIMport
14:45   Create your own Data Diagnostic Adapter
15:15   MTLM usages with Azure projects
16:00   Closing
Build
            application




                           Provision
Run tests
                          ‘clean’ env




              Deploy
            application
VS2010 Lab Management
• Reproduce the exact conditions of a bug or other development
  issue.

• Build, deploy, and test applications automatically in a clean
  environment.

• Reduce the time required to create and configure machines for
  testing an application.

• Run multiple copies of a test or development at the same time.

• Enable members of a team to create and manage virtual
  environments without requiring system administrator privileges.
MTLM Client




TFS 2010                 System Center Virtual Machine
                         Manager (SCVMM)




                         Hyper-V             Library
                         Host                Shares

                           VM                  share

                           VM                  share
VM
Lab Agent
TFS 2010
TEAM FOUNDATION SERVER               INTERNET                             LAB INFRASTRUCTURE                                                              Prerequisites           ?
                                                                                                                                                   SAN

                                                                                    Domain Controller                                                     1.    TFS Application Tier (AT)
                                                                                                                                                                     •    Windows Server 2003 SP2, 2003 R2, 2003 R2, 2008 SP2, 2008 R2
                                                                                                                                                                     •    Windows Vista SP2, 7
                                                                                                                                                                     •    Ports used by services      8443 team web access
                                                                                                                                                                                                      8080 server

                      Internet                                                     LAB DOMAIN (could be same as CORP DOMAIN)                              2.    TFS Data Tier (DT)
                                                                                                                                                                     •    Windows Server 2003 SP2, 2003 R2, 2003 R2, 2008 SP2, 2008 R2
       NLB                                           External Users                                                                                                  •    Windows Vista SP2, 7
                                                                                                                                                                     •    Ports used by services      1433 SQL




                                                                                                                                 Walkthrough VHD
                                                                                                                                 Lab Management
                                                                                                                                                          3.    TFS Build Controller
                                                                                                                                                                     •    Windows Server 2003 SP2, 2003 R2, 2003 R2 SP2, 2008 SP2, 2008 R2
                                                                                                                                                                     •    Windows XP SP3, Vista SP2, 7
             TFS 1                                  VS/MTM Clients                                                                                                   •    Ports used by services       9191 controller
             Application Tier (AT)
                                                          4                                                                                               4.    TFS Clients
                                                                                                                                                                     •    Windows XP SP3, Vista SP2, 7
                                                                                                                                                                     •    Windows Server 2003 SP2, 2003 R2, 2008 SP2, 2008 R2

                                                                                                 VMM Server                                               5.    VM Factory
                                                                                                       6                                                             •    Windows Server 2003 SP2, 2003 R2, 2008 SP2, 2008 R2
                                                                                                                                                                     •    Windows XP SP2, Vista, 7
                                                                                                                                                                     •    Ports used by services          3389 RDP
                                                                                                                                                                                                          137 UDP
                                                                                                                           9                                                                              139 TCP
                                                                                                                 VMM Library                                         •    For more information, refer to the quick reference poster:
                                                                                                8                                                                         Visual Studio 2010 LAB Management Guide – VM Factory Checklist
                                      3
                                                                                                Test Controller                                           6.    VMM Server
                                                                                                                                                                     •    Windows Server 2008 or 2008 R2. R2 is recommended.
                                                                                                                                                                     •    Ports used by services       8100 VMM Agent
                     TFS                                                                                                                                                                               135 WMI (49152-65535)
                     Build                                                          Create LabMan template                                                                                             3389 RDP
                     Servers                                                        from golden image                                                     7.    VMM Hyper-V Host
                                                                                                                                                                     •    Windows Server 2008, 2008R2. R2 is recommended.
                                                           Build
                                                           VS/MTM                                                                                         8.    Test Controller
                                                                                                                    Deploy and                                       •    Windows Server 2003 SP2, 2003 R2, 2003 R2 SP2, 2008 SP2, 2008 R2
                                                           Client                       Build Golden Images
                                                                                                                                                                     •    Windows XP SP3, Vista SP2, 7
                                                           Machines                                                 Host VMs
                                                                                                                                                                     •    Ports used by services       6901 .NET Remoting
                                                                                                                                                                                                       9050 Lab Agent
                                                                                                                                                          9.    VMM Library
                                                          Primary Factory                                                                                            •    Windows Server 2008 or 2008 R2. R2 is recommended.
                          2
                    TFS                                         5                                                                                                    •    Ports used by services       443 BITS
                    Data Tier (DT)                                                                                                                                                                     80      WinRm
                                                                                                              VMM Hyper-V Host
                                                                                                                                     7

                                                                    Secondary Factory
                                                                           VM FACTORIES                                        LAB MANAGEMENT
                                                                                                                                                           References
                                                                                                                                                           •   Visual Studio 2010 Lab Management Guide
                                                              CORP DOMAIN                                                                                       • http://go.microsoft.com/fwlink/?LinkID=206935&clcid=0x409
                                                                                                                                                           •   Visual Studio ALM Rangers VM Factory Guidance
                                                                                                                                                                • http://rangersvsvmfactory.codeplex.com/
                                                Domain Controller                                                                                          •   Capacity Planning Quick Reference Poster
                                                                                                     Network Storage
                                                                                                                                                               Team Project Collection Planning Quick Reference Poster
CORP INFRASTRUCTURE                                                                                                                                             • http://vs2010quickref.codeplex.com/


                                                                                                                                                     Visual Studio 2010 LAB Management Guide – Infrastructure
                                                                                                                                                                                   Visual Studio ALM Rangers
                                                                                                                                                                                      2011-03-23
Visual Studio 2010                                                                                                                                           Test Architecture

Also known as user                                                                                 The final integration
acceptance testing,                                                                                testing the solution.
the validation testing                                                                             In the world of NASA          Test Cases
validates the solution                                                  System                     this could be the                                                   Testing
against test                                                                                       final countdown,
requirements, which                                                                                doing a complete
are based on business                                                                              system and




                                              Common Test Phases
requirements.                                                                                      environment test                                                         Test
                                                                      Validation                   before the launch.                                                        results
                                                                                                   Design validation
                                                                                                                                                  Cannot reproduce
                                                                                                   focused testing,
                                                                                                   which validates
   Building upon each                                                 Integration                  solution deliverables
   other and                                                                                       with requirements. It
   supporting the                                                                                  is especially                           Suspicions,
   testing strategy.                                                                               important when                         add more tests
                                                                                                   testing interfaces
                                                                                                   which are shared
                                                                                                   and are the basis of
                                                                                                   some or all of the
Unit of work focused
                                                                          Unit                     building blocks.
                                                                                                                                 Corrections                              Debugging
testing, at the core of the
solution, typically done by
the developer and
automated testing. Unit
                                                                                                                                         No more “No Repro”!
tests focus on topics such
as initialization, logic and
error handling at a code
level.


                                                                                      Visual Studio Products

                                                                                        Test                                  Lab
       Ultimate                                                    Premium                                                                                    Test Load Agent
                                                                                    Professional                           Management

                                                           Included in Ultimate                                                              Manage virtual environments for
                                                                                                       • Generalist Tester
                                                                                                                                             use in application development,
                                                                                                       • Minimal Footprint
                                                                                                                                             deployment, and testing.




References                                                                                         Visual Studio ALM Rangers, Copyright © 2009 Microsoft Corporation
Visual Studio MSDN Site        http://msdn.microsoft.com                                            Visual Studio ALM Rangers   http://msdn.microsoft.com/en-us/teamsystem/ee358786.aspx
Start   Topics
9:00    Recap
9:15
9:45
                                                      BREAK TILL:
        Create Basic CodedUI, from Test Case and Manual
        UIMap and customize the code for optimization
10:15   Data driven Tests and assertions                14:30
10:45   break
11:00   Troubleshoot CodedUI, Common Practices and questions
11:30   Configure the build to execute the CodedUI(extra time settings fromlabs :) Execute
                                                     tests, test to finish the VS2010,
        from VS2010 with test agents and analyze the results
11:30   Associate test automation with test case, execute automated test case from MTM,
        configure the build to run from the build within MTM and analyze the results
12:30   Lunch
13:15   MTLM, Scrum and other project Methodologies
13:45   Lab Management - Virtualized Test Environment and execution Demo
14:15   Test info in the OLAP Cube Break
14:30   Test Scribe, TCMImport
14:45   Create your own Data Diagnostic Adapter
15:15   MTLM usages with Azure projects
16:00   Closing
Lab 17
Install Test Scribe and create a report




              Timebox: 10 minuts
Start   Topics
9:00    Recap
9:15    Create Basic CodedUI, from Test Case and Manual
9:45    UIMap and customize the code for optimization
10:15   Data driven Tests and assertions
10:45   break
11:00   Troubleshoot CodedUI, Common Practices and questions
11:30   Configure the build to execute the CodedUI tests, test settings from VS2010, Execute
        from VS2010 with test agents and analyze the results
11:30   Associate test automation with test case, execute automated test case from MTM,
        configure the build to run from the build within MTM and analyze the results
12:30   Lunch
13:15   MTLM, Scrum and other project Methodologies
13:45   Lab Management - Virtualized Test Environment and execution Demo
14:15   Test info in the OLAP Cube Break
14:30   Test Scribe, TCMImport
14:45   Create your own Data Diagnostic Adapter
15:15   MTLM usages with Azure projects
16:00   Closing
Start   Topics
9:00    Recap
9:15    Create Basic CodedUI, from Test Case and Manual
9:45    UIMap and customize the code for optimization
10:15   Data driven Tests and assertions
10:45   break
11:00   Troubleshoot CodedUI, Common Practices and questions
11:30   Configure the build to execute the CodedUI tests, test settings from VS2010, Execute
        from VS2010 with test agents and analyze the results
11:30   Associate test automation with test case, execute automated test case from MTM,
        configure the build to run from the build within MTM and analyze the results
12:30   Lunch
13:15   MTLM, Scrum and other project Methodologies
13:45   Lab Management - Virtualized Test Environment and execution Demo
14:15   Test info in the OLAP Cube Break
14:30   Test Scribe, TCMImport
14:45   Create your own Data Diagnostic Adapter
15:15   MTLM usages with Azure projects
16:00   Closing
ALM 4 Azure
Automated ALM for Azure Cloud Development




                                     127
Start   Topics
9:00    Recap
9:15    Create Basic CodedUI, from Test Case and Manual
9:45    UIMap and customize the code for optimization
10:15   Data driven Tests and assertions
10:45   break
11:00   Troubleshoot CodedUI, Common Practices and questions
11:30   Configure the build to execute the CodedUI tests, test settings from VS2010, Execute
        from VS2010 with test agents and analyze the results
11:30   Associate test automation with test case, execute automated test case from MTM,
        configure the build to run from the build within MTM and analyze the results
12:30   Lunch
13:15   MTLM, Scrum and other project Methodologies
13:45   Lab Management - Virtualized Test Environment and execution Demo
14:15   Test info in the OLAP Cube Extensibility - test Scribe, TCMIMport
14:30   break
14:45   Create your own Data Diagnostic Adapter
15:15   MTLM usages with Azure projects
16:00   Closing
RECAP
Test Activities Planning…
Test Case Management
                     RECAP
RECAP
Test Case Specification
RECAP
Test Case Execution
Test Case Management
                     RECAP
Test Environments

                    RECAP
Testing Practices with ALM tools




GOAL:
Know the value of MTM and know how to use its capabilities
staat voor resultaat

Mais conteúdo relacionado

Mais procurados

Testes? Mas isso não aumenta o tempo de projecto? Não quero...
Testes? Mas isso não aumenta o tempo de projecto? Não quero...Testes? Mas isso não aumenta o tempo de projecto? Não quero...
Testes? Mas isso não aumenta o tempo de projecto? Não quero...Comunidade NetPonto
 
Testing, Learning and Professionalism — 20171214
Testing, Learning and Professionalism — 20171214Testing, Learning and Professionalism — 20171214
Testing, Learning and Professionalism — 20171214David Rodenas
 
Tutorial test driven development with Visual Studio 2012
Tutorial test driven development with Visual Studio 2012Tutorial test driven development with Visual Studio 2012
Tutorial test driven development with Visual Studio 2012Hong Le Van
 
Quick test professional certifcation questions and tutorial2
Quick test professional certifcation questions and tutorial2Quick test professional certifcation questions and tutorial2
Quick test professional certifcation questions and tutorial2Ramu Palanki
 
Testing and Mocking Object - The Art of Mocking.
Testing and Mocking Object - The Art of Mocking.Testing and Mocking Object - The Art of Mocking.
Testing and Mocking Object - The Art of Mocking.Deepak Singhvi
 
Grails 1.1 Testing - Unit, Integration & Functional
Grails 1.1 Testing - Unit, Integration & FunctionalGrails 1.1 Testing - Unit, Integration & Functional
Grails 1.1 Testing - Unit, Integration & Functional2Paths Solutions Ltd.
 
Sample Chapter of Practical Unit Testing with TestNG and Mockito
Sample Chapter of Practical Unit Testing with TestNG and MockitoSample Chapter of Practical Unit Testing with TestNG and Mockito
Sample Chapter of Practical Unit Testing with TestNG and MockitoTomek Kaczanowski
 
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answersITeLearn
 
Testing in a microcontroller world
Testing in a microcontroller worldTesting in a microcontroller world
Testing in a microcontroller worldangelocompagnucci
 
PVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOps
PVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOpsPVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOps
PVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOpsAndrey Karpov
 
Introduction To J unit
Introduction To J unitIntroduction To J unit
Introduction To J unitOlga Extone
 
programs testing programs
programs testing programsprograms testing programs
programs testing programsICANS GmbH
 
Containerize your Blackbox tests
Containerize your Blackbox testsContainerize your Blackbox tests
Containerize your Blackbox testsKevin Beeman
 

Mais procurados (20)

Junit tutorial
Junit tutorialJunit tutorial
Junit tutorial
 
AAA Automated Testing
AAA Automated TestingAAA Automated Testing
AAA Automated Testing
 
Testes? Mas isso não aumenta o tempo de projecto? Não quero...
Testes? Mas isso não aumenta o tempo de projecto? Não quero...Testes? Mas isso não aumenta o tempo de projecto? Não quero...
Testes? Mas isso não aumenta o tempo de projecto? Não quero...
 
Exploring CrXPRT 2015
Exploring CrXPRT 2015Exploring CrXPRT 2015
Exploring CrXPRT 2015
 
Testing, Learning and Professionalism — 20171214
Testing, Learning and Professionalism — 20171214Testing, Learning and Professionalism — 20171214
Testing, Learning and Professionalism — 20171214
 
Tutorial test driven development with Visual Studio 2012
Tutorial test driven development with Visual Studio 2012Tutorial test driven development with Visual Studio 2012
Tutorial test driven development with Visual Studio 2012
 
Quick test professional certifcation questions and tutorial2
Quick test professional certifcation questions and tutorial2Quick test professional certifcation questions and tutorial2
Quick test professional certifcation questions and tutorial2
 
Testing and Mocking Object - The Art of Mocking.
Testing and Mocking Object - The Art of Mocking.Testing and Mocking Object - The Art of Mocking.
Testing and Mocking Object - The Art of Mocking.
 
Grails 1.1 Testing - Unit, Integration & Functional
Grails 1.1 Testing - Unit, Integration & FunctionalGrails 1.1 Testing - Unit, Integration & Functional
Grails 1.1 Testing - Unit, Integration & Functional
 
Sample Chapter of Practical Unit Testing with TestNG and Mockito
Sample Chapter of Practical Unit Testing with TestNG and MockitoSample Chapter of Practical Unit Testing with TestNG and Mockito
Sample Chapter of Practical Unit Testing with TestNG and Mockito
 
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answers
 
Testing in a microcontroller world
Testing in a microcontroller worldTesting in a microcontroller world
Testing in a microcontroller world
 
PVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOps
PVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOpsPVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOps
PVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOps
 
JUnit Presentation
JUnit PresentationJUnit Presentation
JUnit Presentation
 
Introduction To J unit
Introduction To J unitIntroduction To J unit
Introduction To J unit
 
Unit testing with java
Unit testing with javaUnit testing with java
Unit testing with java
 
J Unit
J UnitJ Unit
J Unit
 
Why Unit Testingl
Why Unit TestinglWhy Unit Testingl
Why Unit Testingl
 
programs testing programs
programs testing programsprograms testing programs
programs testing programs
 
Containerize your Blackbox tests
Containerize your Blackbox testsContainerize your Blackbox tests
Containerize your Blackbox tests
 

Semelhante a MTLM Visual Studio 2010 ALM - day2

MTLM Visual Studio 2010 ALM workshop - day1
MTLM Visual Studio 2010 ALM workshop  - day1MTLM Visual Studio 2010 ALM workshop  - day1
MTLM Visual Studio 2010 ALM workshop - day1Clemens Reijnen
 
Testingfor continuousdeliverywithvisualstudio2012
Testingfor continuousdeliverywithvisualstudio2012Testingfor continuousdeliverywithvisualstudio2012
Testingfor continuousdeliverywithvisualstudio2012Steve Xu
 
Java Code Quality Improvements - DevWeek
Java Code Quality Improvements - DevWeekJava Code Quality Improvements - DevWeek
Java Code Quality Improvements - DevWeekZoltan Iszlai
 
Automock: Interaction-Based Mock Code Generation
Automock: Interaction-Based Mock Code GenerationAutomock: Interaction-Based Mock Code Generation
Automock: Interaction-Based Mock Code GenerationSabrina Souto
 
Achieve Intelligent Test Execution: Strategies for Streamlining Regression Te...
Achieve Intelligent Test Execution: Strategies for Streamlining Regression Te...Achieve Intelligent Test Execution: Strategies for Streamlining Regression Te...
Achieve Intelligent Test Execution: Strategies for Streamlining Regression Te...DevOps.com
 
Lab Management with TFS 2010
Lab Management with TFS 2010Lab Management with TFS 2010
Lab Management with TFS 2010Ed Blankenship
 
Oracle formstutorial
Oracle formstutorialOracle formstutorial
Oracle formstutorialphamdanhvu
 
Oracle formstutorial
Oracle formstutorialOracle formstutorial
Oracle formstutorialbhanu_mca
 
Getting started with wvd - David Nudelman
Getting started with wvd -  David NudelmanGetting started with wvd -  David Nudelman
Getting started with wvd - David NudelmanNeil McLoughlin
 
Continuous Integration and Delivery using TeamCity and Jenkins
Continuous Integration and Delivery using TeamCity and JenkinsContinuous Integration and Delivery using TeamCity and Jenkins
Continuous Integration and Delivery using TeamCity and JenkinsMahmoud Ali
 
Full Testing Experience - Visual Studio and TFS 2010
 Full Testing Experience - Visual Studio and TFS 2010 Full Testing Experience - Visual Studio and TFS 2010
Full Testing Experience - Visual Studio and TFS 2010Ed Blankenship
 
Strata CA 2019: From Jupyter to Production Manu Mukerji
Strata CA 2019: From Jupyter to Production Manu MukerjiStrata CA 2019: From Jupyter to Production Manu Mukerji
Strata CA 2019: From Jupyter to Production Manu MukerjiManu Mukerji
 
Cloud Study Jam_ Google Cloud Essentials Event Slides.pptx
Cloud Study Jam_ Google Cloud Essentials Event Slides.pptxCloud Study Jam_ Google Cloud Essentials Event Slides.pptx
Cloud Study Jam_ Google Cloud Essentials Event Slides.pptxAkashSrivastava519152
 
Visual Studio 2010 Testing Overview
Visual Studio 2010 Testing OverviewVisual Studio 2010 Testing Overview
Visual Studio 2010 Testing OverviewSteve Lange
 
VMworld 2013: Automating the Software Defined Data Center: How Do I Get Started
VMworld 2013: Automating the Software Defined Data Center: How Do I Get Started VMworld 2013: Automating the Software Defined Data Center: How Do I Get Started
VMworld 2013: Automating the Software Defined Data Center: How Do I Get Started VMworld
 
DockerCon EU 2015: Stop Being Lazy and Test Your Software!
DockerCon EU 2015: Stop Being Lazy and Test Your Software!DockerCon EU 2015: Stop Being Lazy and Test Your Software!
DockerCon EU 2015: Stop Being Lazy and Test Your Software!Docker, Inc.
 
Никита Галкин "Testing in Frontend World"
Никита Галкин "Testing in Frontend World"Никита Галкин "Testing in Frontend World"
Никита Галкин "Testing in Frontend World"Fwdays
 

Semelhante a MTLM Visual Studio 2010 ALM - day2 (20)

MTLM Visual Studio 2010 ALM workshop - day1
MTLM Visual Studio 2010 ALM workshop  - day1MTLM Visual Studio 2010 ALM workshop  - day1
MTLM Visual Studio 2010 ALM workshop - day1
 
Testingfor continuousdeliverywithvisualstudio2012
Testingfor continuousdeliverywithvisualstudio2012Testingfor continuousdeliverywithvisualstudio2012
Testingfor continuousdeliverywithvisualstudio2012
 
TCE Automation
TCE AutomationTCE Automation
TCE Automation
 
Java Code Quality Improvements - DevWeek
Java Code Quality Improvements - DevWeekJava Code Quality Improvements - DevWeek
Java Code Quality Improvements - DevWeek
 
Automock: Interaction-Based Mock Code Generation
Automock: Interaction-Based Mock Code GenerationAutomock: Interaction-Based Mock Code Generation
Automock: Interaction-Based Mock Code Generation
 
Achieve Intelligent Test Execution: Strategies for Streamlining Regression Te...
Achieve Intelligent Test Execution: Strategies for Streamlining Regression Te...Achieve Intelligent Test Execution: Strategies for Streamlining Regression Te...
Achieve Intelligent Test Execution: Strategies for Streamlining Regression Te...
 
Ds for finance day 4
Ds for finance day 4Ds for finance day 4
Ds for finance day 4
 
Lab Management with TFS 2010
Lab Management with TFS 2010Lab Management with TFS 2010
Lab Management with TFS 2010
 
Oracle formstutorial
Oracle formstutorialOracle formstutorial
Oracle formstutorial
 
Oracle formstutorial
Oracle formstutorialOracle formstutorial
Oracle formstutorial
 
Getting started with wvd - David Nudelman
Getting started with wvd -  David NudelmanGetting started with wvd -  David Nudelman
Getting started with wvd - David Nudelman
 
Continuous Integration and Delivery using TeamCity and Jenkins
Continuous Integration and Delivery using TeamCity and JenkinsContinuous Integration and Delivery using TeamCity and Jenkins
Continuous Integration and Delivery using TeamCity and Jenkins
 
Full Testing Experience - Visual Studio and TFS 2010
 Full Testing Experience - Visual Studio and TFS 2010 Full Testing Experience - Visual Studio and TFS 2010
Full Testing Experience - Visual Studio and TFS 2010
 
Strata CA 2019: From Jupyter to Production Manu Mukerji
Strata CA 2019: From Jupyter to Production Manu MukerjiStrata CA 2019: From Jupyter to Production Manu Mukerji
Strata CA 2019: From Jupyter to Production Manu Mukerji
 
Cloud Study Jam_ Google Cloud Essentials Event Slides.pptx
Cloud Study Jam_ Google Cloud Essentials Event Slides.pptxCloud Study Jam_ Google Cloud Essentials Event Slides.pptx
Cloud Study Jam_ Google Cloud Essentials Event Slides.pptx
 
Visual Studio 2010 Testing Overview
Visual Studio 2010 Testing OverviewVisual Studio 2010 Testing Overview
Visual Studio 2010 Testing Overview
 
VMworld 2013: Automating the Software Defined Data Center: How Do I Get Started
VMworld 2013: Automating the Software Defined Data Center: How Do I Get Started VMworld 2013: Automating the Software Defined Data Center: How Do I Get Started
VMworld 2013: Automating the Software Defined Data Center: How Do I Get Started
 
DockerCon EU 2015: Stop Being Lazy and Test Your Software!
DockerCon EU 2015: Stop Being Lazy and Test Your Software!DockerCon EU 2015: Stop Being Lazy and Test Your Software!
DockerCon EU 2015: Stop Being Lazy and Test Your Software!
 
Deep Dive Modern Apps Lifecycle with Visual Studio 2012: How to create cross ...
Deep Dive Modern Apps Lifecycle with Visual Studio 2012: How to create cross ...Deep Dive Modern Apps Lifecycle with Visual Studio 2012: How to create cross ...
Deep Dive Modern Apps Lifecycle with Visual Studio 2012: How to create cross ...
 
Никита Галкин "Testing in Frontend World"
Никита Галкин "Testing in Frontend World"Никита Галкин "Testing in Frontend World"
Никита Галкин "Testing in Frontend World"
 

Mais de Clemens Reijnen

Azure for software development teams
Azure for software development teamsAzure for software development teams
Azure for software development teamsClemens Reijnen
 
06 operations and feedback
06   operations and feedback06   operations and feedback
06 operations and feedbackClemens Reijnen
 
04 test controlling and tracking
04   test controlling and tracking04   test controlling and tracking
04 test controlling and trackingClemens Reijnen
 
03 test specification and execution
03   test specification and execution03   test specification and execution
03 test specification and executionClemens Reijnen
 
Test Tooling in Visual Studio 2012 an overview
Test Tooling in Visual Studio 2012 an overviewTest Tooling in Visual Studio 2012 an overview
Test Tooling in Visual Studio 2012 an overviewClemens Reijnen
 
ALM - Getting Testing done in a Sprint
ALM - Getting Testing done in a SprintALM - Getting Testing done in a Sprint
ALM - Getting Testing done in a SprintClemens Reijnen
 
TFS11 on Azure the basics
TFS11 on Azure the basicsTFS11 on Azure the basics
TFS11 on Azure the basicsClemens Reijnen
 
Coded UI - Test automation Practices from the Field
Coded UI - Test automation Practices from the FieldCoded UI - Test automation Practices from the Field
Coded UI - Test automation Practices from the FieldClemens Reijnen
 
MTLM Visual Studio 2010 ALM workshop
MTLM Visual Studio 2010 ALM workshopMTLM Visual Studio 2010 ALM workshop
MTLM Visual Studio 2010 ALM workshopClemens Reijnen
 
Technical meeting automated testing with vs2010
Technical meeting automated testing with vs2010Technical meeting automated testing with vs2010
Technical meeting automated testing with vs2010Clemens Reijnen
 
Alm 4 Azure with screenshots
Alm 4 Azure with screenshotsAlm 4 Azure with screenshots
Alm 4 Azure with screenshotsClemens Reijnen
 
Talk Through Sogeti ALM 4 Azure
Talk Through Sogeti ALM 4 AzureTalk Through Sogeti ALM 4 Azure
Talk Through Sogeti ALM 4 AzureClemens Reijnen
 
TMap for VS2010 - SlideShare.
TMap for VS2010 - SlideShare.TMap for VS2010 - SlideShare.
TMap for VS2010 - SlideShare.Clemens Reijnen
 

Mais de Clemens Reijnen (20)

Azure for software development teams
Azure for software development teamsAzure for software development teams
Azure for software development teams
 
06 operations and feedback
06   operations and feedback06   operations and feedback
06 operations and feedback
 
05 test infrastructure
05   test infrastructure05   test infrastructure
05 test infrastructure
 
04 test controlling and tracking
04   test controlling and tracking04   test controlling and tracking
04 test controlling and tracking
 
03 test specification and execution
03   test specification and execution03   test specification and execution
03 test specification and execution
 
02 test planning
02   test planning02   test planning
02 test planning
 
01 the value of quality
01   the value of quality01   the value of quality
01 the value of quality
 
A Collaborative culture
A Collaborative cultureA Collaborative culture
A Collaborative culture
 
Test Tooling in Visual Studio 2012 an overview
Test Tooling in Visual Studio 2012 an overviewTest Tooling in Visual Studio 2012 an overview
Test Tooling in Visual Studio 2012 an overview
 
ALM - Getting Testing done in a Sprint
ALM - Getting Testing done in a SprintALM - Getting Testing done in a Sprint
ALM - Getting Testing done in a Sprint
 
TFS11 on Azure advanced
TFS11 on Azure advancedTFS11 on Azure advanced
TFS11 on Azure advanced
 
TFS11 on Azure the basics
TFS11 on Azure the basicsTFS11 on Azure the basics
TFS11 on Azure the basics
 
Coded UI - Test automation Practices from the Field
Coded UI - Test automation Practices from the FieldCoded UI - Test automation Practices from the Field
Coded UI - Test automation Practices from the Field
 
MTLM Visual Studio 2010 ALM workshop
MTLM Visual Studio 2010 ALM workshopMTLM Visual Studio 2010 ALM workshop
MTLM Visual Studio 2010 ALM workshop
 
Scrum with VS2010
Scrum with VS2010  Scrum with VS2010
Scrum with VS2010
 
Technical meeting automated testing with vs2010
Technical meeting automated testing with vs2010Technical meeting automated testing with vs2010
Technical meeting automated testing with vs2010
 
Alm 4 Azure with screenshots
Alm 4 Azure with screenshotsAlm 4 Azure with screenshots
Alm 4 Azure with screenshots
 
Talk Through Sogeti ALM 4 Azure
Talk Through Sogeti ALM 4 AzureTalk Through Sogeti ALM 4 Azure
Talk Through Sogeti ALM 4 Azure
 
Alm 4 Azure
Alm 4 AzureAlm 4 Azure
Alm 4 Azure
 
TMap for VS2010 - SlideShare.
TMap for VS2010 - SlideShare.TMap for VS2010 - SlideShare.
TMap for VS2010 - SlideShare.
 

Último

Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 

Último (20)

Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 

MTLM Visual Studio 2010 ALM - day2

  • 2. Start Topics 9:00 Recap 9:15 Create Basic CodedUI, from Test Case and Manual 9:45 UIMap and customize the code for optimization 10:15 Data driven Tests and assertions 10:45 break 11:00 Troubleshoot CodedUI, Common Practices and questions 11:30 Configure the build to execute the CodedUI tests, test settings from VS2010, Execute from VS2010 with test agents and analyze the results 11:30 Associate test automation with test case, execute automated test case from MTM, configure the build to run from the build within MTM and analyze the results 12:30 break 13:15 MTLM, Scrum and other project Methodologies 13:45 Lab Management - Virtualized Test Environment and execution Demo 14:15 Test info in the OLAP Cube 14:30 Extensibility - test Scribe, TCMIMport 14:45 Create your own Data Diagnostic Adapter 15:15 MTLM usages with Azure projects 16:00 Closing
  • 10. F5
  • 11. 1 Open the employee application Set the intellitrace options Set a breakpoint at …
  • 12. 2 When on the breakpoint, save the trace file on your desktop
  • 13. 3 Close Visual Studio and double click the intellitrace file
  • 14. 4 In the intellitrace summary, open the main threat …
  • 15. 5 … and search for The values that where entered during the previous run.
  • 16. 6 And now from Microsoft Test Manager
  • 18. 7 Configure the build… it needs a drop location for the symbols (pdb files)
  • 19. . Make test case with the parameter 1 and 1, crash again… See lab 7 yesterday
  • 20. 8 Run the test case and see it crash… file a bug.
  • 21. 9 See the itrace file in the bug report...
  • 22. 10 Close MTM, open VS (with or without the employee application). Got to the bug and click the itrace file… See the exception and start debugging…
  • 24. 11 Go back in time … and find the entered values
  • 25. Start Topics 9:00 Recap 9:15 Create Basic CodedUI, from Test Case and Manual 9:45 UIMap and customize the code for optimization 10:15 Data driven Tests and assertions 10:45 break 11:00 Troubleshoot CodedUI, Common Practices and questions 11:30 Configure the build to execute the CodedUI tests, test settings from VS2010, Execute from VS2010 with test agents and analyze the results 11:30 Associate test automation with test case, execute automated test case from MTM, configure the build to run from the build within MTM and analyze the results 12:30 break 13:15 MTLM, Scrum and other project Methodologies 13:45 Lab Management - Virtualized Test Environment and execution Demo 14:15 Test info in the OLAP Cube 14:30 Extensibility - test Scribe, TCMIMport 14:45 Create your own Data Diagnostic Adapter 15:15 MTLM usages with Azure projects 16:00 Closing
  • 26. Regression Test Candidates See also on www.tmap.net: Completion Phase
  • 27. Test Automation Test automation Where? When? How? Who? Why? What?
  • 28.
  • 29.
  • 30. Where? When? How? Who? Why? What?
  • 31. Where? When? How? Who? Why? What?
  • 32. Where? When? How? Who? Why? What?
  • 33. VS2010 Test Tools UI Test Automation Capabilities Fast Forward CodedUI Test Infrastructure
  • 34. Test Automation Investment Levels 0 No investment in any kind of automation. Just click and test. 1 Clean up of the Action log maybe re-execute, for more smooth Fast Forward. 2 Basic CodedUI. Only use the default generation, add your own assertion. 3 Advanced CodedUI. Customize the CodedUI and UIMap for optimization.
  • 35. 1 Clean up of the Action
  • 36. 2 Basic CodedUI VS2010 ALM MTLM usages patterns for Windows Azure hosted application development
  • 37. 3 Advanced CodedUI
  • 39. Cleaning the action recording When: executing the same test case on multiple environments or when using test data iteration or … and don’t forget the shared steps
  • 41. CodedUI from existing action recording from Manual Tester
  • 42. CodedUI from existing action recording from Manual Tester
  • 43. CodedUI from existing action recording from Manual Tester 2 1 4 3
  • 44. CodedUI Create a new action recording by Developer
  • 45. Lab 12 Create a CodedUI from Test Case Create a CodedUI by using the CodedUI Builder Timebox: 10 minuts
  • 46. Start Topics 9:00 Recap 9:15 Create Basic CodedUI, from Test Case and Manual 9:45 UIMap and customize the code for optimization 10:15 Data driven Tests and assertions 10:45 break 11:00 Troubleshoot CodedUI, Common Practices and questions 11:30 Configure the build to execute the CodedUI tests, test settings from VS2010, Execute from VS2010 with test agents and analyze the results 11:30 Associate test automation with test case, execute automated test case from MTM, configure the build to run from the build within MTM and analyze the results 12:30 break 13:15 MTLM, Scrum and other project Methodologies 13:45 Lab Management - Virtualized Test Environment and execution Demo 14:15 Test info in the OLAP Cube 14:30 Extensibility - test Scribe, TCMIMport 14:45 Create your own Data Diagnostic Adapter 15:15 MTLM usages with Azure projects 16:00 Closing
  • 47. UIMap
  • 48. UIMap
  • 49.
  • 50. Lab 13 Tune the CodedUI with the UIMap… Timebox: 10 minuts
  • 51. Start Topics 9:00 Recap 9:15 Create Basic CodedUI, from Test Case and Manual 9:45 UIMap and customize the code for optimization 10:15 Data driven Tests and assertions 10:45 break 11:00 Troubleshoot CodedUI, Common Practices and questions 11:30 Configure the build to execute the CodedUI tests, test settings from VS2010, Execute from VS2010 with test agents and analyze the results 11:30 Associate test automation with test case, execute automated test case from MTM, configure the build to run from the build within MTM and analyze the results 12:30 break 13:15 MTLM, Scrum and other project Methodologies 13:45 Lab Management - Virtualized Test Environment and execution Demo 14:15 Test info in the OLAP Cube 14:30 Extensibility - test Scribe, TCMIMport 14:45 Create your own Data Diagnostic Adapter 15:15 MTLM usages with Azure projects 16:00 Closing
  • 53. Lab 14 Make CodedUI parameterized from an Excel sheet Timebox: 10 minuts
  • 54. Start Topics 9:00 Recap 9:15 Create Basic CodedUI, from Test Case and Manual 9:45 UIMap and customize the code for optimization 10:15 Data driven Tests and assertions 10:45 break 11:00 Troubleshoot CodedUI, Common Practices and questions 11:10 Configure the build to execute the CodedUI tests, test settings from VS2010, Execute from VS2010 with test agents and analyze the results 11:30 Associate test automation with test case, execute automated test case from MTM, configure the build to run from the build within MTM and analyze the results 12:30 break BREAK TILL: 13:15 MTLM, Scrum and other project Methodologies 13:45 11:00 Lab Management - Virtualized Test Environment and execution Demo 14:15 Test info in the OLAP Cube 14:30 Extensibility - test Scribe, TCMIMport (extra time to finish the labs :) 14:45 Create your own Data Diagnostic Adapter 15:15 MTLM usages with Azure projects 16:00 Closing
  • 55. Start Topics 9:00 Recap 9:15 Create Basic CodedUI, from Test Case and Manual 9:45 UIMap and customize the code for optimization 10:15 Data driven Tests and assertions 10:45 break 11:00 Troubleshoot CodedUI, Common Practices and questions 11:10 Configure the build to execute the CodedUI tests, test settings from VS2010, Execute from VS2010 with test agents and analyze the results 11:30 Associate test automation with test case, execute automated test case from MTM, configure the build to run from the build within MTM and analyze the results 12:30 break 13:15 MTLM, Scrum and other project Methodologies 13:45 Lab Management - Virtualized Test Environment and execution Demo 14:15 Test info in the OLAP Cube 14:30 Extensibility - test Scribe, TCMIMport 14:45 Create your own Data Diagnostic Adapter 15:15 MTLM usages with Azure projects 16:00 Closing
  • 56. CodedUI Common Questions • In what version what functionality? • How to debug? • Where can I find test run results for a test run? • Where do I see these assertions are passed or failed? • For which properties can I make an assertion? • …
  • 57. CodedUI Advanced Questions • How does CodedUI work? • Can I use CodedUI for performance testing? • How to maintain CodedUI tests? • How to execute in the build? • …
  • 58. CodedUI Challenges • The playback failed to find the control with the given search properties. • Identifying controls with no name search criteria or changing ID’s • Selecting correct Search Configurations for a control • How to select the particular value from combo box • …find controls
  • 59.
  • 60. Start Topics 9:00 Recap 9:15 Create Basic CodedUI, from Test Case and Manual 9:45 UIMap and customize the code for optimization 10:15 Data driven Tests and assertions 10:45 break 11:00 Troubleshoot CodedUI, Common Practices and questions 11:10 Configure the build to execute the CodedUI tests, test settings from VS2010, Execute from VS2010 with test agents and analyze the results 11:30 Associate test automation with test case, execute automated test case from MTM, configure the build to run from the build within MTM and analyze the results 12:30 Lunch 13:15 MTLM, Scrum and other project Methodologies 13:45 Lab Management - Virtualized Test Environment and execution Demo 14:15 Test info in the OLAP Cube 14:30 Extensibility - test Scribe, TCMIMport 14:45 Create your own Data Diagnostic Adapter 15:15 MTLM usages with Azure projects 16:00 Closing
  • 61. Execute CodedUI During the build with Visual Studio 2010 For the next 1,5 hour, you must have: - A successful running codedui - Test agent and controller - A build - Testplan and a test case
  • 62. Configurations for automated test execution: C Flavor C: Execution during build with Test controller… B Preferred configuration above flavor Part of Build Verification Tests on multiple test agents (triggered by: build) Configure Test Controller (don’t register it with a project collection ) http://msdn.microsoft.com/en-us/library/dd648127.aspx#TestControllers Configure Test Agents on clients (interactive mode) http://msdn.microsoft.com/en-us/library/dd648127.aspx#TestAgents Configure *.Testsettings file in solution to use Test Controller and Test Agents Configure the build to run the tests (see B) Pro: Con: Test run on test environments No collection of test results in TFS Tests run on multiple environments Harder to configure Test Results in Build result Need for specific test client environments Test Settings from VS
  • 64. 2 Add new Test Settings file Set remote execution and test controller.
  • 65. 3 Create a new build definition Set the Automated Test Properties
  • 66. 4 Queue a new Build Watch the Test Agent and Test Environment
  • 67. Lab 15 Run the automated test from the build. Look for the test results Timebox: 10 minuts
  • 68. Start Topics 9:00 Recap 9:15 Create Basic CodedUI, from Test Case and Manual 9:45 UIMap and customize the code for optimization 10:15 Data driven Tests and assertions 10:45 break 11:00 Troubleshoot CodedUI, Common Practices and questions 11:30 Configure the build to execute the CodedUI tests, test settings from VS2010, Execute from VS2010 with test agents and analyze the results 11:30 Associate test automation with test case, execute automated test case from MTM, configure the build to run from the build within MTM and analyze the results 12:30 break 13:15 MTLM, Scrum and other project Methodologies 13:45 Lab Management - Virtualized Test Environment and execution Demo 14:15 Test info in the OLAP Cube 14:30 Extensibility - test Scribe, TCMIMport 14:45 Create your own Data Diagnostic Adapter 15:15 MTLM usages with Azure projects 16:00 Closing
  • 69. Execute CodedUI Within a test case as an associated automation manualy
  • 70. Configurations for automated test execution: D Flavor D: Execution from Microsoft Test Manager…than BVT Other type of test Part of Regression Tests (triggered by: MTM user, right mouse click on test case, run) Configure Test Controller (register it with a project collection ) Configure Test Agents on clients (interactive mode, can be the same as MTM) Configure Lab Center in MTM to use test controller and create test ‘agent’ environment. http://msdn.microsoft.com/en-us/library/ee390842.aspx http://msdn.microsoft.com/en-us/library/dd293551.aspx Associate CodedUI test with WI Test Case from VS. http://www.richard-banks.org/2010/11/how-to-use-codedui-tests-watin-and-mtm.html Pro: Con: Test run on test environments Manually triggered by Tester Tests run on multiple environments Hard to configure Test Result in MTM and TFS Need for specific test client (same as MTM?) Test Settings from MTM
  • 76. 5 Run Automated Tests from Test Manager
  • 77. Lab 16 Run the automated test from MTM. Look for the test results Timebox: 10 minuts
  • 78. Execute CodedUI Within a test case as an associated automation from the build
  • 79. Configurations for automated test execution: E Flavor E: Execution from MTM duringPreferred configuration above flavor C Build… Part of BVT Flavor D and E can be configured together (triggered by: Build) Configure Test Controller (register it with a project collection ) Configure Test Agents on clients (interactive mode, can be the same as MTM) Configure Lab Center in MTM to use test controller and create test ‘agent’ environment. Associate CodedUI test with WI Test Case from VS. Create Build task to run MTC or MSTEST task for Test Plan http://blogs.microsoft.co.il/blogs/shair/archive/2010/10/30/how-to-run-coded-ui-tests-from-command-line.aspx Pro: Con: Test run on test environments Hard to configure Tests run on multiple environments Need for specific test client (same as MTM?) Test Result in MTM and TFS Triggered by build Test Settings from MTM
  • 80. Execute automated test cases on different environments
  • 81. 0 Same steps as previous lab.
  • 82. 1 Configure additional environments in Test Plan properties. Win 7 IE9 configuration Win 7 IE8 configuration TC MTLM Client Win 7 IE8 configuration Physical Test Client TFS 2010 Win 7 IE9 configuration Physical Test Client
  • 83. 1 Get Test Plan ID Get Test Suite Get Test Configurations with TCM.exe
  • 84. 2 Create command line for Test Run for the different Test Configurations "run /create /title:""Run on Host for specific Test Point"" /planid:16 /querytext:""SELECT * FROM TestPoint WHERE ConfigurationId=13"" /settingsname:""Automated Test on Windows 7 Environment IE9"" /testenvironment:""Win 7 IE9"" /collection:http://clemenes- pc:8080/tfs/defaultcollection /teamproject:EmployeeApplication" "run /create /title:""Run on test env for specific Test Point"" /planid:16 /querytext:""SELECT * FROM TestPoint WHERE ConfigurationId=12"" /settingsname:""Automated Test on Windows 7 Environment IE8"" /testenvironment:""Win 7 IE8"" /collection:http://clemenes- pc:8080/tfs/defaultcollection /teamproject:EmployeeApplication"
  • 86. 6 Queue a new Build Watch the Test Agent and Test Environment
  • 87. Start Topics 9:00 Recap 9:15 Create Basic CodedUI, from Test Case and Manual 9:45 UIMap and customize the code for optimization 10:15 Data driven Tests and assertions 10:45 break 11:00 Troubleshoot CodedUI, Common Practices and questions 11:30 Configure the build to execute the CodedUI tests, test settings from VS2010, Execute from VS2010 with test agents and analyze the results 11:30 Associate test automation with test case, execute automated test case from MTM, configure the build to run from the build within MTM and analyze the results 12:30 Lunch LUNCH TILL: 13:15 MTLM, Scrum and other project Methodologies 13:45 13:15 Lab Management - Virtualized Test Environment and execution Demo 14:15 Test info in the OLAP Cube 14:30 Extensibility - test Scribe, TCMIMport (extra time to finish the labs :) 14:45 Create your own Data Diagnostic Adapter 15:15 MTLM usages with Azure projects 16:00 Closing
  • 88. Start Topics 9:00 Recap 9:15 Create Basic CodedUI, from Test Case and Manual 9:45 UIMap and customize the code for optimization 10:15 Data driven Tests and assertions 10:45 break 11:00 Troubleshoot CodedUI, Common Practices and questions 11:30 Configure the build to execute the CodedUI tests, test settings from VS2010, Execute from VS2010 with test agents and analyze the results 11:30 Associate test automation with test case, execute automated test case from MTM, configure the build to run from the build within MTM and analyze the results 12:30 Lunch 13:15 MTLM, Scrum and other project Methodologies 13:45 Lab Management - Virtualized Test Environment and execution Demo 14:15 Test info in the OLAP Cube 14:30 Extensibility - test Scribe, TCMIMport 14:45 Create your own Data Diagnostic Adapter 15:15 MTLM usages with Azure projects 16:00 Closing
  • 90. TMap, ALM and process templates
  • 91.
  • 92.
  • 93. # Planning the project
  • 94.
  • 95. # Release planning meeting Estimating and prioritizing the Product Backlog # Product Backlog Evolving User Needs Owned by Product Owner Prio by Business Value Test during the Release Planning meeting.
  • 96.
  • 97. # Planning the project
  • 98.
  • 99. # Planning the sprint
  • 100. ‘only execute tasks who make an addition to the product are worthy to execute’
  • 101. # Sprint planning meeting Add PBI to sprint Decomposition Commitment # Sprint Backlog Tasks Related to PBI’s Hours remaining Test during the Sprint Planning meeting
  • 102. # Planning the sprint
  • 103. ‘only execute tasks who make an addition to the product are worthy to execute’
  • 104.
  • 105. # Running the sprint
  • 106. # Daily scrum Track # Sprint Review # Sprint Demo the value Retrospective Agile Practices – Improvement Test early and often Build and deploy continuously Acceptance Test Driven Development Emergent Architectures Refactor Test Driven Development Agile Database Development Pair Programming
  • 107. Undone End to End Testing http://www.scrum.org/scrumguides/
  • 108.
  • 109. Start Topics 9:00 Recap 9:15 Create Basic CodedUI, from Test Case and Manual 9:45 UIMap and customize the code for optimization 10:15 Data driven Tests and assertions 10:45 break 11:00 Troubleshoot CodedUI, Common Practices and questions 11:30 Configure the build to execute the CodedUI tests, test settings from VS2010, Execute from VS2010 with test agents and analyze the results 11:30 Associate test automation with test case, execute automated test case from MTM, configure the build to run from the build within MTM and analyze the results 12:30 Lunch 13:15 MTLM, Scrum and other project Methodologies 13:45 Lab Management - Virtualized Test Environment and execution Demo 14:15 Test info in the OLAP Cube 14:30 Extensibility - test Scribe, TCMIMport 14:45 Create your own Data Diagnostic Adapter 15:15 MTLM usages with Azure projects 16:00 Closing
  • 110. Build application Provision Run tests ‘clean’ env Deploy application
  • 111. VS2010 Lab Management • Reproduce the exact conditions of a bug or other development issue. • Build, deploy, and test applications automatically in a clean environment. • Reduce the time required to create and configure machines for testing an application. • Run multiple copies of a test or development at the same time. • Enable members of a team to create and manage virtual environments without requiring system administrator privileges.
  • 112. MTLM Client TFS 2010 System Center Virtual Machine Manager (SCVMM) Hyper-V Library Host Shares VM share VM share
  • 115. TEAM FOUNDATION SERVER INTERNET LAB INFRASTRUCTURE Prerequisites ? SAN Domain Controller 1. TFS Application Tier (AT) • Windows Server 2003 SP2, 2003 R2, 2003 R2, 2008 SP2, 2008 R2 • Windows Vista SP2, 7 • Ports used by services 8443 team web access 8080 server Internet LAB DOMAIN (could be same as CORP DOMAIN) 2. TFS Data Tier (DT) • Windows Server 2003 SP2, 2003 R2, 2003 R2, 2008 SP2, 2008 R2 NLB External Users • Windows Vista SP2, 7 • Ports used by services 1433 SQL Walkthrough VHD Lab Management 3. TFS Build Controller • Windows Server 2003 SP2, 2003 R2, 2003 R2 SP2, 2008 SP2, 2008 R2 • Windows XP SP3, Vista SP2, 7 TFS 1 VS/MTM Clients • Ports used by services 9191 controller Application Tier (AT) 4 4. TFS Clients • Windows XP SP3, Vista SP2, 7 • Windows Server 2003 SP2, 2003 R2, 2008 SP2, 2008 R2 VMM Server 5. VM Factory 6 • Windows Server 2003 SP2, 2003 R2, 2008 SP2, 2008 R2 • Windows XP SP2, Vista, 7 • Ports used by services 3389 RDP 137 UDP 9 139 TCP VMM Library • For more information, refer to the quick reference poster: 8 Visual Studio 2010 LAB Management Guide – VM Factory Checklist 3 Test Controller 6. VMM Server • Windows Server 2008 or 2008 R2. R2 is recommended. • Ports used by services 8100 VMM Agent TFS 135 WMI (49152-65535) Build Create LabMan template 3389 RDP Servers from golden image 7. VMM Hyper-V Host • Windows Server 2008, 2008R2. R2 is recommended. Build VS/MTM 8. Test Controller Deploy and • Windows Server 2003 SP2, 2003 R2, 2003 R2 SP2, 2008 SP2, 2008 R2 Client Build Golden Images • Windows XP SP3, Vista SP2, 7 Machines Host VMs • Ports used by services 6901 .NET Remoting 9050 Lab Agent 9. VMM Library Primary Factory • Windows Server 2008 or 2008 R2. R2 is recommended. 2 TFS 5 • Ports used by services 443 BITS Data Tier (DT) 80 WinRm VMM Hyper-V Host 7 Secondary Factory VM FACTORIES LAB MANAGEMENT References • Visual Studio 2010 Lab Management Guide CORP DOMAIN • http://go.microsoft.com/fwlink/?LinkID=206935&clcid=0x409 • Visual Studio ALM Rangers VM Factory Guidance • http://rangersvsvmfactory.codeplex.com/ Domain Controller • Capacity Planning Quick Reference Poster Network Storage Team Project Collection Planning Quick Reference Poster CORP INFRASTRUCTURE • http://vs2010quickref.codeplex.com/ Visual Studio 2010 LAB Management Guide – Infrastructure Visual Studio ALM Rangers 2011-03-23
  • 116. Visual Studio 2010 Test Architecture Also known as user The final integration acceptance testing, testing the solution. the validation testing In the world of NASA  Test Cases validates the solution System this could be the  Testing against test final countdown, requirements, which doing a complete are based on business system and Common Test Phases requirements. environment test  Test Validation before the launch. results Design validation  Cannot reproduce focused testing, which validates Building upon each Integration solution deliverables other and with requirements. It supporting the is especially  Suspicions, testing strategy. important when add more tests testing interfaces which are shared and are the basis of some or all of the Unit of work focused Unit building blocks.  Corrections  Debugging testing, at the core of the solution, typically done by the developer and automated testing. Unit No more “No Repro”! tests focus on topics such as initialization, logic and error handling at a code level. Visual Studio Products Test Lab Ultimate Premium Test Load Agent Professional Management Included in Ultimate Manage virtual environments for • Generalist Tester use in application development, • Minimal Footprint deployment, and testing. References Visual Studio ALM Rangers, Copyright © 2009 Microsoft Corporation Visual Studio MSDN Site http://msdn.microsoft.com Visual Studio ALM Rangers http://msdn.microsoft.com/en-us/teamsystem/ee358786.aspx
  • 117.
  • 118. Start Topics 9:00 Recap 9:15 9:45 BREAK TILL: Create Basic CodedUI, from Test Case and Manual UIMap and customize the code for optimization 10:15 Data driven Tests and assertions 14:30 10:45 break 11:00 Troubleshoot CodedUI, Common Practices and questions 11:30 Configure the build to execute the CodedUI(extra time settings fromlabs :) Execute tests, test to finish the VS2010, from VS2010 with test agents and analyze the results 11:30 Associate test automation with test case, execute automated test case from MTM, configure the build to run from the build within MTM and analyze the results 12:30 Lunch 13:15 MTLM, Scrum and other project Methodologies 13:45 Lab Management - Virtualized Test Environment and execution Demo 14:15 Test info in the OLAP Cube Break 14:30 Test Scribe, TCMImport 14:45 Create your own Data Diagnostic Adapter 15:15 MTLM usages with Azure projects 16:00 Closing
  • 119.
  • 120.
  • 121. Lab 17 Install Test Scribe and create a report Timebox: 10 minuts
  • 122. Start Topics 9:00 Recap 9:15 Create Basic CodedUI, from Test Case and Manual 9:45 UIMap and customize the code for optimization 10:15 Data driven Tests and assertions 10:45 break 11:00 Troubleshoot CodedUI, Common Practices and questions 11:30 Configure the build to execute the CodedUI tests, test settings from VS2010, Execute from VS2010 with test agents and analyze the results 11:30 Associate test automation with test case, execute automated test case from MTM, configure the build to run from the build within MTM and analyze the results 12:30 Lunch 13:15 MTLM, Scrum and other project Methodologies 13:45 Lab Management - Virtualized Test Environment and execution Demo 14:15 Test info in the OLAP Cube Break 14:30 Test Scribe, TCMImport 14:45 Create your own Data Diagnostic Adapter 15:15 MTLM usages with Azure projects 16:00 Closing
  • 123.
  • 124.
  • 125.
  • 126. Start Topics 9:00 Recap 9:15 Create Basic CodedUI, from Test Case and Manual 9:45 UIMap and customize the code for optimization 10:15 Data driven Tests and assertions 10:45 break 11:00 Troubleshoot CodedUI, Common Practices and questions 11:30 Configure the build to execute the CodedUI tests, test settings from VS2010, Execute from VS2010 with test agents and analyze the results 11:30 Associate test automation with test case, execute automated test case from MTM, configure the build to run from the build within MTM and analyze the results 12:30 Lunch 13:15 MTLM, Scrum and other project Methodologies 13:45 Lab Management - Virtualized Test Environment and execution Demo 14:15 Test info in the OLAP Cube Break 14:30 Test Scribe, TCMImport 14:45 Create your own Data Diagnostic Adapter 15:15 MTLM usages with Azure projects 16:00 Closing
  • 127. ALM 4 Azure Automated ALM for Azure Cloud Development 127
  • 128. Start Topics 9:00 Recap 9:15 Create Basic CodedUI, from Test Case and Manual 9:45 UIMap and customize the code for optimization 10:15 Data driven Tests and assertions 10:45 break 11:00 Troubleshoot CodedUI, Common Practices and questions 11:30 Configure the build to execute the CodedUI tests, test settings from VS2010, Execute from VS2010 with test agents and analyze the results 11:30 Associate test automation with test case, execute automated test case from MTM, configure the build to run from the build within MTM and analyze the results 12:30 Lunch 13:15 MTLM, Scrum and other project Methodologies 13:45 Lab Management - Virtualized Test Environment and execution Demo 14:15 Test info in the OLAP Cube Extensibility - test Scribe, TCMIMport 14:30 break 14:45 Create your own Data Diagnostic Adapter 15:15 MTLM usages with Azure projects 16:00 Closing
  • 135. Testing Practices with ALM tools GOAL: Know the value of MTM and know how to use its capabilities