mattc_1
15 years agoOccasional Contributor
RunRoutine Executes Slow
I am wanting to use Visual Studio 2008 to handle the flow of my tests. I have created scripts that allow me to pass in the control name and the value to be used into a sub and it will set the value. I found that RunRoutine and RunRoutineEx are the only two functions that will do this from VS.
I am noticing though that it takes a while to execute these and even though it is a COM reference and not .Net it feels a bit clunky. Take for instance I am calling a piece that will close the open form using ALT + F4 which seems to close the form in a few seconds but it will not exit out of the sub for another 5-10 seconds after it has already closed the form.
Is this just the way it is going to be or is there something wrong with the way I have initialized my TestCompleteApplication and ItcIntegration variables?
I am setting them using the Marshal.GetActiveObject or Activator.CreateInstance functions to initialize the TestCompleteApplication variable.
Is there a better way to do this?
I am noticing though that it takes a while to execute these and even though it is a COM reference and not .Net it feels a bit clunky. Take for instance I am calling a piece that will close the open form using ALT + F4 which seems to close the form in a few seconds but it will not exit out of the sub for another 5-10 seconds after it has already closed the form.
Is this just the way it is going to be or is there something wrong with the way I have initialized my TestCompleteApplication and ItcIntegration variables?
I am setting them using the Marshal.GetActiveObject or Activator.CreateInstance functions to initialize the TestCompleteApplication variable.
Is there a better way to do this?