More Related Content
Similar to 2012 selenium kiev_08_final
Similar to 2012 selenium kiev_08_final (20)
2012 selenium kiev_08_final
- 2. Lead of QA UI Automation Team
In IT – 8 years
In Concur – 3.5 years
Likes beer and socializing
@metaxa_cz #SeleniumCamp
© 2012 Concur, all rights reserved. Concur is a registered trademark of Concur Technologies, Inc.
- 3. About Concur
How do we do automation
Why move to Selenium 2?
Demo
@metaxa_cz #SeleniumCamp
© 2012 Concur, all rights reserved. Concur is a registered trademark of Concur Technologies, Inc.
- 4. Leading provider of integrated travel and
expense management solutions
90 countries
15 000 companies
15 000 000 users
@metaxa_cz #SeleniumCamp
© 2012 Concur, all rights reserved. Concur is a registered trademark of Concur Technologies, Inc.
- 5. Reliable
Accurate
Maintainable
Extendable
Scalable
@metaxa_cz #SeleniumCamp
© 2012 Concur, all rights reserved. Concur is a registered trademark of Concur Technologies, Inc.
- 6. Different technologies involved
Continuous execution: 24/7
Monthly releases
@metaxa_cz #SeleniumCamp
© 2012 Concur, all rights reserved. Concur is a registered trademark of Concur Technologies, Inc.
- 7. UI
9 people
Framework Execution
5 people 5 people
QA
Automation
@metaxa_cz #SeleniumCamp
© 2012 Concur, all rights reserved. Concur is a registered trademark of Concur Technologies, Inc.
- 8. Test Execution Tasks
Data
Web UI
Store
Execution Results
Dispatcher
VMware Farm
VM – Robot #1 VM – Robot #N
Selenium
... Selenium
@metaxa_cz #SeleniumCamp
© 2012 Concur, all rights reserved. Concur is a registered trademark of Concur Technologies, Inc.
- 9. • Smoke tests
Execution
• Continuous: 24/7/365
• 470+ test suites on both Seleniums
• 15..50 min per suite (3..5x faster than
Some manual run)
numbers • 5+ times per release (one month)
• 500+ executions daily
• 35+ bugs per release (regressions)
@metaxa_cz #SeleniumCamp
© 2012 Concur, all rights reserved. Concur is a registered trademark of Concur Technologies, Inc.
- 10. • 2.5 years: Selenium 1 (HTML)
General
Test Runner, SQL, JavaScript
Stats • 320+ suites
• No programming experience required
Benefits
• Execution with the Test Runner
@metaxa_cz #SeleniumCamp
© 2012 Concur, all rights reserved. Concur is a registered trademark of Concur Technologies, Inc.
- 13. • Ajax = No recording
Specifics
• CSS Selectors
Challenges • Lack of object-oriented style
Painkillers • Internal ‘LEGO’ development
@metaxa_cz #SeleniumCamp
© 2012 Concur, all rights reserved. Concur is a registered trademark of Concur Technologies, Inc.
- 14. • Since September 2011: transition to
General
Selenium2/ WebDriver
Stats • 45+ suites
• Robust tests
Benefits • Multiple browsers support
• Faster development
@metaxa_cz #SeleniumCamp
© 2012 Concur, all rights reserved. Concur is a registered trademark of Concur Technologies, Inc.
- 15. 2.5
2
Development speed,
month / person
1.5
1 Selenium 1
Selenium 2
0.5
0
Jun 09 Jul 09 Aug 09 Sep 09 Oct 09 Nov 09
Sep 11 Oct 11 Nov 11 Dec 11 Jan 12 Feb 12
@metaxa_cz #SeleniumCamp
© 2012 Concur, all rights reserved. Concur is a registered trademark of Concur Technologies, Inc.
- 16. • Programming
• Finding good synchronization
Challenges
• Knowledge building and sharing
• Coexistence with Selenium 1
Strategy • Proving investment in transition
Support • Selenium 1: 15-20% of time
Efforts • Selenium 2: 5-10% of time
@metaxa_cz #SeleniumCamp
© 2012 Concur, all rights reserved. Concur is a registered trademark of Concur Technologies, Inc.
- 17. Team • Collecting feedback
• Easier to test complex scenarios
Less Pain
• Support of popup windows testing
Grain of • Window size affects testing
Salt • Focus sensitivity
@metaxa_cz #SeleniumCamp
© 2012 Concur, all rights reserved. Concur is a registered trademark of Concur Technologies, Inc.
- 19. Building • Java, OOP
Knowledge • Page objects pattern
• Initial design of Page Objects
First Steps
• CSS Selectors vs. XPath evaluation
• Redesign of Page Objects
Refactoring
• Conversion to XPath
@metaxa_cz #SeleniumCamp
© 2012 Concur, all rights reserved. Concur is a registered trademark of Concur Technologies, Inc.
- 20. • Execute daily, fix broken stuff
Adoption
• Tweak for IE
JAVA / OOP • Review and improve design
• Do trainings
Education
• Support other teams
@metaxa_cz #SeleniumCamp
© 2012 Concur, all rights reserved. Concur is a registered trademark of Concur Technologies, Inc.
- 21. Evaluate the benefits of switching
Identify the early adopters
Establish communication with devs
Aim for the best practices
@metaxa_cz #SeleniumCamp
© 2012 Concur, all rights reserved. Concur is a registered trademark of Concur Technologies, Inc.
- 22. Increase coverage
Concentrate on the most complex parts
Complete S1 -> S2 transition
Keep improving quality
@metaxa_cz #SeleniumCamp
© 2012 Concur, all rights reserved. Concur is a registered trademark of Concur Technologies, Inc.
- 24. Thank you. Questions?
anastasiya.nesterenko@concur.com
@metaxa_cz #SeleniumCamp
@metaxa_cz
© 2012 Concur, all rights reserved. Concur is a registered trademark of Concur Technologies, Inc.