Domanda

Recentemente la mia azienda è aggiornata da RFT 8.1.1.1 a RFT 8.2 e ora tutti i nostri file rational_ft_log.txt che vengono generati dai test sono almeno una dozzina di volte più a lungo di quanto non fossero aggiornati.

Questi file sono molto più a lungo ora perché ogni piccolo "getproperty on fotogramma" che succede restituisce un pass +++, come questo:

++ Pass 30-Mar-2011 11: 15: 43.113 AM GETPERTY SULLA FRAMMA line_number= 50. script_name= debugcommands.ir2_18_debugcommands

Qualcuno sa come sbarazzarsi di queste cose cattive?

Ho cercato esaustivamente per le opzioni RFT da modificare, e ho guardato un po 'per scrivere un plug-in per emettere i file di registro.Non riesco a ottenere IBM per tornare da me.

È stato utile?

Soluzione

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

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top