I am a newcomer for TestComplete and would like to try ScriptExtension Runtime object to package some projects with load testing (for making SOAP request which contents will be modified in runtime). I have successfully generated a project with different tasks for different soap request. I would like to put it all into Script Extension but can't find a way to put the tasks into script extension package. How should I make it done or is it support? Any workaround if load testing task is not supported by script extension. Thanks!!
Currently, the LoadTesting object which provides access to HTTP Load Testing tasks is unavailable to Script Extensions (see the "Objects Available to Script Extensions" help topic for more information). However, I have registered your request in our DB as a suggestion. Thank you.
Thank you for your response. I have noticed the topic "Objects available to Script Extensions" also. Indeed, I do not need much the function on load testing especially the performance part. However, I would like to have package such SOAP request into an extension or some kind of project. I have tried to put it into a project however I cannot find a way to call the load testing task from another project even they are in the same test suite. I am evaluating TestComplete and would like to have this clear before we can place order, as in our case not all QA engineers are familiar with script program such that we would like to hide the complicated parts behind. Thank you much for your help anyway.
However, I would like to have package such SOAP request into an extension or some kind of project. I have tried to put it into a project however I cannot find a way to call the load testing task from another project even they are in the same test suite.
[/ QUOTE ]
A load testing task requires an appropriate project item to be present in your project. To learn how to share project items among several projects, please see the "Sharing Project Items and Their Child Elements Among Several Projects" help topic.
I recommend that you use another approach. Although script extensions were not supposed to work with run-time objects passed from your scripts, you can pass an HTTPTask or HTTPRequest object as a parameter to a routine in your script extension and process it.
Please let me know if you have any additional questions.