SlideShare a Scribd company logo
Test Automation For CMS
Backed Applications
C4- Case Study
Anand Ramdeo
anand@testinggeek.com
www.TestingGeek.com
@testinggeek
Single Content
Management
System
Multiple
Websites
Challenge
Tes automation for CMS Backed applications - Channel-4 Case Study
Let's break the problem
Can editor publish pages with
different module combinations?
CMS ==> DB
Can page render all the
modules properly?
DB ==> Front End
Two main challenges
Can editor publish pages with
different module combinations?
CMS ==> DB
Out of Scope for this talk
Can page render all
the modules
properly?
DB ==> Front End
When a page is requested
Java applies magic to convert
information in DB to JSON
format.
Frontend understands JSON
and does its magic to render
the web page.
Let's consider DB is our oracle.. what
do we need to check?
Let's consider DB is our oracle.. what
do we need to check?
Java is doing magic properly,
i.e information in DB and
information present in the
JSON is consistent.
Frontend understands Java's
magic properly and rendering
modules properly.
And there are few more challenges..
Every site is a separate project
Different Teams &
Release Cycle
Reuses core
functionality
Add New
Functionality
Shared core functionality &
modular architecture.
Is Page Object model appropriate?
Test Automation
Page is the place holder for
modules
Focus on Modules
follow development
Discovery Structure Data
Discovery Module - What's on the page?
?debug
?debug&xml
Use any XML Parser to get
information on the modules
present on the page.
Use Data Assertor to check number & type of modules on the
page. Testability for the WIN!!
For all the modules on the page..
For (Every_module_identified_on_the_page) {
Call structural_assertions of the module
Call data_assertions of the module
}
Structural Assertions..kind of acceptance criteria
for the modules
---> Video list module should have link to three video articles
---> Every item in the list should have an image
---> There should be a little play button on top of image
---> Video links should always be internal
---> Every list item should have an image, title and description
Database Assertions.. Actual checks - compare
DB and information on the page
---> Order of the articles is same as DB
---> Right images are present on the module
---> Title text of all the article is proper
---> Right description is appearing for all the items in the list
Little more fun?
Go to Sitemap on UAT
Get links_of_all_the_pages
For (Every_link_in_the_sitemap) {
Go to that_page
Get list_of_modules
For (Every_module_on_the_page) {
Call structural_assertions of the module
Call data_assertions of the module
}
}
Efficient
&
Effective
Interested in
Improving efficiency &
effectiveness
of your test automation projects?
Shameless Promotion :-)
http://testspicer.com/
Thank you for your time &
attention
@TestingGeek
www.TestingGeek.com
www.PlannedDeparture.com
anand@testinggeek.com

More Related Content

What's hot (6)

PPTX
Mule velocity
Praneethchampion
 
PPTX
Rapid application development for WordPress using AWF
Tim Plummer
 
DOCX
Temp pakistani-ladies-party-dresses
Zahida Parveen
 
PPT
Developing Joomla Extensions JUG Bangladesh meetup dhaka-2012
Sabuj Kundu
 
PPTX
Java mule
Gandham38
 
PPTX
Using maven with mule
Sindhu VL
 
Mule velocity
Praneethchampion
 
Rapid application development for WordPress using AWF
Tim Plummer
 
Temp pakistani-ladies-party-dresses
Zahida Parveen
 
Developing Joomla Extensions JUG Bangladesh meetup dhaka-2012
Sabuj Kundu
 
Java mule
Gandham38
 
Using maven with mule
Sindhu VL
 

Similar to Tes automation for CMS Backed applications - Channel-4 Case Study (20)

PDF
Microsoft MCPD 70-492 it examen dumps
lilylucy
 
PDF
Stanislaw potoczny kra_qa_21.01.20
kraqa
 
PDF
AD0-E116-demo.pdf
Tushar Shinde
 
DOC
.NET 1.1 Base Page Framework Article
bitburner93
 
PPT
Revised Rails Engine Patterns for Montreal.rb meetup Oct 16, 2012
Andy Maleh
 
PPT
Metamorphosis from Forms to Java: A technical lead's perspective, part II
Michael Fons
 
PPT
Zend_Layout & Zend_View Enhancements
Ralph Schindler
 
PPTX
Zend Framework And Doctrine
isaaczfoster
 
PPSX
14 asp.net session20
Vivek Singh Chandel
 
PPT
Building and Deployment of Drupal sites with Features and Context
Svilen Sabev
 
PDF
Architecture Specification - Visual Modeling Tool
Adriaan Venter
 
PDF
Drupal SEO
Digitaria
 
KEY
Introduce PlutoCMS
xhan87
 
PDF
Design Systems, Pattern Libraries & WordPress
Jesse James Arnold
 
PPTX
The Rails Engine That Could - In Motion
Andy Maleh
 
PPTX
BDD approach with Selenium RC
Mykola Kolisnyk
 
PDF
Welcome to React & Flux !
Ritesh Kumar
 
PDF
WordCamp Asheville 2017 - So You Wanna Dev? Join the Team!
Evan Mullins
 
PPTX
RapidApp - YAPC::NA 2014
Henry Van Styn
 
Microsoft MCPD 70-492 it examen dumps
lilylucy
 
Stanislaw potoczny kra_qa_21.01.20
kraqa
 
AD0-E116-demo.pdf
Tushar Shinde
 
.NET 1.1 Base Page Framework Article
bitburner93
 
Revised Rails Engine Patterns for Montreal.rb meetup Oct 16, 2012
Andy Maleh
 
Metamorphosis from Forms to Java: A technical lead's perspective, part II
Michael Fons
 
