Forum Discussion
Does this article about running code asynchronously help? http://support.smartbear.com/viewarticle/73616/
- herbie68nl10 years agoOccasional Contributor
I am not sure yet, I am still strugling with this, reading the explanation, this is what I want but....
I have created several VB scripts in TestComplet whith I want to run.
I created a "Control" script, where I can call the seperate script with theis function, but what do I use as Obj and Property name
For Example the Scripts called Unit1, Unit2 and Unit3
Within thos scripts I called my Sub routines Test1, Test2 and Test3. I do not need parameters to run the scriptss
But my Script is not an object and my subroutines are not methods therefore the line
Set Result=Runner.CallObjectMethodAsync(Unit2, "Test1")
returns an error "Parameter is incorect"
Do I have to create Objects for my scripts and If yes How, or is this the wrong aproach and should I use this sollution differently.
Related Content
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago