THE STORY OF
AUTOMATION
BY : KASUN RATNAYAKE
CHALLENGES FACED….
• Native controls (ex : CKE, TinyMce Editors)
• Creating separate modules for common functions
• Creating a framework
• Integration with the tools that the team is already using
• Cross Browser playback issues
• Creating a continues integration module
FRAMEWORK FOR YOUR AUTOMATION
PROJECT ?
Solution
Projects
Object
Repository
Page Object
Model
Data Layer
Test Scripts
M1
Test Scripts
M2
Common
Libraries
Logs
Screenshots
Error Logs
Exception
Handling
Execution
TFS
Telerik
MTM
Results
Dashboard
CONTENT OF THE TEST SCRIPT
Code for
simulating the
scenario
Code for
validation
(expected vs. actual)
Data Driven
Object
repository
Test steps
Text
validations
Image Validations
Database validations
HIGH-LEVEL WORKFLOW
TFS
CI
Env
Drop
Folder
MTM
Test
Lab
TP
Code
Test
cases
Test
Server
Test Results
SUMMARY
• Start from a POC
• After the POC, DO NOT choose the most complex
scenario to automate in your system
• Create common modules, helper classes (REUSE THE
CODE)
• Create a solid framework
• Create CI environment
• Schedule your tests
• Add more scenarios (how to do it?)

The Story of Automation

  • 1.
    THE STORY OF AUTOMATION BY: KASUN RATNAYAKE
  • 2.
    CHALLENGES FACED…. • Nativecontrols (ex : CKE, TinyMce Editors) • Creating separate modules for common functions • Creating a framework • Integration with the tools that the team is already using • Cross Browser playback issues • Creating a continues integration module
  • 3.
    FRAMEWORK FOR YOURAUTOMATION PROJECT ? Solution Projects Object Repository Page Object Model Data Layer Test Scripts M1 Test Scripts M2 Common Libraries Logs Screenshots Error Logs Exception Handling Execution TFS Telerik MTM Results Dashboard
  • 4.
    CONTENT OF THETEST SCRIPT Code for simulating the scenario Code for validation (expected vs. actual) Data Driven Object repository Test steps Text validations Image Validations Database validations
  • 5.
  • 6.
    SUMMARY • Start froma POC • After the POC, DO NOT choose the most complex scenario to automate in your system • Create common modules, helper classes (REUSE THE CODE) • Create a solid framework • Create CI environment • Schedule your tests • Add more scenarios (how to do it?)

Editor's Notes

  • #3 Common set of challenges you may faced in an Automation project
  • #4 Framework for your automaton project