07/06/2017
Hello,
I am trying to do automated testing with the CTT. However, I don't fully understand the content of the log file.
I see in CTT documentation (file:///opt/opcfoundation/uactt/help/index.htm) that return code are:
-1 : Error
0 : OK
1: Warnings
But here is an extract of the CTT XML log file (tests 1 and 2 are OK, test 3 fails):
<ResultNode status="" description="" testresult="5" timestamp="" name="initialize.js"/>
<ResultNode status="" description="Read: VALUE attribute of a single node." testresult="5" timestamp="" name="001.js"/>
<ResultNode status="" description="Read: Multiple attributes from a single node, in a single call." testresult="5" timestamp="" name="002.js"/>
<ResultNode status="" description="Read all available attributes from a single (valid) node, in a single call." testresult="0" timestamp="" name="003.js">
What is the meaning of testresult ? Is there a documentation of the ouput format ? How can I identify failing and succeeding tests ?
Best Regards,
Moderators
Moderators-Specifications
Moderators-Companion
Moderators-Implementation
Moderators-Certification
Moderators-ProductsServices
07/11/2017
Hello,
the values for the test results of the command line interface and in the XML-File are different. In the command line interface the test results are:
-1: Error
0: OK
1: Warnings
like you already mentioned. In the XML file the field testresult is defined in a different way which is:
0: Fail/Error
1: Warning
2: Not Implemented
3: Skipped
4: Not Supported
5: OK / Log
6: Back-trace
The result codes are described in the CTT help in the Integration -> Project Files -> project_name.results.xml page.
Let me know if you have any further questions.
Best Regards
Alexander Allmendinger
1 Guest(s)