Forum Discussion
wet
10 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
wendcauses 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.
Bobik
10 years agoFrequent Contributor
Bad Aliases use:
while ( Aliases.xxx.dlgxxx_AfxMessage.WaitProperty("Exists",true,400) = false)
call Aliases.xxx.dlgDatabaseOverview.btnZoomIn.ClickButton
wend
better way:
while ( !Aliases.xxx.WaitAliasChild("dlgxxx_AfxMessage",400).Exists)
call Aliases.xxx.dlgDatabaseOverview.btnZoomIn.ClickButton
wend
Same isue like here
- wet10 years agoNew Contributor
Thanks! That solves my problem in this case.