web automation testing using selenium
Post on 29-Nov-2014
12.139 Views
Preview:
DESCRIPTION
TRANSCRIPT
DiscoverWeb Automation Testing
Using Selenium
manual testing istime consuming
Reading
Clicking
Typing
Creating test data
Remembering test data
enter Automation
speed
repeatability
Why Selenium?widely used
free and open sourcedrives a real browser
multiplatformsupports most modern browsers
can be used with different programming languages
What can it do?
locate elements id attribute
name attribute
link text
XPath
DOM
CSS selectors
act on located elements
open click type
select
return info current URL
text of elements
attributes of elements
values of form fields
presence of text
presence of an element
be used with many programming languages
iterations
conditional statements
data driven tests
database connections
test frameworks
reports
manual testing istime consuming
but not useless
UI defects
usability issues
verification of failed tests
writing test cases and automated test scripts
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
top related