Utilities.SameText Method

Applies to TestComplete 12.60, last modified on September 17, 2018
This method is obsolete. See the Remarks section below.

Description

The Utilities.SameText method compares two strings specified by the Str1 and Str2 parameters and returns True if they are equal. The comparison is case-insensitive and it is not affected by the current locale.

Declaration

Utilities.SameText(Str1Str2)

Str1 [in]    Required    String    
Str2 [in]    Required    String    
Result Boolean

Applies To

The method is applied to the following object:

Parameters

The method has the following parameters:

Str1 and Str2

Specify the strings to be compared.

Result Value

The method returns True if the specified strings are equal. Otherwise, it returns False.

Remarks

This method is obsolete. It is supported for backward compatibility only. To compare two strings, use the aqString.Compare method.

See Also

Working With Strings
aqString.Compare Method

Highlight search results