Selenium for QA Testers and Developers
Course: SELNM
Duration: 3 Days
Level: I
On our website at:
http://www.verhoef-training.com/courses/SELNM.html
Course Summary
This course teaches testing professionals how to use Selenium to test web applications. Using the latest versions of Selenium IDE and Server, Testers will create, run, enhance, and maintain scripts. Practical application of Selenium to resolve common web automated testing challenges and problem resolution are discussed throughout the class. Best practices and design considerations are also addressed.
Topics Covered In This Course
Getting Started with Selenium IDE
- Important preliminary points
- What is Selenium IDE
- Installing Selenium IDE
- Recording a first test with Selenium IDE
- Updating a test to assert items are on the page
- Updating a test to verify items on the page
- Adding Selenium IDE comments
- Multiple windows
- Storing elements from the page
- Debugging tests
- Creating test suites
- Saving tests
- What cannot be recorded
Locators
- Important preliminary points
- Locating elements by ID
- Finding IDs of elements on the page with Firebug
- Moving elements on the page
- Finding elements by name
- Adding filters to the name
Pattern Matching
- Verifying exact text
- Using globs in tests
- Using regular expressions
Using JavaScript
- Using JavaScript as the test language
- Enter text into a field
- Using multiple statements in JavaScript
- Storing the result of JavaScript in a variable
- Using Selenium variables with JavaScript
- JavaScript within a verify or assert
- Accessing the browser with JavaScript
- Firing events
Advanced Selenium Techniques
- Getting a cookie off the page
- Adding a new location strategy
- Capturing network traffic
- Capturing screenshots
Using WebDriver
- The Selenium Server - When to Use It
- Setting Up a Selenium -WebDriver Project
- Getting Started With Selenium -WebDriver
- Introducing WebDriver?s Drivers
- Commands and Operation
- Driver Specifics and Tradeoffs
- WebDriver-Backed Selenium-RC
Test Design Considerations
- Introducing Test Design
- Types of Tests
- Validating Results
- Location Strategies
- Wrapping Selenium Calls
- UI Mapping
- Page Object Design Pattern
- Data Driven Testing
- Database Validation
- Design Patterns for Reuse
- Data Driven Format
What You Can Expect
At the end of this course, students will be able to:
- Describe the function and purpose of Selenium
- Record automated scripts
- Play back automated scripts
- View and analyze results
- Modify scripts to extend the capability to test the application
- Configure Selenium Remote Control
- Configure Custom Log Files
- Explain key concepts related to Java technology and Java programming
- Use decision constructs and loops
- Create Java classes
- Develop and use methods
- Create and use single and multi-dimensional arrays
- Dynamically capture data from web controls
- Design a data-driven testing framework in Selenium
- Create distributed user testing to perform multi-user tests
- Use best practices and patterns to be productive using Selenium.
Who Should Take This Course
This course is designed for QA Testing professionals and Programmers who will be using Selenium.
Recommended Prerequisites
Web usage and some exposure to Java.
Training Style
Instructor led with 50% lecture and 50% lab.
Related Courses
Code |
Course Title |
Duration |
Level |
|
WST1 |
Web Software Testing |
3 Days |
I |
Details |
WSPT |
Web Software and Performance Testing |
3 Days |
I |
Details |
WATEST |
Mastering Web Testing |
3 Days |
I |
Details |
Every student attending a Verhoef Training class will receive
a certificate good for $100 toward their next public class taken
within a year.
You can also buy "Verhoef Vouchers" to get a discounted rate for a
single student in any of our public or web-based classes.
Contact your account manager or our sales office for details.