Interview Questions   Tutorials   Discussions   Programs   Videos   

QTP - How to prepare Test result summary in QTP?




232
views
asked marvit September 6, 2014 11:47 PM  

How to prepare Test result summary in QTP?


           

1 Answers



 
answered By Dharma   0  

Public Function resultexcel(stxt1,stxt2,stxt3,stxt4,stxt5) Set objxls=createobject("excel.application")

If not fso.fileexists(resultxlsfile) then
    objxls.Workbooks.Add
    Set objSheet = objxls.ActiveWorkbook.Worksheets(1)
    Set objSheet2 = objxls.ActiveWorkbook.Worksheets(2)
Else
    set objworkbook=objxls.workbooks.open  (resultxlsfile)
    Set objSheet = objworkbook.Worksheets(1)
    Set objSheet2 = objworkbook.Worksheets(2)
End If

' Bind to worksheet.
objSheet.Name = "Test Details"
objSheet2.Name="Test Summary"
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert