SlideShare a Scribd company logo
RUIN YOUR LIFE using ROBOT FRAMEWORK
Prayoch Rujira
ROBOT FRAMEWORK MEETUP #1 2017
Not right of wrong.
Just consequences.
No ATDD applied
Ruin your life using robot framework
Without ATDD
• Bad relationship in product team
• unreliable test cases
• No shared understanding
• No actual progress
• Bad software design
Ruin your life using robot framework
Ruin your life using robot framework
No source control
Without source control
• No versioning
• No permanent storage
• Risk losing code
Try git
https://try.github.io/
No Continuous
Integration
Without CI
• No automatic regression test runner
• Late/Slow feedback
Ruin your life using robot framework
Ruin your life using robot framework
Less maintenance
Ruin your life using robot framework
Without rapid maintenance
• Invite broken windows
• Hard to change
Undescriptive
naming
Ruin your life using robot framework
Without descriptive naming
• Hard to maintain codebase
• Hard to find bugs
• Hard to understand
Naming
• Very important to name well test cases, test suites,
keywords, variables, libraries, resource files, …
• Consistency
• Namespaces
• Name should tell “What” not “How”
from slide http://www.slideshare.net/pekkaklarck/robot-framework-dos-and-donts
Test cases as steps
Ruin your life using robot framework
With test cases as steps
• Invite duplication
• No reusable
Ruin your life using robot framework
Ruin your life using robot framework
Good test case consist of
• Arrange ( Given )
• Action ( When )
• Assert ( Then )
Dependencies
between test cases
Ruin your life using robot framework
With dependencies between
tests
• Hard to maintain
• Hard to fix problem in specific cases
Ruin your life using robot framework
Ruin your life using robot framework
Ruin your life using robot framework
Ruin your life using robot framework
Multiple assertions
Ruin your life using robot framework
With multiple assertions
• Invite fragile test
• Hard to maintain
• Hard to fix problem in specific cases
Overuse
Ruin your life using robot framework
With overusing
• Increase test execution time
• Increase maintenance cost
• Invite fragile test
from https://watirmelon.com/2012/01/31/introducing-the-software-testing-ice-cream-cone/
from https://watirmelon.com/2012/01/31/introducing-the-software-testing-ice-cream-cone/
Testing visual
elements
Examples
• Alignment
• Color
• CSS Attribute
• And more…
With testing visual elements
• Extremely invite fragile test
• Increase unnecessary development cost
from https://enna.com/2015/08/11/robots-coming-future-autonomation/
Jidohka
UX
Behaviour and
behaviour only
No or less using tags
Without tags
• May block development process
• Slow down feedback loop
• Hard to manage
Ruin your life using robot framework
Ruin your life using robot framework
Tags example
• Story ID
• External systems
• Sprint number
• Critical level
• Feature name
• Module name
• Version
• Profile
Hacking
Ruin your life using robot framework
Ruin your life using robot framework
With hacked tests
• Unreliable tests
• Real problem still exist
• Lead to disasters
Bad error message
Ruin your life using robot framework
Ruin your life using robot framework
With bad error messages
• Extremely hard to fix problem
Ruin your life using robot framework
The worst
No automated test
at all
The Boomerang Jobs
Without automated test
• Summon boomerang jobs
• Regression test over and over again
• War room
Ruin your life using robot framework
Recap
• Start with ATDD
• Use source control ( GIT Recommended )
• Use CI
• Fix problems as soon as possible
• Naming with care
• Respect tests as a source code
• Merciless refactoring
• Write the test you want to read
• Focus on behaviour
• Separate human jobs from computer jobs
• Manage with tags
• One better than none!
ของฝากนักกอลฟ์
Ruin your life using robot framework
Respect abstraction level
Slide: Robot framework
dos and don’t
http://www.slideshare.net/pekkaklarck/robot-framework-dos-
and-donts
How to write good test
cases using Robot
Framework
https://github.com/robotframework/
HowToWriteGoodTestCases/blob/master/
HowToWriteGoodTestCases.rst
Robot framework user
guide
http://robotframework.org/robotframework/latest/
RobotFrameworkUserGuide.html
Ruin your life using robot framework
อันนี้ห้ามลืม
somkiat.cc
Questions?
Feedback please.

More Related Content

PDF
Robot Framework Dos And Don'ts
PDF
Robot Framework Introduction
PDF
ATDD Using Robot Framework
PPTX
Robot framework
PDF
Robot Framework :: Demo login application
PDF
Robot framework and selenium2 library
PDF
Functional Tests Automation with Robot Framework
PDF
Introduction to Robot Framework
Robot Framework Dos And Don'ts
Robot Framework Introduction
ATDD Using Robot Framework
Robot framework
Robot Framework :: Demo login application
Robot framework and selenium2 library
Functional Tests Automation with Robot Framework
Introduction to Robot Framework

