Forum Discussion
The error is rather non-specific. So, without more knowledge of what the code being executed consists of, could be hard to debug. Is it possible for you to share what code is being executed by that test item? It sounds like there is some sort of exception that is occurring in attempting to execute that code initially and, because it's in a Test Item, there might not be exception handling around it.
Hi Robert,
It will be difficult to share the code and this is why it is the issue as well.
That 'Execute Test' test item is the main script which calls functions from another 10 test items.
Any other options?
- tristaanogre6 years agoEsteemed Contributor
Not really... an exception occurred... without knowing the code, there's no real way of letting you know what to look out with any level of accuracy.
So... things to watch for as non-specific items:
1) Check parameters and make sure that anything that is a "required" parmetre for a function/method actually has proper values
2) Variable names/method names -> If there were any recent edits, make sure that anything renamed has been properly renamed globally
3) Try wrapping your entire method being called by "Execute Tests" in appropriate try/catch/finally logic to trap the EXACT exception and write it out to the log. This might give you insight as to what specific items to look at.
- Marsha_R6 years agoChampion Level 3
You can also put some breakpoints in and maybe Watch some variables as well. Use Debug to step through the code to get a more specific idea of where things are failing.
Related Content
Recent Discussions
- 2 days agovladd1