문제

최근에 내 회사는 RFT 8.1.1.1에서 RFT 8.2로 업그레이드했으며 현재 테스트에서 생성 된 rational_ft_log.txt 파일은 업그레이드 한 것보다 적어도 12 배 이상 오래되었습니다.

이러한 파일은 다음과 같이 +++ 패스를 반환하는 모든 작은 "getProperty"가 +++ 패스를 반환하기 때문에 이제는 훨씬 더 오래되었습니다.

++ Pass 30-Mar-2011 11 : 15 : 43.113 프레임에 GetProperty line_number= 50. script_name= debugcommands.ir2_18_debugcommands

누구나이 불쾌한 것들을 제거하는 방법을 알고 있습니까?

RFT 옵션을 위해 철저히 검색했으며 로그 파일을 출력하기 위해 플러그인을 작성하는 것으로 조사했습니다.나는 IBM을 나에게 돌아갈 수 없게 보일 수 없다.

도움이 되었습니까?

해결책

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

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top