iamraj09
11 years agoContributor
Suggestion needed on Performance test using TestComplete
Hello everyone,
I am trying to do a performance test on .Net application using TestComplete, where I have to calculate the time for each action i.e., start the timer just before starting an action and stopping the timer immediately on completion of the action, I was able to do that for simple actions using stop watch class but....there are few actions where the Window or Statusbar remains inactive indicating that the background process is not completed and in the mean while the TestComplete is trying to execute the next instruction and because of this test is getting failed.
My question is how can I make the instructions to wait till the window or statusbar is active or ..till the background process for that particular action is completed?
And the time duration is different and If I use any method which take a specific time interval as a parameter will affect my Performance Test (timer)readings as it will wait for the whole time to complete. Please suggest me the approach for this issue.
Thank you.
I am trying to do a performance test on .Net application using TestComplete, where I have to calculate the time for each action i.e., start the timer just before starting an action and stopping the timer immediately on completion of the action, I was able to do that for simple actions using stop watch class but....there are few actions where the Window or Statusbar remains inactive indicating that the background process is not completed and in the mean while the TestComplete is trying to execute the next instruction and because of this test is getting failed.
My question is how can I make the instructions to wait till the window or statusbar is active or ..till the background process for that particular action is completed?
And the time duration is different and If I use any method which take a specific time interval as a parameter will affect my Performance Test (timer)readings as it will wait for the whole time to complete. Please suggest me the approach for this issue.
Thank you.