Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Web Element Inspector for Internet Explorer: The Qualitia Automation Studios (QAS) WebElement Inspector is a plugin for Internet Explorer (IE) that's integrated at the bottom of the IE browser window. It permits you to add web elements to your repository for the creation of test cases or tasks. If the document structure changes, you can adjust the web elements, while concurrently validating modifications to these elements.

The WebElement Inspector supports allows you to create, read, update, and delete (CRUD) operations for managing web elements. An automation tool is expected to mimic the manual user actions necessary for testing a case. For the mimicry to be preciseThat is, the automation tool needs to interact with web elements. Therefore, web elements serve as , which are the initial entry points in functional test automation.

This section explains the concept of a web element, the types of web elements used in web-based applications, how to correctly identify web elements, and various circumstances where web element identification can be difficult.

Web Elements and Their their Properties

Web elements are crucial for understanding Test Automation. They are the controls or components used in the application. For instance, 'Password' “Password” is an element referred to as 'Label'“Label.The input box underneath 'Password' “Password” is another element known as 'TextBox' or 'WebInput'. “TextBox” or “WebInput.” Similarly, you'll see other elements like 'radio button' and 'button' “radio button” and “button” (Log in).

Each type of web element has a distinct function and is classified into various categories based on this function.

The following are some commonly used web elements:

Web Elements Properties Generally, a : A property is a characteristic or attribute. For example, size is a property of your laptop. In the application being tested, a property is a mutable characteristic of a component that can be assigned different values.

...

  1. Name

  2. ID

  3. Class

Consider this example: 'Log in' “Log in” is a web element of type button and it has the following properties with their respective values:

  • Name: Log in

  • Color: Green

Choosing the Right Properties: A web element may have multiple properties. Identifying a unique set of properties and their corresponding values is crucial for your test automation tool to recognize a specific web element uniquely each time during test automation.

...