Forum Discussion
OK, I don't know Python AT ALL... but, one thing I see is that AConnection.Close() is getting called after you populate data container 2... then you execute a query again using the same connection AFTER it's closed to populate data_container without first opening the connection.
So, I'm not sure EXACTLY why you're getting a crash... but running an execution of a query on a closed connection... I'm surprised this works the first time.
tristaanogreya exactly if the mistake is there it must not work first time also but it is working as expected but dont know what happens if i run it again it gets crashed.
And even i tried to connect data base twice separately and open it twice and close simultaneously then also same problem occurs, it got crashed 2nd time.
- tristaanogre8 years agoEsteemed Contributor
Well, I'd start by correcting the mistake. Make sure that all connections are opened and closed where they need to be.
You say "TestComplete crashed".... I'm assuming that the TC application itself is crashing by that? If so, do you have a crash dump that you can send off to support? Usually, when TC crashes, that's your best bet.- JackSparrow8 years agoFrequent Contributor
tristaanogreif you dont mind can you pleas give me the support link where i can raise this issue.
- tristaanogre8 years agoEsteemed Contributor
Related Content
- 4 years agoPUM-Prodat-SQL
- 7 years agoGaleG