Finding Objects on Web Pages

Applies to TestComplete 12.60, last modified on September 17, 2018

TestComplete recognizes individual web objects on the tested web pages and provides a number of search methods you can use to search for certain web objects. The topics of this section describe how you can find web objects using certain criteria and also give some recommendations that will help you choose the method that fits your testing needs best.

In This Section

About Finding Objects on Web Pages

Contains a description and comparison of available search methods.

Finding Web Objects Using Common Find Methods

Describes how to search for web objects using common Find methods.

Finding Web Objects Using Specific Find Method

Describes how to search for web objects using the specific Find method of the Page object.

Finding Web Objects Using XPath Expressions

Describes how you can search for web page elements by using XPath expressions.

Finding Web Objects Using CSS Selectors

Describes how you can search for web page elements using Cascading Style Sheets (CSS) selectors.

Related Topics of Interest

Checking if a Page Contains Specific Text

Describes how to check if the page displays certain text.

Searching for the Element Containing the Desired Text

Describes how you can find the web page element that contains the desired text.

Finding an Image on a Web Page

Describes how to check if a page contains a specific image, find the image and simulate user actions over the image.

See Also

Testing Web Applications
Common Tasks for Web Testing

Highlight search results