Quantcast
Channel: Quality Center / ALM Practitioners Forum topics
Viewing all articles
Browse latest Browse all 5491

How to add result in 'Last Run Report' section in Test Lab

$
0
0

Hi All,

 

I want to add result for each step in 'Last Run Report' section for the script in Test Lab ALM. I'm using ALM 11.5. 

 

I used the following code. 

 

Function QCReport(stepName,status,desc,expectedResult,actualResult)        
            
                    Set CurentRun = QCUtil.CurrentRun
                    Set TestStep = CurrentRun.StepFactory.AddItem(Null)
                    TestStep.Name = stepName
                                            
                    TestStep.Field("ST_DESCRIPTION") =  desc
                    TestStep.Field("ST_EXPECTED") =   expectedResult
                    TestStep.Field("ST_ACTUAL") =   actualResult
                    TestStep.Status = status
                    TestStep.Post()
                    Set CurrentRun = Nothing

End Function

 

I'm called above function using the below code :

 

QCReport "Step 1","Pass","Login to RSvP Application","Successfully login to  the application","Welcome Message is displayed"

 

 

But it displayed result for the wrong coloumn i.e. for Step Name, it displayed 'desc' and others too.

 

See the attached screen shot. 

 

Please any one help me on this. 

 


Viewing all articles
Browse latest Browse all 5491

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>