Selenium&SauceLabs
Agenda - The problem to be solved - Automated solution: Selenium - Overview of Selenium Selenium IDE Remote Control (RC) Grid
- Sauce Labs – What's all the fuzz about? Sauce OnDemand
- Example
Sauce OnDemand
- Q&A
The problem to be solved (1)
The problem to be solved (2)
Automated Solution:
Selenium
Robotically controls a browser to perform user actions and asses results Developers can test dierent browsers on one scripting platform (huge benefit!!!) Easy to integrate - more or less
Selenium IDE
Selenium Commands open
http://issuu.com
clickAndWait
link=Login
type
id=username
sorintest
type
id=password
sorintest
click
css=span.system-blue-shade-fat-btn-text
clickAndWait
link=Logout
Selenium Remote Control
Example Selenium RC Test - Java
Selenium Grid
What’s all the fuzz about? It hosts Selenium in the cloud No need for local maintenance Available at any time Sauce IDE Sauce RC
Added value:
Sauce OnDemand – an improved Selenium Grid in the cloud
Sauce onDemand (1) Quickly runs tests in the cloud or behind the firewall Records and playbacks test video to identify failures and and see how the app/website looks in dierent browsers Run test in parallel: time saver
Sauce onDemand (2) It integrates with CI systems as Jenkins Supports a high number of browsers and OS combinations Accelerates the Q&A process and the release time
an m e D n o Sauce
d
Customer Application Under Test
SE
CU R
E
TU
NN E
L
FIREWALL
Continuous Integration Server
nect n o C uce
Sa
Application Under Test
Example:
Sauce OnDemand Dashboard
Detailed Test View
thank you questions