test framework creation
DESCRIPTION
TEST framework creation. Story from real life. ABOUT AUTHOR. Vitaliy Davidyak. 8 years of experience in QA. Skype: toldo-27. Email: [email protected]. Objective. Multi-browser testing of rich web application OOP principles and C# .NET base Own self-explaining Domain-Specific Language - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: TEST framework creation](https://reader035.vdocuments.net/reader035/viewer/2022062305/56814fea550346895dbdb7b5/html5/thumbnails/1.jpg)
TEST
FRAMEW
ORK
CREATIO
N
ST
OR
Y F
RO
M R
EA
L LI F
E
![Page 3: TEST framework creation](https://reader035.vdocuments.net/reader035/viewer/2022062305/56814fea550346895dbdb7b5/html5/thumbnails/3.jpg)
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](https://reader035.vdocuments.net/reader035/viewer/2022062305/56814fea550346895dbdb7b5/html5/thumbnails/4.jpg)
TEST TARGET
![Page 5: TEST framework creation](https://reader035.vdocuments.net/reader035/viewer/2022062305/56814fea550346895dbdb7b5/html5/thumbnails/5.jpg)
APPLICATIONUNDER TEST
![Page 6: TEST framework creation](https://reader035.vdocuments.net/reader035/viewer/2022062305/56814fea550346895dbdb7b5/html5/thumbnails/6.jpg)
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](https://reader035.vdocuments.net/reader035/viewer/2022062305/56814fea550346895dbdb7b5/html5/thumbnails/7.jpg)
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](https://reader035.vdocuments.net/reader035/viewer/2022062305/56814fea550346895dbdb7b5/html5/thumbnails/8.jpg)
INTEGRATION
- CI/reports- VisualStudio +
R#- Main app
integration (web service)