Hi 

1.My QTP automation run generates a folder structure with files processed 
 through Application. Folder structure is nested with folders & files. 
(Example showned below)

*Output Folder Struct :*

FoldA ->  Fold1 -> file1.docx, file2.docx, file3.err
          -> Fold2 -> file4.docx, file5.docx, file6.docx
FoldB ->  Fold1 -> file7.xml, file8.xml, file9.xml
          -> Fold2 -> file1.txt, file2.xml, file3.rtf
CompareResFIle.txt

2.Using beyond compare I compare the generated folder structure with one of 
the past folder structure( that was obtained by running the same test on 
prev builds) to check if new build has introduced any regression.The Beyond 
Compare results are also stored in a similar structure as output folder 
structure but the difference is the CompareResFIle.txt at each low level 
folder contains the comparision result of files from output. Example 
showned below.

*BCompare Fold Structure :*
FoldA ->  Fold1 -> CompareResFIle.txt
          -> Fold2 -> CompareResFIle.txt
FoldB ->  Fold1 -> CompareResFIle.txt
          -> Fold2 -> CompareResFIle.txt
CompareResFIle.txt


My requirement is to create a HTML file that will map the folder structure 
& based on compare result in compareResFile.txt, log pass/fail in html 
report. example showned below:

FoldA pass
FoldA/Fold1 - PASS
FoldA/Fold1 - PASS
FoldB - FAIL
FoldB/Fold1 - FAIL
FoldB/Fold1 - FAIL


Could any of you please tell me how can i parse Bcompare folder structure & 
create HTML report based on that. WHat you think would be the best things 
to use. I am thinking of using dictionary object for each folder & haviing 
various attributes stored in those dictionary which i can use to log html 
tags to  a file but not yet fully prepared with logic. If any of of you has 
any methods to achieve this, could you please share with me

Regards,
Balaji Konar

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to