selenium introduction for pycon india 2015

10
Selenium Introduction PyCon Selenium Workshop 07/19/22 1

Upload: mayur-shah

Post on 12-Aug-2015

176 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: selenium introduction for PyCon India 2015

Selenium Introduction

PyCon Selenium Workshop

04/15/231

Page 2: selenium introduction for PyCon India 2015

In software testing, test automation is the use of special software to control the execution of test and the comparison of actual outcomes to predicted outcomes.

What is test automation?

04/15/232

Page 3: selenium introduction for PyCon India 2015

Selenium automates browsers. That's it! What you do with that power is entirely up to you.

Selenium has the support of some of the largest browser vendors who have taken (or are taking) steps to make Selenium a native part of their browser. It is also the core technology in countless other browser automation tools, APIs and frameworks.

What is Selenium?

04/15/233

Page 4: selenium introduction for PyCon India 2015

Selenium makes cross browser testing easyIt saves 98% of human effortsIt saves 60% on budget spent on testingIt saves 95% of time spent on only testingIt makes build release faster

Why selenium?

04/15/234

Page 5: selenium introduction for PyCon India 2015

Selenium IDESelenium RCSelenium WebDriver / Selenium 2 Selenium Grid

Components of selenium

04/15/235

Page 6: selenium introduction for PyCon India 2015

WebDriver is designed in a simpler and more concise programming interface along with addressing some limitations in the Selenium-RC API.

WebDriver is a compact Object Oriented API when compared to Selenium1.0

It drives the browser much more effectively and overcomes the limitations of Selenium 1.x which affected our functional test coverage, like the file upload or download, pop-ups and dialogs barrier

Selenium WebDriver

04/15/236

Page 7: selenium introduction for PyCon India 2015

pip install selenium

Installation

04/15/237

Page 8: selenium introduction for PyCon India 2015

Example code

04/15/238

Page 9: selenium introduction for PyCon India 2015

Ask us testing questions @:

[email protected]

Questions?

04/15/239

Page 10: selenium introduction for PyCon India 2015

Thank you.

Thank you

04/15/2310