PwTextBox Methods

Enter

Clicks in the textbox (using hotspot of locationImage), selects all and types the pw. The interaction is verified by counting the number of characters based on pwCharImage that were entered. If the number doesn't match the pw, retries are done as configured.

Syntax:

public override void Enter(
	string pw
)

Parameters:

Exceptions:

GetText

Counts the amount of pw characters in the text box and returns a string with * characters of this length.

Syntax:

public override string GetText()

Return Value:

A string with * characters of the same length as the pw in the TextBox.

Exceptions:

VerifyText

Overload List

VerifyText(String, String)

Verifies if the password was entered correctly by counting the number of characters based on pwCharImage that were entered. If not, provides a string with as many * characters as were found in the textbox.

Syntax:

public override bool VerifyText(
	string expectedText,
	out string actualText
)

Parameters:

Return Value:

True, if the correct number of characters could be found in the text box, false otherwise.

Exceptions:

VerifyText(String)

Verifies if the password was entered correctly by counting the number of characters based on pwCharImage that were entered.

Syntax:

public override bool VerifyText(
	string expectedText
)

Parameters:

Return Value:

True, if the correct number of characters could be found in the text box, false otherwise.

Exceptions:

Last updated