SlideShare a Scribd company logo
1 of 12
Running agile, testable
content deployments from
start to finish

Emma Armstrong
@EmmaATester
Continuous Delivery
The aim to rapidly and reliably release to
production.
Frequent Releases
Deliver user value
First to market

Feedback
Cost of releasing
How long does it take to release?
What is the probability and cost of mistakes?
Is the right person available?
What was tested prior to release?
Can we rollback?
Process
1. Write your content
2. Add your content to CMS
3. Deploy your content
What is missing?
Demo
Testing
• What to test
• Are all the pages there?
• Is it the correct version of the page?

• What to use
• NUnit
• Selenium
Selenium
• Works with most browsers and is multi
platform (c#, Java, Ruby)
• Nuget packages
• Selenium.Support
• Selenium.WebDriver

• WebDriver /IDE
• Grid capabilities
• Hub and clients
• Simple jar file install commands
Actual Tests
• NUnit
• NuGet
• Basic NUnit test

• What next?
Nunit test
Example c# nunit test
using System;
using NUnit.Framework;
using RedGate.Deploy.WebAppTests.Pages;
namespace RedGate.Deploy.SmokeTests
{
[TestFixture]
public class VersionTest : SmokeTestBase
{
[Test]
public void LoginPageShowsCurrentVersion()
{
Version expectedVersion = GetType().Assembly.GetName().Version;
LoginPage loginPage = LoginPage.Load(Driver, SmokeTestUrlBase);
Assert.AreEqual("v" + expectedVersion, loginPage.VersionNumber.Trim());
}
Summary
• Improve confidence in your deployment
• Adding tests is easier than you might
think
• Automate gradually
</talk>
Code:
https://github.com/EmmaArmstrong/SeleniumTesting

Emma Armstrong
@EmmaATester

More Related Content

Viewers also liked

5 Questions That Lead To Brand Innovation
5 Questions That Lead To Brand Innovation5 Questions That Lead To Brand Innovation
5 Questions That Lead To Brand Innovation
Jeremiah Gardner
 

Viewers also liked (17)

Creating Your Social Content Engine: SearchExchange 2013
Creating Your Social Content Engine: SearchExchange 2013Creating Your Social Content Engine: SearchExchange 2013
Creating Your Social Content Engine: SearchExchange 2013
 
Experience-Driven Companies
Experience-Driven CompaniesExperience-Driven Companies
Experience-Driven Companies
 
Building a digital team (almost) from scratch
Building a digital team (almost) from scratchBuilding a digital team (almost) from scratch
Building a digital team (almost) from scratch
 
Developing Customer-Centric Strategies
Developing Customer-Centric StrategiesDeveloping Customer-Centric Strategies
Developing Customer-Centric Strategies
 
Agile content strategy - round 2
Agile content strategy - round 2Agile content strategy - round 2
Agile content strategy - round 2
 
Connecting Content Strategy with Intelligent Content - Intelligent Content Co...
Connecting Content Strategy with Intelligent Content - Intelligent Content Co...Connecting Content Strategy with Intelligent Content - Intelligent Content Co...
Connecting Content Strategy with Intelligent Content - Intelligent Content Co...
 
Accelerating the Emotional Connection
Accelerating the Emotional ConnectionAccelerating the Emotional Connection
Accelerating the Emotional Connection
 
from stuff to stories
from stuff to storiesfrom stuff to stories
from stuff to stories
 
Agile content - slides from Agile in the City London 2016
Agile content - slides from Agile in the City London 2016Agile content - slides from Agile in the City London 2016
Agile content - slides from Agile in the City London 2016
 
The Big Ideas from Social Brand Forum 2014
The Big Ideas from Social Brand Forum 2014The Big Ideas from Social Brand Forum 2014
The Big Ideas from Social Brand Forum 2014
 
Content Marketing 201
Content Marketing 201Content Marketing 201
Content Marketing 201
 
Strategy First: Understanding the Strategic Foundation of Social Media Marketing
Strategy First: Understanding the Strategic Foundation of Social Media MarketingStrategy First: Understanding the Strategic Foundation of Social Media Marketing
Strategy First: Understanding the Strategic Foundation of Social Media Marketing
 
5 Questions That Lead To Brand Innovation
5 Questions That Lead To Brand Innovation5 Questions That Lead To Brand Innovation
5 Questions That Lead To Brand Innovation
 
Why You Should Care About Social Media
Why You Should Care About Social MediaWhy You Should Care About Social Media
Why You Should Care About Social Media
 
Ambassadors Assemble! Making Your Community Your Brand's Superhero
Ambassadors Assemble! Making Your Community Your Brand's SuperheroAmbassadors Assemble! Making Your Community Your Brand's Superhero
Ambassadors Assemble! Making Your Community Your Brand's Superhero
 
An Introduction to Social Media Marketing
An Introduction to Social Media MarketingAn Introduction to Social Media Marketing
An Introduction to Social Media Marketing
 
Brand driven innovation, why culture is key for breakthrough innovations
Brand driven innovation, why culture is key for breakthrough innovationsBrand driven innovation, why culture is key for breakthrough innovations
Brand driven innovation, why culture is key for breakthrough innovations
 

More from Red Gate Software

Key findings from the 2020 state of database dev ops report
Key findings from the 2020 state of database dev ops reportKey findings from the 2020 state of database dev ops report
Key findings from the 2020 state of database dev ops report
Red Gate Software
 

More from Red Gate Software (20)

The future of DevOps: fully left-shifted deployments with version control and...
The future of DevOps: fully left-shifted deployments with version control and...The future of DevOps: fully left-shifted deployments with version control and...
The future of DevOps: fully left-shifted deployments with version control and...
 
Embracing DevOps through database migrations with Flyway
Embracing DevOps through database migrations with FlywayEmbracing DevOps through database migrations with Flyway
Embracing DevOps through database migrations with Flyway
 
Database DevOps for Managed Service Providers
Database DevOps for Managed Service ProvidersDatabase DevOps for Managed Service Providers
Database DevOps for Managed Service Providers
 
Mizuho Financial: Launching our Database DevOps journey
Mizuho Financial: Launching our Database DevOps journeyMizuho Financial: Launching our Database DevOps journey
Mizuho Financial: Launching our Database DevOps journey
 
7 steps to effective SQL Server monitoring
7 steps to effective SQL Server monitoring7 steps to effective SQL Server monitoring
7 steps to effective SQL Server monitoring
 
Level up your deployments for SQL Source Control
Level up your deployments for SQL Source Control Level up your deployments for SQL Source Control
Level up your deployments for SQL Source Control
 
Key findings from the 2020 state of database dev ops report
Key findings from the 2020 state of database dev ops reportKey findings from the 2020 state of database dev ops report
Key findings from the 2020 state of database dev ops report
 
Extend DevOps to Your SQL Server Databases
Extend DevOps to Your SQL Server DatabasesExtend DevOps to Your SQL Server Databases
Extend DevOps to Your SQL Server Databases
 
2019 year in review slides
2019 year in review slides2019 year in review slides
2019 year in review slides
 
What we learned at PASS Summit in 2019
What we learned at PASS Summit in 2019What we learned at PASS Summit in 2019
What we learned at PASS Summit in 2019
 
Quality in Software Development: Anglia Ruskin University
Quality in Software Development: Anglia Ruskin UniversityQuality in Software Development: Anglia Ruskin University
Quality in Software Development: Anglia Ruskin University
 
How SQL Change Automation helps you deliver value faster
How SQL Change Automation helps you deliver value fasterHow SQL Change Automation helps you deliver value faster
How SQL Change Automation helps you deliver value faster
 
DevOps essentials from Abel Wang and Steve Jones
DevOps essentials from Abel Wang and Steve JonesDevOps essentials from Abel Wang and Steve Jones
DevOps essentials from Abel Wang and Steve Jones
 
Successfully migrating existing databases to Azure
Successfully migrating existing databases to AzureSuccessfully migrating existing databases to Azure
Successfully migrating existing databases to Azure
 
The Ultimate Guide to Choosing and Implementing the Right Monitoring Tool
The Ultimate Guide to Choosing and Implementing the Right Monitoring ToolThe Ultimate Guide to Choosing and Implementing the Right Monitoring Tool
The Ultimate Guide to Choosing and Implementing the Right Monitoring Tool
 
Everything You Need to Know About the 2019 DORA Accelerate State of DevOps Re...
Everything You Need to Know About the 2019 DORA Accelerate State of DevOps Re...Everything You Need to Know About the 2019 DORA Accelerate State of DevOps Re...
Everything You Need to Know About the 2019 DORA Accelerate State of DevOps Re...
 
Using Redgate, AKS and Azure to bring DevOps to your database
Using Redgate, AKS and Azure to bring DevOps to your databaseUsing Redgate, AKS and Azure to bring DevOps to your database
Using Redgate, AKS and Azure to bring DevOps to your database
 
Using Redgate, AKS and Azure to bring DevOps to your Database
Using Redgate, AKS and Azure to bring DevOps to your DatabaseUsing Redgate, AKS and Azure to bring DevOps to your Database
Using Redgate, AKS and Azure to bring DevOps to your Database
 
How to Pitch a Software Development Initiative and Ignite Culture Change
How to Pitch a Software Development Initiative and Ignite Culture ChangeHow to Pitch a Software Development Initiative and Ignite Culture Change
How to Pitch a Software Development Initiative and Ignite Culture Change
 
Taming the Wild West
Taming the Wild West Taming the Wild West
Taming the Wild West
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

Running agile testable content deployments from start to finish slideshare

Editor's Notes

  1. AboutUmbracoEmmaArmstrngTest EngineerRed Gate
  2. Have you ever driven somewhere and not known how you got there? That is the aim for continuous delivery. However there are things we need to do to enable that to happen. What is the aim for continuous delivery?
  3. Not only are bug fixes sitting on the shelf, but the developers’ mental model of the software is in the future, so they struggle to help support engineers. Both of these factors coupled together leads to a bad support experience.
  4. Opportunity cost
  5. How do you know what you added works.How do you know what you deployed works?
  6. What is the minimum testing you can do to ensure the right information is being displayed.
  7. java -jar selenium-server-standalone-2.14.0.jar -role hub java -jar selenium-server-standalone-2.14.0.jar -role node  -hub http://localhost:4444/grid/registerbrowser  browserName=firefox, version=3.6,platform=LINUXDesiredCapabilities capability = DesiredCapabilities.firefox();ebDriver driver = new RemoteWebDriver(new URL(&quot;http://localhost:4444/wd/hub&quot;), capability);