Forum Discussion

googleid_114358's avatar
googleid_114358
Contributor
12 years ago

Create and access Regions object in Script Extensions

Hi.



I am about to create a custom Region checkpoint in a script extension.

I am using the Stores.Exists & Stores.Create methods to check if the Regions exists and create it if needed.



This work great and I can see, when I run my script extension, that the Region object is added to the project.



However, when I try to use this Region object, TestComplete keeps prompting me the "Region is undefined" error message.



Do yo have any idea about the problem ?



Thanks.



Guillaume Théraud

1 Reply

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Guillaume,


     


    I apologize for the delay. Did you find an answer to your question? I suppose, you are using a wrong object name. The correct one is Regions (not Region).