Forum Discussion
shankar_r
9 years agoCommunity Hero
if(yourObject.WaitProperty(PropName,ExpectedValue,Timeout))
{
Log.Message("Object found");
}
else
{
Log.Error("Object not found waited for" + Timeout)
}
Reference:
https://support.smartbear.com/testcomplete/docs/app-objects/common-tasks/waiting-property-value.html
tristaanogre
9 years agoEsteemed Contributor
WaitProperty can also be called within a keyword test.... as noted, it's just a matter of designtating the property name and desired value with a max wait timeout.