Transcript
Page 1: Web Automation Testing Using Selenium

DiscoverWeb Automation Testing

Using Selenium

Page 2: Web Automation Testing Using Selenium

manual testing istime consuming

Reading

Clicking

Typing

Creating test data

Remembering test data

Page 3: Web Automation Testing Using Selenium

enter Automation

speed

repeatability

Page 4: Web Automation Testing Using Selenium

Why Selenium?widely used

free and open sourcedrives a real browser

multiplatformsupports most modern browsers

can be used with different programming languages

Page 5: Web Automation Testing Using Selenium

What can it do?

Page 6: Web Automation Testing Using Selenium

locate elements id attribute

name attribute

link text

XPath

DOM

CSS selectors

Page 7: Web Automation Testing Using Selenium

act on located elements

open click type

select

Page 8: Web Automation Testing Using Selenium

return info current URL

text of elements

attributes of elements

values of form fields

presence of text

presence of an element

Page 9: Web Automation Testing Using Selenium

be used with many programming languages

iterations

conditional statements

data driven tests

database connections

test frameworks

reports

Page 10: Web Automation Testing Using Selenium

manual testing istime consuming

but not useless

UI defects

usability issues

verification of failed tests

writing test cases and automated test scripts

Page 11: Web Automation Testing Using Selenium

When to automate?automate unless:

UI is still considerably

changing

short-term project

tight deadline

automate if:

long-term efficiency

frequent regression testing

rapid feedback during development

disciplined test case documentation

continuously increasing test coverage

Page 12: Web Automation Testing Using Selenium

www.maestrodev.com

www.seleniumhq.org


Top Related