Solve your Selenium WebDriver problems with this quick guide to automated testing of web applications with Selenium WebDriver in C#. Selenium WebDriver Recipes in C#, Second Edition contains hundreds of solutions to real-world problems, with clear explanations and ready-to-run Selenium test scripts that you can use in your own projects.
You'll learn:
- How to locate web elements and test functions for hyperlinks, buttons, TextFields and TextAreas, radio buttons, CheckBoxes, and more
- How to use Selenium WebDriver for select lists, navigation, assertions, frames, file upload and pop-up dialogs
- How to debug test scripts and test data
- How to manage and deal with browser profiles and capabilities<
- How to manage tests for advanced user interactions and experiences (UX)
- How to work with and manage tests and testing using Selenium Remote Control and Selenium Server
AudienceThis book is for experienced .NET and C# Windows application programmers/developers.
Author(s): Zhimin Zhan (auth.)
Edition: 2
Publisher: Apress
Year: 2015
Language: English
Pages: XXIV, 164
Tags: Programming Techniques;Programming Languages, Compilers, Interpreters;Quality Control, Reliability, Safety and Risk;Software Engineering
Front Matter....Pages i-xxiv
Introduction....Pages 1-20
Locating Web Elements....Pages 21-26
Hyperlink....Pages 27-30
Button....Pages 31-34
TextField and TextArea....Pages 35-38
Radio Button....Pages 39-44
Check Box....Pages 45-48
Select List....Pages 49-52
Navigation and Browser....Pages 53-56
Assertion....Pages 57-62
Frames....Pages 63-66
AJAX....Pages 67-70
Pop-up....Pages 71-78
Debugging Test Scripts....Pages 79-82
Test Data....Pages 83-88
Browser Profile....Pages 89-96
Advanced User Interactions....Pages 97-102
HTML5 and JavaScript....Pages 103-116
WYSIWYG Editor....Pages 117-120
Leverage Programming....Pages 121-134
Optimization....Pages 135-142
Gotchas....Pages 143-148
Remote Control Server....Pages 149-154
Afterword....Pages 155-158
Resources....Pages 159-160
Back Matter....Pages 161-164