SlideShare a Scribd company logo
StartingTest
Automation InYour
Project
By Kasun Ratnayake
Test Automation Lead at 99XTechnology
Who is this guy?
■ Having 9 years of industry experience
■ Started my career as a developer
■ Doing automation since 2012
■ All of the companies I have worked/Consulted, I have started or introduced test
automation
■ Have worked with many automation tools including
– Selenium
– QTP
– Telerik
– CodedUI
Why Automation?
■ It’s hard to find bugs when the same person is testing the same scenario
repeatedly every two weeks(for releases)
■ ROI
■ Increases test coverage
■ Reduced execution time
■ Reusability
■ Reliability
Do I have to automate 100% of the application?
Do all projects require test automation?
Selecting scenarios
■ What to Automate :
– Scenarios that are included in regression testing
– Scenarios that Involve complex and time consuming actions
– Scenarios that need to be tested within cross platforms
– Scenarios that are time consuming to test manually
– Scenarios that use multiple data values for the same actions
■ Scenarios that you should not automate :
– Scenarios that are only executed one time
– Tests that need to be done very quickly
– Scenarios that have low ROI
Scenarios with low ROI
Selecting a tool
■ Compatibility with current tool stack
■ The development technology of the application to be tested
■ An automation tool that is well established
■ The tool should accommodate the functionalities of the application
■ Does the team have skilled resources?
■ Community support
■ Support from the vendor
■ Reporting capability
■ Extensibility of the tool
Tool analysis
Functionality Selenium Telerik Coded UI
Cross browser functionality 1 1 1
Free 1 0 0
Silverlight support 0 1 0
Windows applications support 0 1 1
Nuget support 1 0 1
Automatic Object Repo Creation 0 1 1
Mobile application support 0 1 0
Record and play back 1 1 1
Total 4 6 5
Creating a POC
■ Select scenarios that cover the most complex functionalities
■ Select scenarios that are using all the 3rd party controls in the application
■ Make sure to test all the capabilities available in the automation tool against the
application
■ Make sure everybody in the automation team participates for the POC
■ Do not worry about formalities
■ Make a sketch of the framework just to verify that it works
■ Verify the results
■ Repeat this process for all the selected tools or start implementation right away
Implementation
■ Finalize the framework first
■ Start with the Framework
■ Create 4-5 scenarios with the framework
■ The round trip
– Add it to a continuous integration framework
– Create a test environment
– Schedule the tests
– Analyze the reports
■ Create the rest of the scripts
■ Test should be created in a way that they
are independent from each other
Creating test data and environments
■ Test Data
– Test data should be isolated from the test
– Data driven testing technique is very useful to create iterations and run the same
test with different data and validate different outcomes
– Data hookup points should be configurable
■ Test Environments
– Should be similar to the production environment
– Environment should be something other than the development environment
– Test assemblies should be deployed the test environment automatically
– Test-runs should only happen on the test environment
– Test environment should be configured in a way that any stakeholder can access
the test results at any given moment
Stabilizing tests
■ The most important thing when creating a new automation suite
■ Some tests can pass on the development environment and fail in the test
environment
■ Always close the browser and reopen when running complex scenarios for a
considerable amount of time
■ Do not combine two tests.
■ Always reuse code everywhere possible so test maintenances would not be a
hectic task
■ Automation tool updates should be configured to happen smoothly
Summary
■ Selecting scenarios
■ Selecting a tool
■ Creating a POC
■ Implementation
■ Creating test data
■ Creating test environments
■ Stabilizing the tests
Thank you

More Related Content

What's hot (20)

PPTX
Using Continuous Integration To Ensure Project Health New
bartlowe
 
PDF
Continuous Integration
Stanislav Tiurikov
 
PPTX
How Manual Testers Can Break into Automation Without Programming Skills
Ranorex
 
PPTX
SDLC. QA Role
eleksdev
 
PPTX
Software engineering
bartlowe
 
PPTX
The complete guide for software integration testing | David Tzemach
David Tzemach
 
PPT
Test automation
vidisha Agrawal
 
PDF
Mobile Video Games Testing Principles - Benjamin Poirrier
Ho Chi Minh City Software Testing Club
 
DOCX
Automation Testing
Rajat Tiwari
 
PDF
AutoDevBot API Monitoring
Garland Kan
 
PPT
Introduction to software testing
ASIT Education
 
PDF
Extreme Programming - to the next-level
Lars Thorup
 
PPTX
CI with TFS
Esteban Garcia
 
PPTX
Beautfiul world of Flutter Testing
Max Weber
 
PPTX
Analyze Your Code With Visual Studio 2015 Diagnostic Tools
Ken Cenerelli
 
PPTX
What is component testing | David Tzemach
David Tzemach
 
PPTX
How google-tests-software
Bhawna Tuteja
 
PDF
Crowd Sourced Testing - Real-World Experience Using Rainforest QA Crowd-Sourc...
Marc Fasel
 
PDF
Fast end-to-end-tests
Rikke Veng Petersen
 
PDF
What Do We Automate First
rrice2000
 
Using Continuous Integration To Ensure Project Health New
bartlowe
 
Continuous Integration
Stanislav Tiurikov
 
How Manual Testers Can Break into Automation Without Programming Skills
Ranorex
 
SDLC. QA Role
eleksdev
 
Software engineering
bartlowe
 
The complete guide for software integration testing | David Tzemach
David Tzemach
 
Test automation
vidisha Agrawal
 
Mobile Video Games Testing Principles - Benjamin Poirrier
Ho Chi Minh City Software Testing Club
 
Automation Testing
Rajat Tiwari
 
AutoDevBot API Monitoring
Garland Kan
 
Introduction to software testing
ASIT Education
 
Extreme Programming - to the next-level
Lars Thorup
 
CI with TFS
Esteban Garcia
 
Beautfiul world of Flutter Testing
Max Weber
 
Analyze Your Code With Visual Studio 2015 Diagnostic Tools
Ken Cenerelli
 
What is component testing | David Tzemach
David Tzemach
 
How google-tests-software
Bhawna Tuteja
 
Crowd Sourced Testing - Real-World Experience Using Rainforest QA Crowd-Sourc...
Marc Fasel
 
Fast end-to-end-tests
Rikke Veng Petersen
 
What Do We Automate First
rrice2000
 

Similar to Starting Test Automation In Your Project - Webinar by 99X Technology (20)

PDF
Functional and Non-functional Test automation
Dr Ganesh Iyer
 
PPTX
Automation Best Practices.pptx
pavelpopov43
 
PPSX
Software automation
gokilabrindha
 
PDF
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
Perfecto by Perforce
 
PDF
Lessons Learned When Automating
Alan Richardson
 
PDF
5 Steps to Jump Start Your Test Automation
Sauce Labs
 
PPT
Test Automation Strategies For Agile
Naresh Jain
 
PPTX
Automation testing
Mona M. Abd El-Rahman
 
PPT
Designing a Test Automation Framework By Quontra solutions
QUONTRASOLUTIONS
 
PPTX
How to make Automation an asset for Organization
anuvip
 
PDF
Test Automation
nikos batsios
 
PPTX
Next-gen Automation Framework
Kumar Swamy Dontamsetti
 
PDF
Software Test Automation - Best Practices
Arul Selvan
 
PPT
Test Automation Framework Online Training by QuontraSolutions
Quontra Solutions
 
PDF
Test Automation in Agile: A Successful Implementation
TechWell
 
PPTX
Banishing the Fears of Test Automation - Codestock 2022
Jameson McGhee
 
PDF
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
leebarnesutopia
 
PPT
Centralized test automation framework implementation
Bharathi Krishnamurthi
 
PDF
Understanding the Basics of Automation Testing.pdf
khushnuma khan
 
Functional and Non-functional Test automation
Dr Ganesh Iyer
 
Automation Best Practices.pptx
pavelpopov43
 
Software automation
gokilabrindha
 
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
Perfecto by Perforce
 
Lessons Learned When Automating
Alan Richardson
 
5 Steps to Jump Start Your Test Automation
Sauce Labs
 
Test Automation Strategies For Agile
Naresh Jain
 
Automation testing
Mona M. Abd El-Rahman
 
Designing a Test Automation Framework By Quontra solutions
QUONTRASOLUTIONS
 
How to make Automation an asset for Organization
anuvip
 
Test Automation
nikos batsios
 
Next-gen Automation Framework
Kumar Swamy Dontamsetti
 
Software Test Automation - Best Practices
Arul Selvan
 
