sameerjade
7 years agoFrequent Contributor
"Object does not exist" without the error with WaitQtObject
Hello,
I am trying to check if a Qt Object exists and give a warning if not found. I do not want an error in my test report if object is not found. I am using the WaitQtObject. However I am not able to avoid the "object does not exist" error using a timeout value.
I know that this works with WaitWindow method but does not seem to work for WaitQtObject method.
var checkBox = Aliases.MyApplicationName.Settings.WaitQtObject("abc", 2000);
I get the error:
The object "QtObject("abc")" does not exist.
Any suggestions are appreciated. Thank you!
I found some threads on similar topics but they are not Qt related: