Test if Text Field is Empty
Hi,
We are trying to perform actions on a text field based on its content, particularly if it is empty.
At this point we have tried Checkpoints and Compare Properties with various options configured, and even if/then statements but none of these accept the parameter Field.wText equals "".
We have also tried using "undefined" and "null" and the simple quotes.
We are running out of ideas at this point as TestComplete simply states that whatever we put in is not an acceptable value.
Details about the field tested:
WndClass: WindowsForms10.RichEdit20W.app.0.ab933b_r6_ad1
ClrClassName: AYTRichTextBox
ClrFullClassName: Keyoti.RapidSpell.AYTRichTextBox
Same issue occurs on another text field with the following details:
WndClass: WindowsForms10.STATIC.app.0.ab933b_r6_ad1
ClrFullClassName: System.Windows.Forms.Label
Important information we are not using Script, only Keyword Tests.
Anyone has any idea how to verify that the text field has nothing in it?
Thanks,
Auriane