Forum Discussion
SmartBear_Suppo
Alumni
14 years agoHi!
Well, this is by design as you shouldn't be able to open TestSuites on a closed project.
However, the method should probably throw an explanatory "ProjectClosedException" instead of just returning a (somewhat evil) null.
Do you want us to create a improvement for that?
Also, you could check if an project is closed by using
---
Regards
Erik
SmartBear Support
Well, this is by design as you shouldn't be able to open TestSuites on a closed project.
However, the method should probably throw an explanatory "ProjectClosedException" instead of just returning a (somewhat evil) null.
Do you want us to create a improvement for that?
Also, you could check if an project is closed by using
wsdlProject.isOpen()
---
Regards
Erik
SmartBear Support