question

hvakharia avatar image
hvakharia asked hvakharia posted

Print item in File menu

When does iTest makes Print active in File menu? It seems it is always stay grayed out(inactive). How can I print script as user sees in iTest editor ie Action Session and Description?

iTestfeature request
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
AdamB avatar image
AdamB answered AdamB posted

At the moment, it is a two step process.

 

1. You have to export the Test Case to an HTML or Text document. 

 

If you render it to text:  

2. Then you open/print that document. 

 

If you render it to HTML:

2. Then you need to open the file in an external browser and print it. 

9 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

hvakharia avatar image hvakharia commented ·

I have noticed when I printed my script that Analysis Rules does not give any details. All the fields are blank under Analysis Rules. Action used is "describe" Is there any way to print those fields?

 

Analysis Rules:

Extract using:

What to extract:

Perform:

Details:

0 Likes 0 ·
dclaar avatar image dclaar hvakharia commented ·

You're on an older rev, aren't you? 

 

I posted a fix somewhere in the forums for 3.2 (the XML was incorrect), but it is just a bandaid. You really want 3.3's reporting, it's tons better! Quite complete.

 

Here's the thread:

 

http://forums.fanfaresoftware.com/fnfr/board/message?board.id=iTestGeneral&message.id=595&query.id=64465#M595

Message Edited by dclaar on 03-10-2009 02:12 PM
0 Likes 0 ·
hvakharia avatar image hvakharia dclaar commented ·

I am using iTest 3.3. Do I need to update any XML file report8? If so how do I get the update? 

0 Likes 0 ·
dclaar avatar image dclaar hvakharia commented ·
I didn't have to do anything. Here's a snippet of what it looks like.
0 Likes 0 ·
OwenL avatar image OwenL dclaar commented ·
iTest 3.3 looks for the folder 'resources/reports8' in the workspace, and if not found, creates one and populates it with the XSLT stylesheets required for exporting reports etc. There is no manual installation needed. Is it possible that an older reports folder has simply been renamed to reports8? You could try exiting iTest, renaming the existing reports8 folder (e.g. to old_reports8), then running itest again in that workspace. The reports8 folder should be recreated with correct stylesheets, giving exported reports as shown in the previous post. If this is not the case then perhaps you are using an older version of iTest. You could rename all the existing reports folders and see which folder is recreated when iTest is restarted in that workspace.
0 Likes 0 ·
dclaar avatar image dclaar OwenL commented ·

Interesting! I have resources/reports5 and resources/reports7. No resources/reports8. On linux, where I didn't have 3.2 installed, I only have resources/reports7.

 

0 Likes 0 ·
OwenL avatar image OwenL dclaar commented ·
Thanks, I got that wrong, reports7 is the folder used by iTest 3.3
0 Likes 0 ·
OwenL avatar image OwenL OwenL commented ·

The situation is clearer now. Hvakharia, I believe you are exporting the test case to a text file via the 'pure_text_detailed_info' combo option in the export wizard? The 'export to text' XSLT in iTest 3.3 is broken. Dclaar is using 'default_style_detailed_info' which exports to HTML and correctly shows the analysis fields. The installation is OK, there is no need to reconstruct the reports7 folder.

 

Hvakharia, can you export to HTML for now, the text export will be addressed in the next release.

0 Likes 0 ·
hvakharia avatar image hvakharia OwenL commented ·

Yes I realized when I compare both the txt and html file. I am no using html.

 

Thanks for your excellent support.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.