My presentation on Continuous Integration and single user performance with Compuware's APM tool DynaTrace as presented at the 2013 Selenium Conference.
How to Troubleshoot Apps for the Modern Connected Worker
Cars.com – revolutionizing continuous integration with selenium rd
1. Cars.com – Revolutionizing
Continuous Integration with
Selenium
Rick Darcy
Lead AutomationTest Engineer
rdarcy@Cars.com
www.linkedin.com/in/rickdarcy/
12. Current Cars.com Automation
2011 technical
debt
Smoke tests and
Core tests are
run daily
Regression tests
are run when we
push code to IT
Java-based
Selenium was
chosen since
we’re a Java
shop
Selenium 2.0 /
WebDriver
managed by
Maven
We have a very
robust automation
framework
12
13. How do we integrate with Agile
Participate in planning
• Understand story points
• Determine Automation
necessities
Create Automation tasks
Develop and execute the
Automation
Reporting analysis and
potential refactor
13
14. Our Automation Framework
6 months to build
We are in a state of continuous script tuning for optimization and speed
Our framework achieves maintainability, organization, faster script
development
Pages
We identify all page objects and include these in our scripts
Scripts
We group our cases together, and separate them by product, functionality, and
suite type
Suites
Where we set browser types/versions and select which test scripts to run
Flows
Repeated steps we call into our scripts; makes test case development faster
14
16. Integration with BuildForge for CI
Find performance issues without having to re-run
multiple times
The product team will be notified of any issues
after the tests are run by BuildForge
Automation will be run against every new build
pushed to any environment
16
27. Integrate into workflows. Easy.
Developer
Code Repository Build Server
Test Automation Engine,
e.g. Selenium
RESTInterface
Com
m
it
Build Test
Browser with
dynaTrace Agent
PurePath Data
dynaTrace Client dynaTrace Server
Performance
Warehouse
Execute
Automated
Tests