Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Failure to view log files

I can't view the log files for RQM Test Execution Records. Sometimes I'm able to view the RFT Simple Log but not the detailed one. It does appear to be pulling the logs across from the server but I'm not seeing them being opened in the browser.
Does anyone know if there is specific client side configuration required for this ?

0 votes



7 answers

Permanent link
I can't view the log files for RQM Test Execution Records. Sometimes I'm able to view the RFT Simple Log but not the detailed one. It does appear to be pulling the logs across from the server but I'm not seeing them being opened in the browser.
Does anyone know if there is specific client side configuration required for this ?


In reply to my own post, in case anyone is interested, the problem with the simple log was that the code was attempting to write control characters to the log. Ultimately this resulted in invalid XML.

I'm still unable to view the detailed log.

0 votes


Permanent link
I can't view the log files for RQM Test Execution Records. Sometimes I'm able to view the RFT Simple Log but not the detailed one. It does appear to be pulling the logs across from the server but I'm not seeing them being opened in the browser.
Does anyone know if there is specific client side configuration required for this ?


In reply to my own post, in case anyone is interested, the problem with the simple log was that the code was attempting to write control characters to the log. Ultimately this resulted in invalid XML.

I'm still unable to view the detailed log.

You'll need RFT installed on the machine from which you are trying to view the detailed log. The detailed log which ends with .rftlog is a binary file that only RFT knows how to interpret. On machines with RFT installed, there should be a file association setup for .rftlog files. Essentially a program in this location is used to open them:

"<RFT_INSTALL_FOLDER>\FunctionalTester\bin\rftLog.bat"

If there's something wrong with the file association, the try running rftLog.bat and pass the path of the .rftlog file as an argument.

0 votes


Permanent link
I can't view the log files for RQM Test Execution Records. Sometimes I'm able to view the RFT Simple Log but not the detailed one. It does appear to be pulling the logs across from the server but I'm not seeing them being opened in the browser.
Does anyone know if there is specific client side configuration required for this ?


In reply to my own post, in case anyone is interested, the problem with the simple log was that the code was attempting to write control characters to the log. Ultimately this resulted in invalid XML.

I'm still unable to view the detailed log.

You'll need RFT installed on the machine from which you are trying to view the detailed log. The detailed log which ends with .rftlog is a binary file that only RFT knows how to interpret. On machines with RFT installed, there should be a file association setup for .rftlog files. Essentially a program in this location is used to open them:

"<RFT_INSTALL_FOLDER>\FunctionalTester\bin\rftLog.bat"

If there's something wrong with the file association, the try running rftLog.bat and pass the path of the .rftlog file as an argument.



RFT is installed on the machine. I can see the DOS prompt open and the rftLog.bat batch file being executed, but nothing else. I tried saving the log.rftlog file to the directory containing the batch file and running the batch
file manually from there. This failed with "invalid Dojo location". This is not a failure I see when the batch file is executed via the link in RQM - in that case there is nothing to indicate that the batch file has failed. I believe the
java class used in the batch file extracts the log file (which is zipped XML) to a temporary folder and should then launch it in a browser. This doesn't appear to work.

0 votes


Permanent link
I'm not certain about your issue, but I can say that it is specific to RFT itself, nothing to do with your RQM/RFT integration.

The only thing that comes to mind is that maybe there's something different about your Internet Explorer install on the machine from which you are attempting to open the .rftlog file. Maybe your OS isn't on the C: drive and this is giving the rftLog.bat code a hard time. I'm speculating.

But if you have a second machine with RFT install, then try to open the .rftlog file on that machine.

Also, you can try posting this to the RFT forum:

http://www.ibm.com/developerworks/forums/forum.jspa?forumID=322

0 votes


Permanent link
I know this is an old post. But I'm having this problem and wondering if anybody found a solution. To recap the problem, the simple log .xml created by RQM is incomplete and Firefox failed to load because of parsing error. IE did a little better but stopped at the missing element/tag. If found that only 1/3 of the results were logged. RFT could not open the more detailed .rftlog log. I could see that it was trying to open it but nothing came up.

0 votes


Permanent link
I know this is an old post. But I'm having this problem and wondering if anybody found a solution. To recap the problem, the simple log .xml created by RQM is incomplete and Firefox failed to load because of parsing error. IE did a little better but stopped at the missing element/tag. If found that only 1/3 of the results were logged. RFT could not open the more detailed .rftlog log. I could see that it was trying to open it but nothing came up.


Hi Brian,

Can you please attach a sample .rftlog file here which demonstrates the problem? I would like to try it on my machine in order to isolate if this is a problem with the actual .rftlog files in your environment or simply a machine/environmental issue on the machine(s) you are trying to view the log files on.

-Patrick

0 votes


Permanent link
I know this is an old post. But I'm having this problem and wondering if anybody found a solution. To recap the problem, the simple log .xml created by RQM is incomplete and Firefox failed to load because of parsing error. IE did a little better but stopped at the missing element/tag. If found that only 1/3 of the results were logged. RFT could not open the more detailed .rftlog log. I could see that it was trying to open it but nothing came up.


I'm not sure what it is that is causing your log file to be invalid (i.e. not well formed XML). In our case we had a couple of problems.
(1) Logging control characters via the RationalTestScript.logXXX() API methods
(2) Using the RationalTestScript.logXXX() API methods from multiple threads

I fixed both cases by (1) stripping control characters before calling the logging API and (2) externally synchronizing logging calls made in multiple threads.

I did raise RFE 12433 for (2) (http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=12433) but I don't believe anything was ever done about it.

Originally I also raised PMR 07271,49R,000 which relates to this also.

Paul

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 23 '11, 3:08 a.m.

Question was seen: 10,030 times

Last updated: May 23 '11, 3:08 a.m.

Confirmation Cancel Confirm