test framework creation story from real life. about author vitaliy davidyak 8 years of experience in...

8
TEST FRAMEWORK CREATI ON STO RY F ROM REAL LIF E

Upload: beatrix-wilcox

Post on 14-Jan-2016

221 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: TEST FRAMEWORK CREATION STORY FROM REAL LIFE. ABOUT AUTHOR Vitaliy Davidyak 8 years of experience in QA Skype: toldo-27 Email: vda@sitecore.net

TEST

FRAMEW

ORK

CREATIO

N

ST

OR

Y F

RO

M R

EA

L LI F

E

Page 2: TEST FRAMEWORK CREATION STORY FROM REAL LIFE. ABOUT AUTHOR Vitaliy Davidyak 8 years of experience in QA Skype: toldo-27 Email: vda@sitecore.net

ABOUT AUTHOR

Vitaliy Davidyak

8 years of experience in QA

Skype: toldo-27

Email: [email protected]

Page 3: TEST FRAMEWORK CREATION STORY FROM REAL LIFE. ABOUT AUTHOR Vitaliy Davidyak 8 years of experience in QA Skype: toldo-27 Email: vda@sitecore.net

OBJECTIVE

- Multi-browser testing of rich web application- OOP principles and C# .NET base- Own self-explaining Domain-Specific Language- Compatibility with existing eco-system (CI, tools,

platforms)

Page 4: TEST FRAMEWORK CREATION STORY FROM REAL LIFE. ABOUT AUTHOR Vitaliy Davidyak 8 years of experience in QA Skype: toldo-27 Email: vda@sitecore.net

TEST TARGET

Page 5: TEST FRAMEWORK CREATION STORY FROM REAL LIFE. ABOUT AUTHOR Vitaliy Davidyak 8 years of experience in QA Skype: toldo-27 Email: vda@sitecore.net

APPLICATIONUNDER TEST

Page 6: TEST FRAMEWORK CREATION STORY FROM REAL LIFE. ABOUT AUTHOR Vitaliy Davidyak 8 years of experience in QA Skype: toldo-27 Email: vda@sitecore.net

ARCHITECTURE

CI/IDE

Nunit

Wrappers (API layer)

Core Driver

- Visual studio + ReSharper

CruiseControl.NET + NAnt

- NUnit as a test runner

- DSL for UI controls, helper web service, logging

- Selenium WebDriver + Strontium

Page 7: TEST FRAMEWORK CREATION STORY FROM REAL LIFE. ABOUT AUTHOR Vitaliy Davidyak 8 years of experience in QA Skype: toldo-27 Email: vda@sitecore.net

DESIGN PATTERN

HTML controls

Test code sample

- Page object pattern redefined- Domain-Specific Language- Complex controls are wrapped up- Web-service to interact with server application part- Driver-independent (all low-level calls are encapsulated)- Code autocomplete and suggestions

Page 8: TEST FRAMEWORK CREATION STORY FROM REAL LIFE. ABOUT AUTHOR Vitaliy Davidyak 8 years of experience in QA Skype: toldo-27 Email: vda@sitecore.net

INTEGRATION

- CI/reports- VisualStudio +

R#- Main app

integration (web service)