What's hot (20)

PDF
Test and Behaviour Driven Development (TDD/BDD)
PPTX
Robot framework
PDF
SELENIUM PPT.pdf
PPTX
Scripting robot
PDF
Test Automation Using Python | Edureka
PPTX
Cypress Automation
PPTX
Test Case Management Tools
PDF
Cucumber ppt
PDF
Introduction to Robot Framework – Exove
PPT
Test Automation Framework Designs
PPT
Automation testing
PDF
Selenium with Cucumber
PPTX
Robot framework Gowthami Goli
PDF
Introduction To Appium With Robotframework
PDF
How to go about testing in React?
PDF
Test Driven Development (TDD)
PPTX
PPTX
Python in Test automation
PPTX
Automation - web testing with selenium
PPTX
An Introduction to Unit Testing
Test and Behaviour Driven Development (TDD/BDD)
Robot framework
SELENIUM PPT.pdf
Scripting robot
Test Automation Using Python | Edureka
Cypress Automation
Test Case Management Tools
Cucumber ppt
Introduction to Robot Framework – Exove
Test Automation Framework Designs
Automation testing
Selenium with Cucumber
Robot framework Gowthami Goli
Introduction To Appium With Robotframework
How to go about testing in React?
Test Driven Development (TDD)
Python in Test automation
Automation - web testing with selenium
An Introduction to Unit Testing
Ad

Similar to Ruin your life using robot framework (20)

PPTX
robot framework1.pptx
PPT
Robot Framework for beginners and what is new at 2019
PPTX
InnovateQASeattle2024_RoyYap_Intro to Robot Framework.pptx
PDF
The Testing Planet Issue 2
PPTX
Robot Framework
PDF
TestWorks Conf Robot framework - the unsung hero of test automation - Michael...
PDF
OSMC 2021 | Robotmk: You don’t run IT – you deliver services!
PDF
Accomplishment report at QNAP
PDF
JavaCro'14 - Test Automation using RobotFramework Libraries – Stojan Peshov
PDF
How to test when robots become part of your process? Workshop robotesting agi...
PDF
Using AI-Powered Visual Tests to empower your tests
PPTX
The Amazing Bug Story
PPTX
Hindsight lessons about API testing
PDF
Unit testing traning
PDF
Don't let your tests slow you down
PDF
An Introduction To Software Development - Final Review
PPTX
How do you tame a big ball of mud? One test at a time.
PDF
Joel Arvidsson, Klarna. What You See is What You Get – a case for visual testing
PPTX
When & How to Successfully use Test Automation for Mobile Applications
PDF
Robotesting, are you ready for that yet? 7WCSQ Rik Marselis
robot framework1.pptx
Robot Framework for beginners and what is new at 2019
InnovateQASeattle2024_RoyYap_Intro to Robot Framework.pptx
The Testing Planet Issue 2
Robot Framework
TestWorks Conf Robot framework - the unsung hero of test automation - Michael...
OSMC 2021 | Robotmk: You don’t run IT – you deliver services!
Accomplishment report at QNAP
JavaCro'14 - Test Automation using RobotFramework Libraries – Stojan Peshov
How to test when robots become part of your process? Workshop robotesting agi...
Using AI-Powered Visual Tests to empower your tests
The Amazing Bug Story
Hindsight lessons about API testing
Unit testing traning
Don't let your tests slow you down
An Introduction To Software Development - Final Review
How do you tame a big ball of mud? One test at a time.
Joel Arvidsson, Klarna. What You See is What You Get – a case for visual testing
When & How to Successfully use Test Automation for Mobile Applications
Robotesting, are you ready for that yet? 7WCSQ Rik Marselis
Ad

Recently uploaded (20)

PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
Introduction to Artificial Intelligence
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
history of c programming in notes for students .pptx
PPTX
Transform Your Business with a Software ERP System
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Nekopoi APK 2025 free lastest update
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Introduction to Artificial Intelligence
How to Choose the Right IT Partner for Your Business in Malaysia
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Navsoft: AI-Powered Business Solutions & Custom Software Development
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
2025 Textile ERP Trends: SAP, Odoo & Oracle
Softaken Excel to vCard Converter Software.pdf
Adobe Illustrator 28.6 Crack My Vision of Vector Design
VVF-Customer-Presentation2025-Ver1.9.pptx
wealthsignaloriginal-com-DS-text-... (1).pdf
Which alternative to Crystal Reports is best for small or large businesses.pdf
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
How Creative Agencies Leverage Project Management Software.pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
history of c programming in notes for students .pptx
Transform Your Business with a Software ERP System
Understanding Forklifts - TECH EHS Solution
Nekopoi APK 2025 free lastest update

Ruin your life using robot framework