%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
Getting Started With Selenium
1. Getting Started With Selenium
In The Cloud
With Chase Cook, Technical Success Engineer
2. Housekeeping
• This webinar will be recorded
• Please add any questions into the Question Box. We will have a 10
minute FAQ at the end of the session.
• For more webinars and other testing resources, please visit
https://crossbrowsertesting.com/resources.
3. Join Us At SmartBear Connect
• 2 Days of hands
on instructions
and testing
education!
• Industry Leading
speakers like
Tony Tam &
4. Today’s Agenda
• Why Automate Your Testing?
• Why Use Selenium
• Running Our First Test
• Running On CrossBrowserTesting’s Cloud
8. Increase Test Coverage
Operating Systems
Devices
Browsers
Breaks 1366 X 768 | 1920 X 1080 | 1600 X 900 | 1280 X 1024 | 1440 X 900
9. Reuse The Same Script
• Stop manually doing
repetitive tasks
• Run the same exact test
every time
• Run the same test on
different devices
Week 1 Week 2 Week 3
Script A
Script A
Script A
Script A
Script A
Script A
Script A
Script A
Script A
11. 1
2 Benefits Of Selenium
What Is Selenium?
3
Real World Use Cases4
Selenium Best Practices
12. What Is Selenium?
Your Website
Selenium WebDriver
• Selenium is an open-source suite of
tools used for simulating user
interactions with your website.
• Selenium WebDriver allows you to
write test scripts with your favorite
language that interact directly with
browser.
Selenium Frameworks
13. Benefits of Selenium
• Save tens of thousands of dollars in expensive, legacy testing tools.Free & Open Source
Support Multiple Languages
Support Multiple Browsers
• Run the same test on different browsers at one time or run different
tests concurrently cutting down testing time.Parallel Testing
• Engage and learn alongside a vibrant community that is continually
pushing the boundaries of Selenium.Active Community
14. Best Practices
Use Robust
Locators
• Class
• ID
• Link Text
• Tag Name
• XPath
Use The Page
Object Model
• Separate test code
and actual UI code
• Single source of
services and
variables
Avoid Sleep and
Explicit Waits
• Use Implicit waits
to build resilient
end-to-end tests
15. An Example Test Case
Title: Logging into CrossBrowserTesting
Description: A registered user should be able
to login successfully into our application.
Conditions/State: A user is “Subscribed”
Visit
CrossBrowserTesting.com
Enter Email into "email"
field
Enter a password into the
"password" field
Click log in
Expected
Result:
A user will land on
the “Live Testing”
page.
The challenges of web testing and how the CBT team approaches our own testing.
The challenges of web testing and how the CBT team approaches our own testing.
Constant Deployment
Why do we do cross browser testing?
- No longer a question of if it works, but if it works on Windows 7 running Chrome 46, or X browser on X device.
We want the confidence it brings knowing our application works for every customer
Necessary for responsive testing.