"VERIFY_TEXT" Command

Description: This command verifies the existence or non-existence of a text on screen identified by Value. It also allows checking through frames, popups or any text element inside a DOM or a web page of a combination of DOM and web page. If the element is in a frame, the frame must be added either to a web locator or using Inline Frame.

Usage Scenario: Suppose we want to verify that the text “Friend Request was Sent” appears on screen after clicking on the “Send Friend Request” button on Reference app.

Procedure: Define your step and set the Value as “Friend Request was Sent” with the Existence Type set as “Web page/DOM”. Your step will look like this:

image-20240527-153648.png

See the Test Library path: subject7_samples/subject7_intermediate_suite/subject7_add_friend

Related pages