Test Automation Framework Online Training by QuontraSolutions
Quontra Solutions
 
Test Automation in Agile: A Successful Implementation
TechWell
 
Banishing the Fears of Test Automation - Codestock 2022
Jameson McGhee
 
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
leebarnesutopia
 
Centralized test automation framework implementation
Bharathi Krishnamurthi
 
Understanding the Basics of Automation Testing.pdf
khushnuma khan
 
Ad

More from 99X Technology (19)

PPTX
How to develop an AppSec culture in your project
99X Technology
 
PPTX
Webinar on Single Sign-On by 99X Technology
99X Technology
 
PPTX
Become a Quality Enabler
99X Technology
 
PPTX
Gearing Startups for Success through Product Engineering
99X Technology
 
PPTX
Kick Starting Test Automation
99X Technology
 
PPTX
The Adra Story
99X Technology
 
PPTX
The Story of Automation
99X Technology
 
PPTX
Microservices without servers
99X Technology
 
PPTX
An Introduction to Docker
99X Technology
 
PPTX
Microservices
99X Technology
 
PPTX
Know your Ride!
99X Technology
 
PPTX
Social Physics in a Corporate Environment
99X Technology
 
PPTX
Cloud aware product engineering
99X Technology
 
PPT
Colombo Mobile Developer MeetUp - Building Scalable Cloud Connected Mobile Ap...
99X Technology
 
PDF
Enterprise Integration Architectural Challenges in Large Enterprises - Colomb...
99X Technology
 
PPTX
Same Patterns Different Architectures - Colombo Architecture Meetup - Session-03
99X Technology
 
PPTX
005_studentsharepointcamp_planyourfuturewithsharepoint
99X Technology
 
PPTX
004_studentsharepointcamp_enterprise application_demo
99X Technology
 
PPTX
003_studentsharepointcamp_outoftheboxfeaturesofsharepoint_demo
99X Technology
 
How to develop an AppSec culture in your project
99X Technology
 
Webinar on Single Sign-On by 99X Technology
99X Technology
 
Become a Quality Enabler
99X Technology
 
Gearing Startups for Success through Product Engineering
99X Technology
 
Kick Starting Test Automation
99X Technology
 
The Adra Story
99X Technology
 
The Story of Automation
99X Technology
 
Microservices without servers
99X Technology
 
An Introduction to Docker
99X Technology
 
Microservices
99X Technology
 
Know your Ride!
99X Technology
 
Social Physics in a Corporate Environment
99X Technology
 
Cloud aware product engineering
99X Technology
 
Colombo Mobile Developer MeetUp - Building Scalable Cloud Connected Mobile Ap...
99X Technology
 
Enterprise Integration Architectural Challenges in Large Enterprises - Colomb...
99X Technology
 
Same Patterns Different Architectures - Colombo Architecture Meetup - Session-03
99X Technology
 
005_studentsharepointcamp_planyourfuturewithsharepoint
99X Technology
 
004_studentsharepointcamp_enterprise application_demo
99X Technology
 
003_studentsharepointcamp_outoftheboxfeaturesofsharepoint_demo
99X Technology
 
Ad

Recently uploaded (20)

PDF
ChatPharo: an Open Architecture for Understanding How to Talk Live to LLMs
ESUG
 
PDF
Using licensed Data Loss Prevention (DLP) as a strategic proactive data secur...
Q-Advise
 
PDF
Salesforce Implementation Services Provider.pdf
VALiNTRY360
 
PPTX
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
PDF
Virtual Threads in Java: A New Dimension of Scalability and Performance
Tier1 app
 
PDF
Protecting the Digital World Cyber Securit
dnthakkar16
 
PPTX
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
PDF
How Agentic AI Networks are Revolutionizing Collaborative AI Ecosystems in 2025
ronakdubey419
 
PDF
Why Are More Businesses Choosing Partners Over Freelancers for Salesforce.pdf
Cymetrix Software
 
PPTX
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
PDF
Step-by-Step Guide to Install SAP HANA Studio | Complete Installation Tutoria...
SAP Vista, an A L T Z E N Company
 
PDF
SAP GUI Installation Guide for Windows | Step-by-Step Setup for SAP Access
SAP Vista, an A L T Z E N Company
 
PDF
AI Image Enhancer: Revolutionizing Visual Quality”
docmasoom
 
PPTX
GALILEO CRS SYSTEM | GALILEO TRAVEL SOFTWARE
philipnathen82
 
PPTX
ASSIGNMENT_1[1][1][1][1][1] (1) variables.pptx
kr2589474
 
PDF
What companies do with Pharo (ESUG 2025)
ESUG
 
PPTX
Employee salary prediction using Machine learning Project template.ppt
bhanuk27082004
 
PDF
How to Download and Install ADT (ABAP Development Tools) for Eclipse IDE | SA...
SAP Vista, an A L T Z E N Company
 
PPTX
TRAVEL APIs | WHITE LABEL TRAVEL API | TOP TRAVEL APIs
philipnathen82
 
PDF
MiniTool Power Data Recovery Crack New Pre Activated Version Latest 2025
imang66g
 
ChatPharo: an Open Architecture for Understanding How to Talk Live to LLMs
ESUG
 
Using licensed Data Loss Prevention (DLP) as a strategic proactive data secur...
Q-Advise
 
Salesforce Implementation Services Provider.pdf
VALiNTRY360
 
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
Virtual Threads in Java: A New Dimension of Scalability and Performance
Tier1 app
 
Protecting the Digital World Cyber Securit
dnthakkar16
 
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
How Agentic AI Networks are Revolutionizing Collaborative AI Ecosystems in 2025
ronakdubey419
 
Why Are More Businesses Choosing Partners Over Freelancers for Salesforce.pdf
Cymetrix Software
 
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
Step-by-Step Guide to Install SAP HANA Studio | Complete Installation Tutoria...
SAP Vista, an A L T Z E N Company
 
SAP GUI Installation Guide for Windows | Step-by-Step Setup for SAP Access
SAP Vista, an A L T Z E N Company
 
AI Image Enhancer: Revolutionizing Visual Quality”
docmasoom
 
GALILEO CRS SYSTEM | GALILEO TRAVEL SOFTWARE
philipnathen82
 
ASSIGNMENT_1[1][1][1][1][1] (1) variables.pptx
kr2589474
 
What companies do with Pharo (ESUG 2025)
ESUG
 
Employee salary prediction using Machine learning Project template.ppt
bhanuk27082004
 
How to Download and Install ADT (ABAP Development Tools) for Eclipse IDE | SA...
SAP Vista, an A L T Z E N Company
 
TRAVEL APIs | WHITE LABEL TRAVEL API | TOP TRAVEL APIs
philipnathen82
 
MiniTool Power Data Recovery Crack New Pre Activated Version Latest 2025
imang66g
 

Starting Test Automation In Your Project - Webinar by 99X Technology

  • 1. StartingTest Automation InYour Project By Kasun Ratnayake Test Automation Lead at 99XTechnology
  • 2. Who is this guy? ■ Having 9 years of industry experience ■ Started my career as a developer ■ Doing automation since 2012 ■ All of the companies I have worked/Consulted, I have started or introduced test automation ■ Have worked with many automation tools including – Selenium – QTP – Telerik – CodedUI
  • 3. Why Automation? ■ It’s hard to find bugs when the same person is testing the same scenario repeatedly every two weeks(for releases) ■ ROI ■ Increases test coverage ■ Reduced execution time ■ Reusability ■ Reliability Do I have to automate 100% of the application? Do all projects require test automation?
  • 4. Selecting scenarios ■ What to Automate : – Scenarios that are included in regression testing – Scenarios that Involve complex and time consuming actions – Scenarios that need to be tested within cross platforms – Scenarios that are time consuming to test manually – Scenarios that use multiple data values for the same actions ■ Scenarios that you should not automate : – Scenarios that are only executed one time – Tests that need to be done very quickly – Scenarios that have low ROI
  • 6. Selecting a tool ■ Compatibility with current tool stack ■ The development technology of the application to be tested ■ An automation tool that is well established ■ The tool should accommodate the functionalities of the application ■ Does the team have skilled resources? ■ Community support ■ Support from the vendor ■ Reporting capability ■ Extensibility of the tool
  • 7. Tool analysis Functionality Selenium Telerik Coded UI Cross browser functionality 1 1 1 Free 1 0 0 Silverlight support 0 1 0 Windows applications support 0 1 1 Nuget support 1 0 1 Automatic Object Repo Creation 0 1 1 Mobile application support 0 1 0 Record and play back 1 1 1 Total 4 6 5
  • 8. Creating a POC ■ Select scenarios that cover the most complex functionalities ■ Select scenarios that are using all the 3rd party controls in the application ■ Make sure to test all the capabilities available in the automation tool against the application ■ Make sure everybody in the automation team participates for the POC ■ Do not worry about formalities ■ Make a sketch of the framework just to verify that it works ■ Verify the results ■ Repeat this process for all the selected tools or start implementation right away
  • 9. Implementation ■ Finalize the framework first ■ Start with the Framework ■ Create 4-5 scenarios with the framework ■ The round trip – Add it to a continuous integration framework – Create a test environment – Schedule the tests – Analyze the reports ■ Create the rest of the scripts ■ Test should be created in a way that they are independent from each other
  • 10. Creating test data and environments ■ Test Data – Test data should be isolated from the test – Data driven testing technique is very useful to create iterations and run the same test with different data and validate different outcomes – Data hookup points should be configurable ■ Test Environments – Should be similar to the production environment – Environment should be something other than the development environment – Test assemblies should be deployed the test environment automatically – Test-runs should only happen on the test environment – Test environment should be configured in a way that any stakeholder can access the test results at any given moment
  • 11. Stabilizing tests ■ The most important thing when creating a new automation suite ■ Some tests can pass on the development environment and fail in the test environment ■ Always close the browser and reopen when running complex scenarios for a considerable amount of time ■ Do not combine two tests. ■ Always reuse code everywhere possible so test maintenances would not be a hectic task ■ Automation tool updates should be configured to happen smoothly
  • 12. Summary ■ Selecting scenarios ■ Selecting a tool ■ Creating a POC ■ Implementation ■ Creating test data ■ Creating test environments ■ Stabilizing the tests

Editor's Notes

  • #2: This is an introductory session to a series of webinars This is not a technical session This would be very helpful to individuals who are planning to start automation in their projects
  • #4: Humans make mistakes but lets keep that out for a second When a test suite gets bigger is it vice to employee new resources? Or to automate atleast a part of the test? Increases: when you test for some scenario do you test it for all the possible outcomes? No but the automation can do that Execution time is massively saved plus the execution will be happen under non working hours Automation test is Robust and reliable
  • #5: First you have to select the automatable scenarios Regression: scenarios that you execute in every release Complex scenarios are hard to automate but when its done the ROI is very high When a scenario have to be tested in different test data in iterations
  • #6: Normal web page with a table Scenario: you can filer, you can change the order of the rows When you filter you don’t exactly know how many rows should be there To test this manually it will take under 5 seconds right? But to automate this kind of a scenario? Things to consider how many rows in the table which row that I’m going to select and change order which row im going to place it to? What happens in a occasion there are no data? Or 2 rows or 1? after adjusting whether its on the adusted row - take order of one column and store then change t take the row order again and verify hectic job eh? lets say it takes 8 hors to automate and to do this manually its 5seconds how many times you have to run this to get a slight ROI? 720 times so why wasting 12 hours for this type of scenario
  • #7: Commercial tool or a open source one?
  • #9: If there are any in-house build controls use them with the POC Formalities- data driven testing, object isolation Sketch – create at least one class of the planned framework and make sure the integrations work Select special scenarios that indlused, right clicks, drag and drops, image comparisons
  • #10: Framework is the key to a stable automation suite Its better to sit down with an architect and design the framework Implement and finish the framework first Take the scenarios that you used for the POC and implement it inside the framework Round trip is the most important thing Better if you can find a mechanism to do automatic deployment of the automation code to the test environment Always use naming conventions and comments in your code- if you leave the project the others should be able to continue with the automation project with ease
  • #11: Golden rule no 1 – test data, so the data can be altered in any moment that the user prefers and this not include new releases of the automation code Iterations – login example Should be able to change data inputs ex: from excel sheets, xml files, text files etc…
  • #12: Browser cache can mess up automation tests Make sure all the supporting assembles are installed and deployed in the test environment Always make sure that any test can be isolated and run at any given moment (developer bug fix example) Coping the login code to every test can end up bad if a feature like remember me is added later to the tests Automation tool updates should not cause any new deployments of the solution : eg: nuget pakages