Run Results for this run session are not available in ALM
I'm using UFT & HP Run results viewer of 12.52 version and ALM 12.21 version. When I try to launch a report from ALM. I get the following error "Run Results for this run session are not available in ALM". I have tried all the possible solution available in the HP Forum but still not able to resovle this issue.
Can someone help me fix this issue.
Thanks & regards
I have the same issue with UFT 12.53 in combination with ALM 12.21 patch 01.
I opened a ticket for HP last Friday. Will keep you informed on the outcome.
Anything you found out in the mean time ?
I did not find any solution yet.
What I observed anyway is tha, beside the error message the Script is saved correclty in ALM.
Let you know if I find workaround 🙂
Some feedback :
In the end in our case the issue came down to the fact that within our QTP scripts the following lines of code were flushing the runtime settings and hence the ALM report path got missing. These lines were added in the past by people running debug ad hoc runs of the scripts (to make sure the UFT GUI was not getting in front of the AUT).
Set objApplication = CreateObject("QuickTest.Application")
objApplication.Visible = False
Set objApplication = Nothing
Before version 12.50 these lines did not give this issue., all versions from 12.50 onwards do.
The issue was only present when starting the run from outside UFT (via RunTestSet executable, from ALM GUI, ...). Ad hoc start from UFT GUI with upload of result to ALM went fine for the upload of the report.
Removing the 3 lines of code the issue was solved for us.
We received also 2 new UFT v12.54 DLL's from HP to replace the equivalent v12.53 (the version we are using) ones and with those the issue is solved even without having to remove the 3 lines of code. We opted though to change our scripts.
Hopefully this can help some other people here.
I just had this in a test I've been developing in UFT 12.51 but saving in ALM 12.01.
By changing the Report format in General options > Run Sessions from the default HTML to the old style Run Results Viewer Report it enables the results to be opened when pressing the Launch Report button.
Not sure if later versison allow the opening of HTML this way reports but I hope they do