Forum Discussion
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).
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.
- tristaanogre8 years agoEsteemed Contributor
Considering that, based upon a previous thread, this is the first time, really, you're running theses tests on the VM as scheduled tasks, I'm not entirely sure that we can point to the version of TestExecute/TestComplete.
As noted above, you're going to have to spend some time debugging your tests to find out where the hang point is. You might need to sit and watch it run to see if you can figure out where it's happening and then do some examination of your tests to see what's going on. Again, the my main suspect in this is some inability to find an object that is resulting in a long wait time in object recognition.
Is there any way you can run your tests in segments? You know.. enable tests 1-3 and run it. If it runs, add tests 4-6 to the run, and so on, until you get it to hang. That should then target where the problem is and you can work on debugging.
Question: Is this a web application you're testing or a desktop application? If it's a web application and you notice TestExecute is hanging, have you checked to see, via Windows Task Manager, if there is an instance of your web browser present in memory that is, itself, somehow hung? If so, try killing that first before you kill TestExecute and then wait a bit and see if TestExecute exits on its own. If it does, it should write out a log and you should then be able to see where the fail point is.- sriguda8 years agoFrequent Contributor
Why is it looking for Firefox which it didn't before. I always run in IE, so i don't need it to check in firefox. How can remove this Enivonment Manager element form project suite.
I have onlyon test running every half an hour.
- tristaanogre8 years agoEsteemed Contributor
sriguda wrote:
Why is it looking for Firefox which it didn't before. I always run in IE, so i don't need it to check in firefox. How can remove this Enivonment Manager element form project suite.
I have onlyon test running every half an hour.
You haven't shown us the URL or screenshot to show us what's going on with editing name mapping. Please do so in order for us to better help you.
Since you're only running one test every half an hour, should be easy to sit and watch.
- tristaanogre8 years agoEsteemed Contributor
sriguda wrote:
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.
Please post the URL. We didn't get that.
As for removing extended find, doing so will require you to do some major remapping of your components. I would not do so at this time. Extended find is a good thing but you may need to do some adjustments by adding additional layers in the tree of components to reduce the search time.
As for removing the Environment Manager, you should be able to just right click on the object in the project suite and select "Delete".- sriguda8 years agoFrequent Contributor
I don't see a delete option for Environment Manager object when i right click on it. Please see attached.
- tristaanogre8 years agoEsteemed Contributor
OK, the node will always be there and you can't remove it from the project suite. However, there is data that goes along with that node. If you double click on the node, there should be some sort of environment folder present. You can delete that to get rid of that configuration data.
However, none of this has any impact on NameMapping. I tried editing a name mapped component and I'm not getting anything about FireFox or anything there. Again, could you upload a screenshot to show what problem you're getting in editing name mapping?