Forum Discussion

mspark's avatar
mspark
New Contributor
9 years ago

How can I use my implemented runtime object by SDK in extended script

 

Hi,

 

I developed my own runtime object by using TestComplete SDK with C++. 

It is working proeprly in gneral script units. 

But when I used this runtime object in a keyword test opertaion which I am devloping (by using script extension), the error was occurred and TestComplete says "The object isn't defined".

 

According to the TestComplete manual, it seems some object can be used in script extension.

https://support.smartbear.com/viewarticle/69189/

 

If someone know how implemented runtime object can be used in script extension, please advise me.

 

Thanks,

Raymond.

 

1 Reply

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Raymond,

     

    TestComplete SDK and Script Extensions are different ways to extend TestComplete functionality. They aren't supposed to work together - you can either build a plugin via the SDK or create an extension. So, I don't think that it's possible to call your object declared in SDK from the script extension.