lhuang5
12 years agoOccasional Contributor
Why tested application is closed by TestComplete when the application is trying to load big data?
Hi everyone,
We are using JScript to write a test for our software. The test will start the application using TestedApps.OurApp.Run() and then load a data set to do some operations, and finally close tested application. Our codes work very fine for small-sized data set. The problem has occurred when our data set is big-sized. The tested application will be closed during the process that our application tries to load this big-sized data set.
However our codes work for this big-sized data set if we start OurApp manually. According to our observation, we found the difference in their working ways.
1. Start OurApp mannually, OurApp.exe process will appear outside TestComplete.exe process.
2. Start OurApp using code, OurApp.exe process will appear under TestComplete.exe. Loading big data set might cause memory problem for TestComplete.
So we wonder whether this is the possible reason for such problem and how we can avoid or walk around such problem using scripts.
Thanks & Regards,
Liping
We are using JScript to write a test for our software. The test will start the application using TestedApps.OurApp.Run() and then load a data set to do some operations, and finally close tested application. Our codes work very fine for small-sized data set. The problem has occurred when our data set is big-sized. The tested application will be closed during the process that our application tries to load this big-sized data set.
However our codes work for this big-sized data set if we start OurApp manually. According to our observation, we found the difference in their working ways.
1. Start OurApp mannually, OurApp.exe process will appear outside TestComplete.exe process.
2. Start OurApp using code, OurApp.exe process will appear under TestComplete.exe. Loading big data set might cause memory problem for TestComplete.
So we wonder whether this is the possible reason for such problem and how we can avoid or walk around such problem using scripts.
Thanks & Regards,
Liping