Can any one explain me how the TextCheck using TTextCheck Object in TestPartner Language works? I got some info from HELP, but still I am confused about the Expected Text that the comparison is done with.

Where are we providing the "Expected text" while creating a Text-Check dynamically (Not loaded from DB)?

Please send me a piece of code that checks the expected text with the text in a EditBox.