What color is an element bordered with when the Find button is clicked in Selenium IDE?
Red.
Green.
Amber.
Yellow.
If you wanted to use JavaScript to find an element on the page, which strategy would you use to find it?
ID.
Name.
DOM.
CSS Selector.
XPath.
Pick two from the following to perform a partial match on an attribute on an element from the beginning of the value:
contains()
.starts-with()
.ends-with()
.
What is the most common way to find an element on a page?
ID.
XPath.
CSS Selector.
Name.
If you wanted to find the sibling input that is after an input in the DOM, what will the XPath look like?
What will the CSS look like for the previous question?
Learning Selenium Testing Tools - Third Edition
Learning Selenium Testing Tools - Third Edition
Overview of this book
Table of Contents (22 chapters)
Learning Selenium Testing Tools Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Getting Started with Selenium IDE
Locators
Overview of the Selenium WebDriver
Finding Elements
Design Patterns
Working with WebDriver
Automation Framework Development and Building Utilities
Mobile Devices
Getting Started with the Selenium Grid
Advanced User Interactions
Working with HTML5
Advanced Topics
Migrating from Remote Control to WebDriver
Automation Prerequisites for Selenium Automation
Answers for Self-test Questions
Index
Customer Reviews