Assert Groups

Group assertion is similar to the above element assertion. The only difference is you will be doing assertion on a group. All the Product element under the given group will be asserted in a single go. By setting recursive, Qatts will find all the product elements under the group by continuously looping through subgroups.

Syntax

  1. boolean assertGroup(String groupName,String elementType)

  2. boolean assertGroup(String groupName, String elementType, boolean recursive)

Name

Type

Description

groupName

String

Name of the group

elementType

String

Type of the UI element. [input, view, error]

recursive

boolean

TRUE or FALSE

Last updated