Zend_Layout & Zend_View Enhancements
Ralph Schindler
 
Zend Framework And Doctrine
isaaczfoster
 
14 asp.net session20
Vivek Singh Chandel
 
Building and Deployment of Drupal sites with Features and Context
Svilen Sabev
 
Architecture Specification - Visual Modeling Tool
Adriaan Venter
 
Drupal SEO
Digitaria
 
Introduce PlutoCMS
xhan87
 
Design Systems, Pattern Libraries & WordPress
Jesse James Arnold
 
The Rails Engine That Could - In Motion
Andy Maleh
 
BDD approach with Selenium RC
Mykola Kolisnyk
 
Welcome to React & Flux !
Ritesh Kumar
 
WordCamp Asheville 2017 - So You Wanna Dev? Join the Team!
Evan Mullins
 
RapidApp - YAPC::NA 2014
Henry Van Styn
 
Ad

More from Anand Ramdeo (13)

PPTX
Rano fest
Anand Ramdeo
 
PPTX
Ranosys jobs
Anand Ramdeo
 
PDF
Misleading Validations - Be Aware Of Green
Anand Ramdeo
 
PDF
Keeping London On The Move - Interesting Solutions For Challenging Problems
Anand Ramdeo
 
PDF
Future of Retail is here with Artificial Intelligence (AI) - Are you ready?
Anand Ramdeo
 
PDF
Workshop for Managing Expectations By Utilising A Communication Toolkit
Anand Ramdeo
 
PDF
Testing strategies for the eCommerce stores built on Magento
Anand Ramdeo
 
PDF
Java primer
Anand Ramdeo
 
PDF
Ramdeo green
Anand Ramdeo
 
PPTX
Selenium conference 2012 - One Step At A Time
Anand Ramdeo
 
PPT
Patterns in Testing and a claim - iCheckWebsite
Anand Ramdeo
 
PPT
Agile Testing
Anand Ramdeo
 
PPT
Simple tools to fight bigger quality battle
Anand Ramdeo
 
Rano fest
Anand Ramdeo
 
Ranosys jobs
Anand Ramdeo
 
Misleading Validations - Be Aware Of Green
Anand Ramdeo
 
Keeping London On The Move - Interesting Solutions For Challenging Problems
Anand Ramdeo
 
Future of Retail is here with Artificial Intelligence (AI) - Are you ready?
Anand Ramdeo
 
Workshop for Managing Expectations By Utilising A Communication Toolkit
Anand Ramdeo
 
Testing strategies for the eCommerce stores built on Magento
Anand Ramdeo
 
Java primer
Anand Ramdeo
 
Ramdeo green
Anand Ramdeo
 
Selenium conference 2012 - One Step At A Time
Anand Ramdeo
 
Patterns in Testing and a claim - iCheckWebsite
Anand Ramdeo
 
Agile Testing
Anand Ramdeo
 
Simple tools to fight bigger quality battle
Anand Ramdeo
 
Ad

Recently uploaded (20)

PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PPTX
Designing Production-Ready AI Agents
Kunal Rai
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Designing Production-Ready AI Agents
Kunal Rai
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 

Tes automation for CMS Backed applications - Channel-4 Case Study

  • 1. Test Automation For CMS Backed Applications C4- Case Study Anand Ramdeo [email protected] www.TestingGeek.com @testinggeek
  • 4. Let's break the problem Can editor publish pages with different module combinations? CMS ==> DB Can page render all the modules properly? DB ==> Front End
  • 5. Two main challenges Can editor publish pages with different module combinations? CMS ==> DB Out of Scope for this talk Can page render all the modules properly? DB ==> Front End
  • 6. When a page is requested Java applies magic to convert information in DB to JSON format. Frontend understands JSON and does its magic to render the web page.
  • 7. Let's consider DB is our oracle.. what do we need to check?
  • 8. Let's consider DB is our oracle.. what do we need to check? Java is doing magic properly, i.e information in DB and information present in the JSON is consistent. Frontend understands Java's magic properly and rendering modules properly. And there are few more challenges..
  • 9. Every site is a separate project Different Teams & Release Cycle Reuses core functionality Add New Functionality
  • 10. Shared core functionality & modular architecture.
  • 11. Is Page Object model appropriate? Test Automation
  • 12. Page is the place holder for modules
  • 13. Focus on Modules follow development Discovery Structure Data
  • 14. Discovery Module - What's on the page? ?debug ?debug&xml Use any XML Parser to get information on the modules present on the page. Use Data Assertor to check number & type of modules on the page. Testability for the WIN!!
  • 15. For all the modules on the page.. For (Every_module_identified_on_the_page) { Call structural_assertions of the module Call data_assertions of the module }
  • 16. Structural Assertions..kind of acceptance criteria for the modules ---> Video list module should have link to three video articles ---> Every item in the list should have an image ---> There should be a little play button on top of image ---> Video links should always be internal ---> Every list item should have an image, title and description
  • 17. Database Assertions.. Actual checks - compare DB and information on the page ---> Order of the articles is same as DB ---> Right images are present on the module ---> Title text of all the article is proper ---> Right description is appearing for all the items in the list
  • 19. Go to Sitemap on UAT Get links_of_all_the_pages For (Every_link_in_the_sitemap) { Go to that_page Get list_of_modules For (Every_module_on_the_page) { Call structural_assertions of the module Call data_assertions of the module } } Efficient & Effective
  • 20. Interested in Improving efficiency & effectiveness of your test automation projects? Shameless Promotion :-) http://testspicer.com/
  • 21. Thank you for your time & attention @TestingGeek www.TestingGeek.com www.PlannedDeparture.com [email protected]