Stoplight
Admin
2 years agoReceiving error when attempting to connect my stoplight account to git
Originally posted by user aplii to the Stoplight Community on 11/07/2023 at 10:18 ET.
I'm currently unable to connect my github account to stoplight. On attempting to connect the account i get the ...
- 8 years ago
When I first started using TestComplete back in 2001-2002, the behavior was as it is now... a "Wait" method needed to be used for object detection because, otherwise, it would return the runtime error you described. Understandably, that may have changed, but logically, it makes sense as mentioned above:
1) Can't check the "Exists" property of something that is NULL
2) The method is being executed to look for an object that doesn't exist so returns the runtime error.
Now, potentially, SmartBear could correct #2 above. I think I remember a discussion something to that end in the past but I don't recall the result. In any case, as mentioned, it's always a best practice to "Wait" if you're going to check existence... cleaner code all around.