Question

Récemment, ma société a été mise à jour de RFT 8.1.1.1 à la RFT 8.2 et maintenant tous nos fichiers Rational_ft_log.txt qui sont générés à partir de tests sont au moins une douzaine de fois plus longtemps qu'auparavant que nous avions mis à niveau.

Ces fichiers sont tellement plus longs maintenant, car chaque petit "getProperty sur cadre" qui arrive renvoie A +++ Pass, comme ceci:

++ Pass 30-Mar-2011 11: 15: 43.113 Am getProperty sur le cadre Line_Number= 50 script_name= débogcommands.ir2_18_debugcommands

Quelqu'un sache comment se débarrasser de ces méchantes choses?

J'ai recherché de manière exhaustive pour les options de RFT pour changer et j'ai semblé un peu dans l'écriture d'un plugin aux fichiers journaux de sortie.Je ne peux pas sembler obtenir IBM de me recontacter.

Était-ce utile?

La solution

You could write your own plugin, or just create your own custom logging methods in a super helper class. I do that anyway, to give me flexibility to output my logging info to any destination. But to answer your specific question about getting rid of the extraneous getProperty log messages, see the RFT info center:

Logged events such as verification point failures, script exceptions, object recognition warnings, and other additional playback information are displayed in the playback log results. From Rational® Functional Tester version 8.2 and later, the results of the getProperty() command are also displayed in the log results. If you do not require the log event to be displayed in the playback log, you can disable the event in the log results.

Before you begin: Ensure that you have access to modify the ivory.properties file.

About this task: To disable the getProperty() log event, you must modify the ivory.properties file.

Procedure: Open the ivory.properties file available in the \Functional Tester\bin\ directory. Add the following line of code at the end of the file contents:rational.test.ft.log.enhanced=false

Autres conseils

The fix is available under PMR29716. However, you would have to upgrade RFT8.2 to RFT 8.2.0.1 iFix01 to see it working.

Check the PMR @ https://www-304.ibm.com/support/docview.wss?rs=0&uid=swg24029194

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top