cancel
Showing results for 
Search instead for 
Did you mean: 

Utils.CreateStubObject inside a Script Extension

Highlighted
Contributor

Utils.CreateStubObject inside a Script Extension

Hi,

 

I want to create a function in a script extension that will return an object, but under certain conditions, it will just not be able to return it, and I wanted it to return something like Utils.CreateStubObject which has the Exists property.

 

I am having issues doing this, and I think that Utils is not available in the ScriptExtensions. Is that correct?

 

If so, could it be made available? Or do you have any suggestion on a different solution?

 

Regards

1 REPLY 1
Highlighted
Frequent Contributor

Re: Utils.CreateStubObject inside a Script Extension

Check out this link for objects available to script extensions. Utils is not on the list. I don't know how you could or can even achieve your goal. Maybe someone else does.

 

https://support.smartbear.com/viewarticle/69189/?utm_source=site-search&utm_medium=search-results&ut...

 

To make feature requests for TestComplete, go to http://community.smartbear.com/t5/TestComplete-Feature-Requests/idb-p/TestXCompleteFeatureRequests.

 

Good luck!

New Here?
Join us and watch the welcome video:
Announcements
Building with the Collaborator API

Help Documenation
The Collaborator API is a JSON-RPC API that lets you integrate with Collaborator 9.0 and above. For more information about how the API works, check out the API description here:


Sample Plugins
For an example of an add-in that uses the API, take a look at the Microsoft Word Add-in for Collaborator:


We list all the great plugins our network has already built on this page on the SmartBear website.

Labels