SlideShare uma empresa Scribd logo
1 de 34
Baixar para ler offline
© 2017-18 Test Mile® Software Testing Pvt Ltd www.TestMile.com
JugaadU Automation
The Real DESI test Automation Story
Rahul Verma
Testing researcher. Teacher. Technologist.
Founder – Test Mile.
CTO @ Verity Software, Community Proxy @ STeP-IN Forum
जुगाड़ू
Finds A Way. Some Way. Any Way.
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
Who am I?
A student of software testing.
I am guilty of doing Jugaad.
But, I moved on.
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
In my line of work as a consultant,
I review
Test automation implementations.
Here are some honest findings.
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
Most Test
Automation
Engineers
Tooling
Experts
This small dot
is designers
Skill Ratio I observed
Minimal
Programming
& Tooling
knowledge
Jugaad
Automation.
Know tools and
programming
very well.
Poor at
Design.
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
Where do I fit in?
My primary focus is OOP modeling in test automation.
I work with engineers who know tools well and help
them in design aspects around them.
In the process, I’m learning a bit of tooling.
I’m not a great designer. It’s just that I have looked
at lots and lots of code in last decade.
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
Most Test
Automation
Engineers
Tooling
Experts
Typical Code Reduction
80-95%
40-50%
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
These numbers are shocking.
Borderline unbelievable.
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
The Primary Reason is
JugaadU Code
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
Jugaad is A Hindi/Urdu/Punjabi word.
In punjabi it has several meanings.
Peter rehdaa is called jAgaad.
It means a Bad/Quick/Illegal solution.
It means (just/some how) surviving
It also refers to an illicit affair J
Breaking news! We really fooled oxford dictionary.
ਘੜu$ਕਾ		 ਜਗਾੜ	 ਪੀਟਰ	ਰ-ਹੜਾ	
ਭ01ਡ	
	
A	recent	reincarnation	
of	Jugaad	
ਮਰ0ਤਾ	 जुगाड़
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
OXford Dictionary Defines Jugaad as:
A FlExible approach to problem solving that uses
limited resources in an innovative way
They really make it sound amazing J
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
If Jugaad is so positive, Why
No Linked-In Tester Profile headline is
Jugaadu Tester ?
NO job opening readS
Jugaadu Tester ?
No Company Profile says
We specialize in JugaadU Testing ?
I Wonder is it because of the money we demand?
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
JugaadU Code
Is code written
With complete/utter disregard
For design, robustness, performance
And often serves
its core functionality
With compromised quality
assertEquals(true, true);
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
So, My Definition of jugaad
For Testing industry:
A Temporary Fix
That often becomes permanent
often created with
lack of serious work
despite all resources available
Often presented with pride
And measured by number of
WTFs/minute by reviewers
Beta,	WTF?
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
Code written with lack of knowledge looks like jugaad code
The question is for how long you keep writing such code?
How long are You ok with lack of tooling and coding knowledge?
This is real:
A 10 yr+ experience Test automation Lead
says:
“I don’t know String formatting in Java”
Really?!!!! Do you think he would have survived as a developer?
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
Once
JugaadU Code
Is appreciated
There is no coming back.
It is addictive
Reference:	https://www.scoopwhoop.com/Jugaad-Is-Not-Really-A-Solution-But-A-Problem-In-Itself	
चलता है!
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
Jugaad encourages an attitude of
Shortcuts
And
Evasions
- Raghuram Rajan, Ex-Governor, RBI
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
•  Jugaad solutions are assemblies of borrowed parts
•  Not always the best solutions
•  Very little original innovation
•  Rather unsafe, inefficient, unaestahatically designed, even illegal
•  Main motivation is economic consideration
•  Compromises on efficieny, often dangerous/fatal products.
•  Breach ip rights
•  Tend to fall apart sooner than they should
•  Jugaad Thrives in environments which are harsh, politically & economically
unstable with poor infrastructure and inadequate access to Finance and skilled
human resources.
•  Jugaad as opposed to innovation is pseudo-original problem thinking.
•  Jugaad solutions are not designed to please the customers.
From: Understanding Jugaad: MultiDisciplinary approach, Project Report IIT KanpuR, 2016
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
Those small jugaads
which you laughed about
Which were called innovative
Which were encouraged
Which were considered cheap...
Finally add-up
And aren’t funny any more.
And aren’t cheap any more.
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
Jugaad stories which the intellectuals don’t write about
The fire tragedy at make in india event in 2016
A Large Pharma company – jugaad test data
And many more…
And
Which Coffee do you think
These intellectuals
Sip in their ac office
while they
Write these Jugaad stories?
The Jugaadu Hypocrites
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
Indians don’t own the copyright to
Funny
Inventions
So, stop being proud of jugaad.
They are good jokes.
You got too serious.
There are better ways to think & Talk
about indovation.
珍道具	
Chindōgu	
Difference?
The Word means Unusual/ weird tool.
IT is the Art
Of developing solutions
That look ideal
But are useless
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
Some Real desi Jugaad Stories
Comment snapshots are added for your entertainment from around the world
https://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
the 38000+ Lines Test Runner
(And equally large other cousins)
Analysis of Jugaad
•  No Test Engine
•  For loop with hardcoded method calls
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
The Same 16 Copies
A tester had two kids.
Ctrl+c, Ctrl+V
Analysis of Jugaad
•  No OOAD
•  No Parameterization
•  For each change, create a copy and call it same.
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
The spreadsheet IDE
And a beautiful slide deck
Analysis of Jugaad
•  KDT Overdone
•  Code in Excel Sheets
•  In One case, this code was used to generate C# code files
using string formatting and then compiled and run.
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
The Google Re-searcher
because searching is researching.
Especially when searching again and again
Analysis of Jugaad
•  Search google/stackoverflow. Find the first 1-2 links
•  Copy paste the code. Don’t bother to model it.
•  Multiple excel readers, ini readers, csv readers etc.
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
The Deleted Assertions
or
comment -> run -> report -> Uncomment
Analysis of Jugaad
•  Complete misunderstanding of purpose of test automation
•  Making tests pass is made the goal
•  Anything interferring with this goal is killed.
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
The repeater
Analysis of Jugaad
•  Resources are read once per test
•  E.g. an excel Data file containing data for all tests is read
on a per-test basis.
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
…
I reached out to community to ask their
stories ...
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
•  The sleeping tester
•  The Now syndrome
•  the Never fail attitude
•  The appraisal code
•  The code puzzle
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
Test Automation
Is not meant for
failed developers
or
Testers who don’t know testing
Or
Testers who can write ‘some’ code
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
I came across an argument in favor of jugaad:
“If it is applied with a proper intent, at a place that’s right,
and at the right time …. Jugaad can be magical” *
I agree. But that’s called engineering, not jugaad.
* I’m not acknowledging the Writer for this quote, as i did not get response for my request to quote with name. You can think of him as a person I respect.
जुगाड़ूX
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
A blank File is better code than
bad code.
Say No to Jugaad.
And No. All Indian innovative
solutions are not jugaad. Stop
labeling them as such to justify
jugaad.
जुगाड़ूX
You might find this hashtag
about india amusing
#JugaadNation*
I don’t.
Mangalyaan was not
A jugaad.
#JugaadNation was not A passionate Indian creating a hashtag and
it getting viral. It was a mareketing campaign for Near.in services
superstore. Sulekha, rightfully put an advertisement to challenge
it #AntiJugaad
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
Don’t turn
A coping mechanism
Into a philosophy
– Dheeraj Sinha
Thanks
https://www.linkedin.com/in/rahul-verma-india/
https://twitter.com/rahul_verma
And as the #NoShortcuts Exide Life
insurance ad says:
Finds Ways. Evaluate ways. Choose a way.
Keep finding. Reiterate.
© 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma
Picture and code snapshot Credits
http://blog.bedandchai.com/wp-content/uploads/2016/03/fork-belt-jugaad-1.jpg
https://www.flickr.com/photos/81848201@N08/7499493118
https://mastimaster.com/wp-content/uploads/2016/05/Mobile-Charging-Funny-Pictures.jpg
https://twitter.com/jugaadist/status/469555448434020352
https://www.dreamstime.com/stock-photo-apple-tomato-sewing-creative-concept-image45611462
http://www.loopjamaica.com/content/where-caribbean-can-you-smoke-weed-3
http://punjabiworld.com/Punjab-India/1709.html
https://www.bhaskar.com/news/KZHK-pictures-of-indian-jugaad-news-hindi-5369562-PHO.html
http://www.fakingnews.com/snippets/boy-follows-new-year-resolution-even-8th-day-father-takes-psychiatrist-25001
https://caffiacoffee.co.uk/jura-coffee-machine/
http://www.picdesi.com/desi/india-funny/coffee-maker-desi-jugaad/
http://1.bp.blogspot.com/-QzL8jfY80Lk/U0LfVhdJE6I/AAAAAAAACHg/b_f7Mx7ZnlM/s1600/bigstock-Fake-Mask-52137169.jpg
http://blog.bedandchai.com/wp-content/uploads/2016/03/funny-trucks-mud-flaps-jugaad.jpg
https://www.improgrammer.net/find-length-number-funny-programming-code/
https://stephenhaunts.com/2014/07/11/funny-code-comments/
https://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered
http://shitcode.net/worst/language/java/page/2?per-page=15

