Forum Discussion
I've had this happen pretty recently in my own projects. Usually, it comes down to a couple of things:
1) My NameMapping is insufficiently detailed to find an object, especially if I'm using the Extended Find feature. If I don't have enough parent objects in my tree, it takes a long time to find the specific object I want and TestComplete pretty much times out
2) If I'm in the middle of a Page.Wait call and I attempt to stop or halt the test, I get the same hang. But, again, this usually ends up happening because something else hung first.
Since you know that the problem is that an object is not found that is expected, that's your resolution.
For assistance, please post screenshots of your logs showing the errors around the unexpected object and the additional information panel for each error. Specifically, look out for warnings about "ambiguous recognition" or "object took too long" or things like that.
- sriguda8 years agoFrequent Contributor
ok, but the problem is as I am ending the Test Execute task everytime, it doesn't post any log too.
- Marsha_R8 years agoModerator
Not having a log is to be expected in that case. If TestExecute doesn't finish on its own, then you probably won't get a log.
- AlexKaras8 years agoChampion Level 3
Hi,
> it doesn't post any log too
a) Have you included /SilentMode parameter into command line to prevent TestExecute from displaying error dialogs?
b) Try to check if the silent.log file exists and if it contains something relevant: https://support.smartbear.com/testcomplete/docs/working-with/automating/command-line-and-exit-codes/command-line.html (/SilentMode paragraph).
- sriguda8 years agoFrequent Contributor
I looked at and i didn't see silent.log file anywhere in the project folder.
I will still look into to see any clues but this Isssue didn't happen in Text Execute or TestComplete verson 10 at all.
The scripts are suppose to run every 1/2 hour . Looks like it hanged today at 6:00 am and the scripts didn't execute since then.
This needs to be fixed.
1.Should I remove extended find at all levels of name mapping?
2. Also when ever I try to edit name mapping of an action , now it asks to open the following url in Browser (Firefox) which I didn't see before. Is this b'se I added Environment Manager in Project Suite.
Is this delaying in finding things? I don't see an option to delete this element.
Please suggest.
Related Content
Recent Discussions
- 5 days ago
- 5 days ago