mercredi 16 décembre 2015

TestComplete - Incorrect Cross Reference Error

I am using TestComplete 11 with JScript code in the scripts - no keyword tests.

I am getting a cross reference error that is incorrect. I checked all the USEUNIT declarations of the referenced units and they do NOT reference each other, yet I am all of the sudden getting this error.

EX:

Unit DataCheck:
//USEUNIT Button
//USEUNIT Lots of other Units

Unit Button
//USEUNIT Input
//USEUNIT Map
//USEUNIT Utilities

ERROR: Syntax error(s) The units Button and DataCheck refer to each other. Cross references are not allowed in JScript units.

Error locationL Unit: "Button" Line 4 Column: 1

Ummm.....line 4 has NO DATA! SIGROWL

Remove Utilities from Button and no error, but then a function essential to Button can't be accessed.

Any ideas??

Aucun commentaire:

Enregistrer un commentaire