Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20755

Script extension problems (jscript)

$
0
0

Hello all,

 

 

Trying to implement a script extension (using TC 10.6, jscript as language) i encounter some problems and need your help.

 

Attached are the descrption.xml and the extension source code where the problems besides.

 

When i use built-in functions, e.g. Log object, or when i define variables, it seems that is not working:

- the pmNormal priority (or other pm level) is not recognized, i must use integer value instead.

- the log attributes defined in the script is ignored (variable logWarning or logInfo used as log attributes doesn't work but no error raised).

- the Log.Enabled=false seems to be inoperant, i still have the log entry 'unable to find object'.

 

The same code in a standard sj unit works very well.

 

Any idea why ?

 

Thanks a lot.

 

 


Viewing all articles
Browse latest Browse all 20755

Trending Articles