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.