Mais conteúdo relacionado

Semelhante a Jugaadu Automation - The Real Desi Test Automation Story

Focus on Outcomes, Not Features, For Better Product Results
Focus on Outcomes, Not Features, For Better Product ResultsFocus on Outcomes, Not Features, For Better Product Results
Focus on Outcomes, Not Features, For Better Product ResultsKurt Bittner
 
Front-end, Back-end & Full-stack: Best Practices for Hiring Developers
Front-end, Back-end & Full-stack: Best Practices for Hiring DevelopersFront-end, Back-end & Full-stack: Best Practices for Hiring Developers
Front-end, Back-end & Full-stack: Best Practices for Hiring DevelopersHackerRank
 
Keynote StarEast - Testing in the Fast Lane (Transformation)
Keynote StarEast - Testing in the Fast Lane (Transformation)Keynote StarEast - Testing in the Fast Lane (Transformation)
Keynote StarEast - Testing in the Fast Lane (Transformation)Jennifer L. Scandariato
 
Transforming Product Development- Transformation Day Philadelphia 2018
Transforming Product Development- Transformation Day Philadelphia 2018Transforming Product Development- Transformation Day Philadelphia 2018
Transforming Product Development- Transformation Day Philadelphia 2018Amazon Web Services
 
Transforming Product Development - AWS Transformation Day: Santa Clara 2018
Transforming Product Development - AWS Transformation Day: Santa Clara 2018Transforming Product Development - AWS Transformation Day: Santa Clara 2018
Transforming Product Development - AWS Transformation Day: Santa Clara 2018Amazon Web Services
 
Transforming Product Development - AWS Transformation Day Boston 2018
Transforming Product Development - AWS Transformation Day Boston 2018Transforming Product Development - AWS Transformation Day Boston 2018
Transforming Product Development - AWS Transformation Day Boston 2018Amazon Web Services
 
[NEW LAUNCH!] Introducing Amazon SageMaker RL - Build and Train Reinforcement...
[NEW LAUNCH!] Introducing Amazon SageMaker RL - Build and Train Reinforcement...[NEW LAUNCH!] Introducing Amazon SageMaker RL - Build and Train Reinforcement...
[NEW LAUNCH!] Introducing Amazon SageMaker RL - Build and Train Reinforcement...Amazon Web Services
 
Transforming Product Development- AWS Transformation Day Raleigh 2018.pdf
Transforming Product Development- AWS Transformation Day Raleigh 2018.pdfTransforming Product Development- AWS Transformation Day Raleigh 2018.pdf
Transforming Product Development- AWS Transformation Day Raleigh 2018.pdfAmazon Web Services
 
vodQA Pune (2019) - Design patterns in test automation
vodQA Pune (2019) - Design patterns in test automationvodQA Pune (2019) - Design patterns in test automation
vodQA Pune (2019) - Design patterns in test automationvodQA
 
Transforming Product Development - AWS Transformation Day 2018: Detroit
Transforming Product Development - AWS Transformation Day 2018: DetroitTransforming Product Development - AWS Transformation Day 2018: Detroit
Transforming Product Development - AWS Transformation Day 2018: DetroitAmazon Web Services
 
Top 15 reasons to choose qa testing as career
Top 15 reasons to choose qa testing as career Top 15 reasons to choose qa testing as career
Top 15 reasons to choose qa testing as career JanBask Training
 
Building a Compelling Value Proposition
Building a Compelling Value PropositionBuilding a Compelling Value Proposition
Building a Compelling Value PropositionStartup Secrets
 
Startup Secrets: Building a Compelling Value Proposition
Startup Secrets: Building a Compelling Value PropositionStartup Secrets: Building a Compelling Value Proposition
Startup Secrets: Building a Compelling Value PropositionMichael Skok
 
Baking compliance into your pipelines
Baking compliance into your pipelinesBaking compliance into your pipelines
Baking compliance into your pipelinesPeter Maddison
 
From Idea to Customers: Developing Modern Cloud-Enabled Apps with AWS (MOB201...
From Idea to Customers: Developing Modern Cloud-Enabled Apps with AWS (MOB201...From Idea to Customers: Developing Modern Cloud-Enabled Apps with AWS (MOB201...
From Idea to Customers: Developing Modern Cloud-Enabled Apps with AWS (MOB201...Amazon Web Services
 
Phil Koopman's ISSRE 2016 Keynote
Phil Koopman's ISSRE 2016 KeynotePhil Koopman's ISSRE 2016 Keynote
Phil Koopman's ISSRE 2016 Keynoteedgecaseresearch
 
[NEW LAUNCH!] [REPEAT 1] AWS DeepRacer Workshops –a new, fun way to learn rei...
[NEW LAUNCH!] [REPEAT 1] AWS DeepRacer Workshops –a new, fun way to learn rei...[NEW LAUNCH!] [REPEAT 1] AWS DeepRacer Workshops –a new, fun way to learn rei...
[NEW LAUNCH!] [REPEAT 1] AWS DeepRacer Workshops –a new, fun way to learn rei...Amazon Web Services
 
Test_Automation_-_Let's_Talk_Business.ppt
Test_Automation_-_Let's_Talk_Business.pptTest_Automation_-_Let's_Talk_Business.ppt
Test_Automation_-_Let's_Talk_Business.pptGopi Raghavendra
 

Semelhante a Jugaadu Automation - The Real Desi Test Automation Story (20)

Focus on Outcomes, Not Features, For Better Product Results
Focus on Outcomes, Not Features, For Better Product ResultsFocus on Outcomes, Not Features, For Better Product Results
Focus on Outcomes, Not Features, For Better Product Results
 
Front-end, Back-end & Full-stack: Best Practices for Hiring Developers
Front-end, Back-end & Full-stack: Best Practices for Hiring DevelopersFront-end, Back-end & Full-stack: Best Practices for Hiring Developers
Front-end, Back-end & Full-stack: Best Practices for Hiring Developers
 
Keynote StarEast - Testing in the Fast Lane (Transformation)
Keynote StarEast - Testing in the Fast Lane (Transformation)Keynote StarEast - Testing in the Fast Lane (Transformation)
Keynote StarEast - Testing in the Fast Lane (Transformation)
 
Transforming Product Development- Transformation Day Philadelphia 2018
Transforming Product Development- Transformation Day Philadelphia 2018Transforming Product Development- Transformation Day Philadelphia 2018
Transforming Product Development- Transformation Day Philadelphia 2018
 
Transforming Product Development - AWS Transformation Day: Santa Clara 2018
Transforming Product Development - AWS Transformation Day: Santa Clara 2018Transforming Product Development - AWS Transformation Day: Santa Clara 2018
Transforming Product Development - AWS Transformation Day: Santa Clara 2018
 
Transforming Product Development - AWS Transformation Day Boston 2018
Transforming Product Development - AWS Transformation Day Boston 2018Transforming Product Development - AWS Transformation Day Boston 2018
Transforming Product Development - AWS Transformation Day Boston 2018
 
[NEW LAUNCH!] Introducing Amazon SageMaker RL - Build and Train Reinforcement...
[NEW LAUNCH!] Introducing Amazon SageMaker RL - Build and Train Reinforcement...[NEW LAUNCH!] Introducing Amazon SageMaker RL - Build and Train Reinforcement...
[NEW LAUNCH!] Introducing Amazon SageMaker RL - Build and Train Reinforcement...
 
Transforming Product Development- AWS Transformation Day Raleigh 2018.pdf
Transforming Product Development- AWS Transformation Day Raleigh 2018.pdfTransforming Product Development- AWS Transformation Day Raleigh 2018.pdf
Transforming Product Development- AWS Transformation Day Raleigh 2018.pdf
 
vodQA Pune (2019) - Design patterns in test automation
vodQA Pune (2019) - Design patterns in test automationvodQA Pune (2019) - Design patterns in test automation
vodQA Pune (2019) - Design patterns in test automation
 
Transforming Product Development - AWS Transformation Day 2018: Detroit
Transforming Product Development - AWS Transformation Day 2018: DetroitTransforming Product Development - AWS Transformation Day 2018: Detroit
Transforming Product Development - AWS Transformation Day 2018: Detroit
 
Top 15 reasons to choose qa testing as career
Top 15 reasons to choose qa testing as career Top 15 reasons to choose qa testing as career
Top 15 reasons to choose qa testing as career
 
Visual testing
Visual testingVisual testing
Visual testing
 
Building a Compelling Value Proposition
Building a Compelling Value PropositionBuilding a Compelling Value Proposition
Building a Compelling Value Proposition
 
Startup Secrets: Building a Compelling Value Proposition
Startup Secrets: Building a Compelling Value PropositionStartup Secrets: Building a Compelling Value Proposition
Startup Secrets: Building a Compelling Value Proposition
 
Test Policy and Practices
Test Policy and PracticesTest Policy and Practices
Test Policy and Practices
 
Baking compliance into your pipelines
Baking compliance into your pipelinesBaking compliance into your pipelines
Baking compliance into your pipelines
 
From Idea to Customers: Developing Modern Cloud-Enabled Apps with AWS (MOB201...
From Idea to Customers: Developing Modern Cloud-Enabled Apps with AWS (MOB201...From Idea to Customers: Developing Modern Cloud-Enabled Apps with AWS (MOB201...
From Idea to Customers: Developing Modern Cloud-Enabled Apps with AWS (MOB201...
 
Phil Koopman's ISSRE 2016 Keynote
Phil Koopman's ISSRE 2016 KeynotePhil Koopman's ISSRE 2016 Keynote
Phil Koopman's ISSRE 2016 Keynote
 
[NEW LAUNCH!] [REPEAT 1] AWS DeepRacer Workshops –a new, fun way to learn rei...
[NEW LAUNCH!] [REPEAT 1] AWS DeepRacer Workshops –a new, fun way to learn rei...[NEW LAUNCH!] [REPEAT 1] AWS DeepRacer Workshops –a new, fun way to learn rei...
[NEW LAUNCH!] [REPEAT 1] AWS DeepRacer Workshops –a new, fun way to learn rei...
 
Test_Automation_-_Let's_Talk_Business.ppt
Test_Automation_-_Let's_Talk_Business.pptTest_Automation_-_Let's_Talk_Business.ppt
Test_Automation_-_Let's_Talk_Business.ppt
 

Mais de STePINForum

Am I a Social Monster?
Am I a Social Monster?Am I a Social Monster?
Am I a Social Monster?STePINForum
 
Code to Release using Artificial Intelligence and Machine Learning
Code to Release using Artificial Intelligence and Machine LearningCode to Release using Artificial Intelligence and Machine Learning
Code to Release using Artificial Intelligence and Machine LearningSTePINForum
 
Predictive Analytics based Regression Test Optimization
Predictive Analytics based Regression Test OptimizationPredictive Analytics based Regression Test Optimization
Predictive Analytics based Regression Test OptimizationSTePINForum
 
Blockchain and AI - Match made in Heaven
Blockchain and AI - Match made in HeavenBlockchain and AI - Match made in Heaven
Blockchain and AI - Match made in HeavenSTePINForum
 
Machine Learning & Artificial Intelligence - Machine Controlled Data Dispensa...
Machine Learning & Artificial Intelligence - Machine Controlled Data Dispensa...Machine Learning & Artificial Intelligence - Machine Controlled Data Dispensa...
Machine Learning & Artificial Intelligence - Machine Controlled Data Dispensa...STePINForum
 
Self Healing - Bringing Intelligence into Automation
Self Healing - Bringing Intelligence into AutomationSelf Healing - Bringing Intelligence into Automation
Self Healing - Bringing Intelligence into AutomationSTePINForum
 
Quality engineering in a world with AI and IoT
Quality engineering in a world with AI and IoTQuality engineering in a world with AI and IoT
Quality engineering in a world with AI and IoTSTePINForum
 
How accurate are the Wearable fitness tracker showing 10000 steps in a day: A...
How accurate are the Wearable fitness tracker showing 10000 steps in a day: A...How accurate are the Wearable fitness tracker showing 10000 steps in a day: A...
How accurate are the Wearable fitness tracker showing 10000 steps in a day: A...STePINForum
 
Performance Testing Internet of Things
Performance Testing Internet of ThingsPerformance Testing Internet of Things
Performance Testing Internet of ThingsSTePINForum
 
Continuous Testing: Preparing for DevOps
Continuous Testing: Preparing for DevOpsContinuous Testing: Preparing for DevOps
Continuous Testing: Preparing for DevOpsSTePINForum
 
Blockchain and AI: Powering the future
Blockchain and AI: Powering the futureBlockchain and AI: Powering the future
Blockchain and AI: Powering the futureSTePINForum
 
Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)
Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)
Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)STePINForum
 
AI driven classification framework for advanced Test Automation
AI driven classification framework for advanced Test AutomationAI driven classification framework for advanced Test Automation
AI driven classification framework for advanced Test AutomationSTePINForum
 

Mais de STePINForum (13)

Am I a Social Monster?
Am I a Social Monster?Am I a Social Monster?
Am I a Social Monster?
 
Code to Release using Artificial Intelligence and Machine Learning
Code to Release using Artificial Intelligence and Machine LearningCode to Release using Artificial Intelligence and Machine Learning
Code to Release using Artificial Intelligence and Machine Learning
 
Predictive Analytics based Regression Test Optimization
Predictive Analytics based Regression Test OptimizationPredictive Analytics based Regression Test Optimization
Predictive Analytics based Regression Test Optimization
 
Blockchain and AI - Match made in Heaven
Blockchain and AI - Match made in HeavenBlockchain and AI - Match made in Heaven
Blockchain and AI - Match made in Heaven
 
Machine Learning & Artificial Intelligence - Machine Controlled Data Dispensa...
Machine Learning & Artificial Intelligence - Machine Controlled Data Dispensa...Machine Learning & Artificial Intelligence - Machine Controlled Data Dispensa...
Machine Learning & Artificial Intelligence - Machine Controlled Data Dispensa...
 
Self Healing - Bringing Intelligence into Automation
Self Healing - Bringing Intelligence into AutomationSelf Healing - Bringing Intelligence into Automation
Self Healing - Bringing Intelligence into Automation
 
Quality engineering in a world with AI and IoT
Quality engineering in a world with AI and IoTQuality engineering in a world with AI and IoT
Quality engineering in a world with AI and IoT
 
How accurate are the Wearable fitness tracker showing 10000 steps in a day: A...
How accurate are the Wearable fitness tracker showing 10000 steps in a day: A...How accurate are the Wearable fitness tracker showing 10000 steps in a day: A...
How accurate are the Wearable fitness tracker showing 10000 steps in a day: A...
 
Performance Testing Internet of Things
Performance Testing Internet of ThingsPerformance Testing Internet of Things
Performance Testing Internet of Things
 
Continuous Testing: Preparing for DevOps
Continuous Testing: Preparing for DevOpsContinuous Testing: Preparing for DevOps
Continuous Testing: Preparing for DevOps
 
Blockchain and AI: Powering the future
Blockchain and AI: Powering the futureBlockchain and AI: Powering the future
Blockchain and AI: Powering the future
 
Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)
Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)
Docker–Grid (A On demand and Scalable dockerized selenium grid architecture)
 
AI driven classification framework for advanced Test Automation
AI driven classification framework for advanced Test AutomationAI driven classification framework for advanced Test Automation
AI driven classification framework for advanced Test Automation
 

Último

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
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...Neo4j
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
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...Martijn de Jong
 
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 CVKhem
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
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 BrazilV3cube
 

Último (20)

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
+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...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
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...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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...
 
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
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
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
 

Jugaadu Automation - The Real Desi Test Automation Story

  • 1. © 2017-18 Test Mile® Software Testing Pvt Ltd www.TestMile.com JugaadU Automation The Real DESI test Automation Story Rahul Verma Testing researcher. Teacher. Technologist. Founder – Test Mile. CTO @ Verity Software, Community Proxy @ STeP-IN Forum जुगाड़ू Finds A Way. Some Way. Any Way.
  • 2. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Who am I? A student of software testing. I am guilty of doing Jugaad. But, I moved on.
  • 3. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma In my line of work as a consultant, I review Test automation implementations. Here are some honest findings.
  • 4. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Most Test Automation Engineers Tooling Experts This small dot is designers Skill Ratio I observed Minimal Programming & Tooling knowledge Jugaad Automation. Know tools and programming very well. Poor at Design.
  • 5. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Where do I fit in? My primary focus is OOP modeling in test automation. I work with engineers who know tools well and help them in design aspects around them. In the process, I’m learning a bit of tooling. I’m not a great designer. It’s just that I have looked at lots and lots of code in last decade.
  • 6. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Most Test Automation Engineers Tooling Experts Typical Code Reduction 80-95% 40-50%
  • 7. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma These numbers are shocking. Borderline unbelievable.
  • 8. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma The Primary Reason is JugaadU Code
  • 9. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Jugaad is A Hindi/Urdu/Punjabi word. In punjabi it has several meanings. Peter rehdaa is called jAgaad. It means a Bad/Quick/Illegal solution. It means (just/some how) surviving It also refers to an illicit affair J Breaking news! We really fooled oxford dictionary. ਘੜu$ਕਾ ਜਗਾੜ ਪੀਟਰ ਰ-ਹੜਾ ਭ01ਡ A recent reincarnation of Jugaad ਮਰ0ਤਾ जुगाड़
  • 10. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma OXford Dictionary Defines Jugaad as: A FlExible approach to problem solving that uses limited resources in an innovative way They really make it sound amazing J
  • 11. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma If Jugaad is so positive, Why No Linked-In Tester Profile headline is Jugaadu Tester ? NO job opening readS Jugaadu Tester ? No Company Profile says We specialize in JugaadU Testing ? I Wonder is it because of the money we demand?
  • 12. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma JugaadU Code Is code written With complete/utter disregard For design, robustness, performance And often serves its core functionality With compromised quality assertEquals(true, true);
  • 13. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma So, My Definition of jugaad For Testing industry: A Temporary Fix That often becomes permanent often created with lack of serious work despite all resources available Often presented with pride And measured by number of WTFs/minute by reviewers Beta, WTF?
  • 14. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Code written with lack of knowledge looks like jugaad code The question is for how long you keep writing such code? How long are You ok with lack of tooling and coding knowledge? This is real: A 10 yr+ experience Test automation Lead says: “I don’t know String formatting in Java” Really?!!!! Do you think he would have survived as a developer?
  • 15. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Once JugaadU Code Is appreciated There is no coming back. It is addictive Reference: https://www.scoopwhoop.com/Jugaad-Is-Not-Really-A-Solution-But-A-Problem-In-Itself चलता है!
  • 16. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Jugaad encourages an attitude of Shortcuts And Evasions - Raghuram Rajan, Ex-Governor, RBI
  • 17. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma •  Jugaad solutions are assemblies of borrowed parts •  Not always the best solutions •  Very little original innovation •  Rather unsafe, inefficient, unaestahatically designed, even illegal •  Main motivation is economic consideration •  Compromises on efficieny, often dangerous/fatal products. •  Breach ip rights •  Tend to fall apart sooner than they should •  Jugaad Thrives in environments which are harsh, politically & economically unstable with poor infrastructure and inadequate access to Finance and skilled human resources. •  Jugaad as opposed to innovation is pseudo-original problem thinking. •  Jugaad solutions are not designed to please the customers. From: Understanding Jugaad: MultiDisciplinary approach, Project Report IIT KanpuR, 2016
  • 18. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Those small jugaads which you laughed about Which were called innovative Which were encouraged Which were considered cheap... Finally add-up And aren’t funny any more. And aren’t cheap any more.
  • 19. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Jugaad stories which the intellectuals don’t write about The fire tragedy at make in india event in 2016 A Large Pharma company – jugaad test data And many more… And Which Coffee do you think These intellectuals Sip in their ac office while they Write these Jugaad stories? The Jugaadu Hypocrites
  • 20. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Indians don’t own the copyright to Funny Inventions So, stop being proud of jugaad. They are good jokes. You got too serious. There are better ways to think & Talk about indovation. 珍道具 Chindōgu Difference? The Word means Unusual/ weird tool. IT is the Art Of developing solutions That look ideal But are useless
  • 21. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Some Real desi Jugaad Stories Comment snapshots are added for your entertainment from around the world https://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered
  • 22. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma the 38000+ Lines Test Runner (And equally large other cousins) Analysis of Jugaad •  No Test Engine •  For loop with hardcoded method calls
  • 23. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma The Same 16 Copies A tester had two kids. Ctrl+c, Ctrl+V Analysis of Jugaad •  No OOAD •  No Parameterization •  For each change, create a copy and call it same.
  • 24. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma The spreadsheet IDE And a beautiful slide deck Analysis of Jugaad •  KDT Overdone •  Code in Excel Sheets •  In One case, this code was used to generate C# code files using string formatting and then compiled and run.
  • 25. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma The Google Re-searcher because searching is researching. Especially when searching again and again Analysis of Jugaad •  Search google/stackoverflow. Find the first 1-2 links •  Copy paste the code. Don’t bother to model it. •  Multiple excel readers, ini readers, csv readers etc.
  • 26. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma The Deleted Assertions or comment -> run -> report -> Uncomment Analysis of Jugaad •  Complete misunderstanding of purpose of test automation •  Making tests pass is made the goal •  Anything interferring with this goal is killed.
  • 27. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma The repeater Analysis of Jugaad •  Resources are read once per test •  E.g. an excel Data file containing data for all tests is read on a per-test basis.
  • 28. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma … I reached out to community to ask their stories ...
  • 29. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma •  The sleeping tester •  The Now syndrome •  the Never fail attitude •  The appraisal code •  The code puzzle
  • 30. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Test Automation Is not meant for failed developers or Testers who don’t know testing Or Testers who can write ‘some’ code
  • 31. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma I came across an argument in favor of jugaad: “If it is applied with a proper intent, at a place that’s right, and at the right time …. Jugaad can be magical” * I agree. But that’s called engineering, not jugaad. * I’m not acknowledging the Writer for this quote, as i did not get response for my request to quote with name. You can think of him as a person I respect. जुगाड़ूX
  • 32. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma A blank File is better code than bad code. Say No to Jugaad. And No. All Indian innovative solutions are not jugaad. Stop labeling them as such to justify jugaad. जुगाड़ूX You might find this hashtag about india amusing #JugaadNation* I don’t. Mangalyaan was not A jugaad. #JugaadNation was not A passionate Indian creating a hashtag and it getting viral. It was a mareketing campaign for Near.in services superstore. Sulekha, rightfully put an advertisement to challenge it #AntiJugaad
  • 33. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Don’t turn A coping mechanism Into a philosophy – Dheeraj Sinha Thanks https://www.linkedin.com/in/rahul-verma-india/ https://twitter.com/rahul_verma And as the #NoShortcuts Exide Life insurance ad says: Finds Ways. Evaluate ways. Choose a way. Keep finding. Reiterate.
  • 34. © 2017-18 Test Mile® Software Testing www.TestMile.comRahul verma Picture and code snapshot Credits http://blog.bedandchai.com/wp-content/uploads/2016/03/fork-belt-jugaad-1.jpg https://www.flickr.com/photos/81848201@N08/7499493118 https://mastimaster.com/wp-content/uploads/2016/05/Mobile-Charging-Funny-Pictures.jpg https://twitter.com/jugaadist/status/469555448434020352 https://www.dreamstime.com/stock-photo-apple-tomato-sewing-creative-concept-image45611462 http://www.loopjamaica.com/content/where-caribbean-can-you-smoke-weed-3 http://punjabiworld.com/Punjab-India/1709.html https://www.bhaskar.com/news/KZHK-pictures-of-indian-jugaad-news-hindi-5369562-PHO.html http://www.fakingnews.com/snippets/boy-follows-new-year-resolution-even-8th-day-father-takes-psychiatrist-25001 https://caffiacoffee.co.uk/jura-coffee-machine/ http://www.picdesi.com/desi/india-funny/coffee-maker-desi-jugaad/ http://1.bp.blogspot.com/-QzL8jfY80Lk/U0LfVhdJE6I/AAAAAAAACHg/b_f7Mx7ZnlM/s1600/bigstock-Fake-Mask-52137169.jpg http://blog.bedandchai.com/wp-content/uploads/2016/03/funny-trucks-mud-flaps-jugaad.jpg https://www.improgrammer.net/find-length-number-funny-programming-code/ https://stephenhaunts.com/2014/07/11/funny-code-comments/ https://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered http://shitcode.net/worst/language/java/page/2?per-page=15