Forum Discussion

mrouse's avatar
mrouse
Contributor
13 years ago

Property checkpoints in web testing

Quick question, can I use Property checkpoints to check the contents of a textbox.  when I try this I get an error.  the checkpoint is showing that it is checking the strid property for " ".  I expected it to check the contentText or InnerText property.  Any ideas???



Thanks,



Mike 

1 Reply

  • Hi Micheal,



    As it's a web textbox (in TestComplete its type is INPUT) you should try checking the "Text" or the "value" properties (value property is the best in that case), as textboxes do not have "contentText" or "innerText" properties.



    In other kind of textboxes, like in desktop applications, the common property to check its text is wText.



    Hope it helped