Forum Discussion

ViktorUvpv's avatar
ViktorUvpv
New Contributor
14 years ago

Cross references allowing

Hi,

I got



    ---------------------------

    TestComplete

    ---------------------------

    Syntax error(s).


    The units <u1> and <u2> refer to each other.

    Cross references are not allowed in JScript units.



I think this is wrong feature. I need cross references. I think you should allow this functionality for users risks.

What you think?



Thanks.

2 Replies

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3
    Hi Viktor,



    AFAIK, this is not a limitation of TestComplete, but limitation of OS JScript engine which is used by TC (MSDN may shed more light on this)...

  • Hello Viktor,





    Allowing cross-references may lead to significant troubles for users who do this by mistake (script errors that are difficult to diagnose, performance penalties, high memory consumption, etc.). We think that it is not worth while.

    At that, many programming languages do not allow cross-references, and this restriction does not impose any significant constraints on the available functionality.

    Any situation where cross-references are needed can be resolved without using them.