Forum Discussion
wet
8 years agoNew Contributor
We have a similar problem now in TC12.
For example something like this
while Aliases.xxx.dlgxxx_AfxMessage.WaitProperty("Exists",true,400) = false
call Aliases.xxx.dlgDatabaseOverview.btnZoomIn.ClickButton
wend
causes warnings in log "An object recognition hint. See Additional Information for details." with the suggestion to use another open window.
This fails now our tests. In TC11 it worked fine.
- Bobik8 years agoFrequent Contributor
Bad Aliases use:
while ( Aliases.xxx.dlgxxx_AfxMessage.WaitProperty("Exists",true,400) = false)
call Aliases.xxx.dlgDatabaseOverview.btnZoomIn.ClickButton
wendbetter way:
while ( !Aliases.xxx.WaitAliasChild("dlgxxx_AfxMessage",400).Exists)
call Aliases.xxx.dlgDatabaseOverview.btnZoomIn.ClickButton
wendSame isue like here
- wet8 years agoNew Contributor
Thanks! That solves my problem in this case.