SlideShare a Scribd company logo
1 of 10
Download to read offline
BT12	
Session	
6/9/16	3:00	PM	
	
	
	
	
	
	
Move	Your	Selenium	Testing	to	the	
Cloud	
	
Presented	by:	
	
Anshul	Sharma	
Emmi	Solutions	
	
	
Brought	to	you	by:		
		
	
	
	
	
350	Corporate	Way,	Suite	400,	Orange	Park,	FL	32073		
888---268---8770	··	904---278---0524	-	info@techwell.com	-	http://www.techwell.com/
Anshul	Sharma	
Emmi	Solutions	
	
Anshul	Sharma	is	the	lead	QA	automation	engineer	at	Emmi,	whose	goal	is	to	
educate	patients	about	their	health	through	interactive	multimedia	programs.	
During	her	more	than	nine-year	software	testing	and	development	career,	Anshul	
has	worn	multiple	hats	in	technology	as	a	developer,	business	analyst,	tester,	and	
team	lead.	She	has	worked	with	top	players	in	finance	and	healthcare.	Anshul	is	
passionate	about	technology,	using	code	to	test	code	and	blurring	the	lines	
between	dev	and	QA.
5/31/16	
1	

	
2016	 1	
Lead	Automa2on	Engineer	
	
Linked	in:	h;ps://www.linkedin.com/in/anshulsharmaemmi	
	
Email:	anshul1.sharma@gmail.com	
	
	
About Me…
2016	 2
5/31/16	
2	
•  Introduc2on	to	Selenium	Webdriver		
•  Introduc2on	to	Selenium	Grid	
•  Need	for	Selenium	Grid	
•  Problem	with	running	Selenium	Grid	
•  Benefits	of	moving	to	cloud	plaNorm	from	grid	
•  Introduc2on	to	cloud	plaNorm-	Sauce	Labs	
•  Advantages	of	moving	towards	cloud	plaNorm	
•  Demo	
•  Q	&	A	




Agenda
2016	 3	

What is Selenium Webdriver
•  Selenium	is	a	web	
API	which	drives	
interac2on	with	
browser	
•  Repeatable	tasks	to	
be	automa2c	rather	
than	doing	it	manual	
2016	 4
5/31/16	
3	


 What is Selenium Grid
2016	 5	
2016	 6	
	 	 	Grid Console
5/31/16	
4	


Need for Selenium Grid
•  Selenium	Grid	gives	the	flexibility	to	distribute	your	test	cases	for	
execu2on.	
•  Reduces	batch	processing	2me.	
•  Mul2	browser	and	plaNorm	tes2ng.	
•  Device	tes2ng.	
2016	 7	

Problems with running Selenium Grid 

•  High	Maintenance	
•  Cost	
•  Flakiness	
2016	 8
5/31/16	
5	


Benefits of moving towards cloud
2016	 9	


Cloud plaBorm- Using Sauce Labs
2016	 10
5/31/16	
6	
Running things behind firewall- Sauce Connect


2016	 11	
Moving things on cloud using Sauce Labs
	
private static DesiredCapabilities capability = new DesiredCapabilities();	
		
if (browserName != null)	
	capability.setCapability(CapabilityType.BROWSER_NAME, browserName);	
if (version != null)	
	capability.setCapability(CapabilityType.VERSION, version);	
if (platform != null)	
	capability.setCapability(CapabilityType.PLATFORM, platform);	
if (jobName != null)	
	capability.setCapability("name", jobName);	
	
	
	
	
	
driver = new RemoteWebDriver(new URL(UtilConstants.SAUCE_URL), capability);	
	
h"p://<SAUCE_USERNAME>:<API_ACCESS_KEY>@ondemand.saucelabs.com:80/wd/hub")	
2016	 12
5/31/16	
7	
ImplemenHng Cloud Using Sauce Labs
2016	 13	
Random generated combo of number and
alphabets (32 digit)	anshulsharma	
Ø  Used	to	login	to	your	sauce	labs	
account		
	
Ø Run	tests	against	your	account	
Ø Upload	resources	to	Sauce	Storage	
Ø Downloads	test	results,	videos	and	logs		
Running test on local using Sauce Labs
<?xml version="1.0" encoding="UTF-8"?>	
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">	
<suite name="Suite" parallel="false">	
<test name="Amazon_Search_Test">	
	 	<parameter name="browser" value="Chrome" />	
	 	<parameter name="version" value="36" />	
	 	<parameter name="platform" value="Windows" />	
	 	<parameter name="jobName" value="Amazon Search Test" />	
<classes>	
<class name="testSuite.AmazonTest"/>	
</classes>	
</test> <!-- Test -->	
</suite> <!-- Suite -->	
2016	 14
5/31/16	
8	
Advantages moving towards cloud 

•  Automa2ng	more	vs	managing	more	
•  Less	coding	more	results	
•  Speeding	up	development	
•  Be;er	user	control	and	debugging	
2016	 15	





Contact	me	@:	asharma@emmisolu2ons.com	
	
For	Source	code	reference:		h;ps://wiki.saucelabs.com/	
2016	 16

More Related Content

Similar to Move Your Selenium Testing to the Cloud

Microsoft Word - Santhosh Resume2
Microsoft Word - Santhosh Resume2Microsoft Word - Santhosh Resume2
Microsoft Word - Santhosh Resume2
caadadada vxvxv
 
HMcGee Resume_12-15-16
HMcGee Resume_12-15-16HMcGee Resume_12-15-16
HMcGee Resume_12-15-16
Hal McGee
 

Similar to Move Your Selenium Testing to the Cloud (20)

Don’t Make These Scrum Mistakes
Don’t Make These Scrum MistakesDon’t Make These Scrum Mistakes
Don’t Make These Scrum Mistakes
 
The Journey to Continuous Testing
The Journey to Continuous TestingThe Journey to Continuous Testing
The Journey to Continuous Testing
 
Ahmer khan graphics summary
Ahmer khan graphics summaryAhmer khan graphics summary
Ahmer khan graphics summary
 
What Everyone on the Team Needs to Know about Test Automation
What Everyone on the Team Needs to Know about Test AutomationWhat Everyone on the Team Needs to Know about Test Automation
What Everyone on the Team Needs to Know about Test Automation
 
ABHISHEK SHARMA Resume
ABHISHEK SHARMA ResumeABHISHEK SHARMA Resume
ABHISHEK SHARMA Resume
 
How to Build a Fully Open Source Test Automation Framework
How to Build a Fully Open Source Test Automation FrameworkHow to Build a Fully Open Source Test Automation Framework
How to Build a Fully Open Source Test Automation Framework
 
Automation Anti-Patterns: Deal with Them
Automation Anti-Patterns: Deal with ThemAutomation Anti-Patterns: Deal with Them
Automation Anti-Patterns: Deal with Them
 
Things That Go Bump: Product Risk Assessment in Agile
Things That Go Bump: Product Risk Assessment in AgileThings That Go Bump: Product Risk Assessment in Agile
Things That Go Bump: Product Risk Assessment in Agile
 
Design for Reliability (DfR) Seminar
Design for Reliability (DfR) SeminarDesign for Reliability (DfR) Seminar
Design for Reliability (DfR) Seminar
 
Detection Theory Applied to Finding and Fixing Defects
Detection Theory Applied to Finding and Fixing DefectsDetection Theory Applied to Finding and Fixing Defects
Detection Theory Applied to Finding and Fixing Defects
 
PADMA PRIYA
PADMA PRIYAPADMA PRIYA
PADMA PRIYA
 
Defining the Optimal Level of Test Automation
Defining the Optimal Level of Test AutomationDefining the Optimal Level of Test Automation
Defining the Optimal Level of Test Automation
 
Test Cases Are Dead, Long Live Checklists
Test Cases Are Dead, Long Live ChecklistsTest Cases Are Dead, Long Live Checklists
Test Cases Are Dead, Long Live Checklists
 
Testing in a Super-Agile Software Development Environment
Testing in a Super-Agile Software Development EnvironmentTesting in a Super-Agile Software Development Environment
Testing in a Super-Agile Software Development Environment
 
Microsoft Word - Santhosh Resume2
Microsoft Word - Santhosh Resume2Microsoft Word - Santhosh Resume2
Microsoft Word - Santhosh Resume2
 
Fostering Long-Term Test Automation Success
Fostering Long-Term Test Automation SuccessFostering Long-Term Test Automation Success
Fostering Long-Term Test Automation Success
 
Which Agile Scaling Framework Is Best?
Which Agile Scaling Framework Is Best?Which Agile Scaling Framework Is Best?
Which Agile Scaling Framework Is Best?
 
Making Your Test Automation Transparent
Making Your Test Automation TransparentMaking Your Test Automation Transparent
Making Your Test Automation Transparent
 
Kusuma K S
Kusuma K SKusuma K S
Kusuma K S
 
HMcGee Resume_12-15-16
HMcGee Resume_12-15-16HMcGee Resume_12-15-16
HMcGee Resume_12-15-16
 

More from TechWell

More from TechWell (20)

Failing and Recovering
Failing and RecoveringFailing and Recovering
Failing and Recovering
 
Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization
 
Test Design for Fully Automated Build Architecture
Test Design for Fully Automated Build ArchitectureTest Design for Fully Automated Build Architecture
Test Design for Fully Automated Build Architecture
 
System-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good StartSystem-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good Start
 
Build Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test StrategyBuild Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test Strategy
 
Testing Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for SuccessTesting Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for Success
 
Implement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlowImplement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlow
 
Develop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your SanityDevelop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your Sanity
 
Ma 15
Ma 15Ma 15
Ma 15
 
Eliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps StrategyEliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps Strategy
 
Transform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOpsTransform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOps
 
The Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—LeadershipThe Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—Leadership
 
Resolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile TeamsResolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile Teams
 
Pin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile GamePin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile Game
 
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile TeamsAgile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
 
A Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps ImplementationA Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps Implementation
 
Databases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery ProcessDatabases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery Process
 
Mobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to AutomateMobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to Automate
 
Cultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for SuccessCultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for Success
 
Turn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile TransformationTurn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile Transformation
 

Recently uploaded

Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...
Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...
Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
masabamasaba
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 

Recently uploaded (20)

VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...
Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...
Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 

Move Your Selenium Testing to the Cloud