Interview Questions

Explain Get Text checkpoint web text checkpoint with syntax?

Mercury WinRunner FAQ


(Continued from previous question...)

Explain Get Text checkpoint web text checkpoint with syntax?

Returns a text string from an object. web_obj_get_text (object, table_row, table_column, out_text [, text_before, text_after, index]);
i. object The logical name of the object.
ii. table_row If the object is a table, it specifies the location of the row within a table. The string is preceded by the # character.
iii. table_column If the object is a table, it specifies the location of the column within a table. The string is preceded by the # character.
iv. out_text The output variable that stores the text string.
v. text_before Defines the start of the search area for a particular text string.
vi. text_after Defines the end of the search area for a particular text string.
vii. index The occurrence number to locate. (The default parameter number is numbered 1)

(Continued on next question...)

Other Interview Questions