How to display Excution Result in user understandable(Expected and actual result) form while running RFT scripts from RQM
One answer
If you want to have expected result and actual result for RFT script, you will need to have verification point in the RFT script. All other statements without verification points will only be shown the actual result(pass or failed etc) for the statement. For example, the statement is "Start Application xxxx", if the playback executed that statement and the application is started, it will give "passed" to that statement only. Even though Expected result and Actual result do not
have any info, it does mean by the statement itself that Expected result is "start application xxx" and the Actual result is
"application xxx was started" hence it is passed. Therefore if there is any objects the users think it is important to have clear expected and actual result for RFT script in RQM playback, they need to insert verification point into the script.
Comments
Hi Don,
But the requirement is to get the automated test case excution result in the same way as we see the result while doing manually. I tried the VP way, but its not working as per the requirement.
Hi Don,
But my requirement is to display the automation test case result in the same way as the result which we get while doing manually. I tried the VP way, but its not working the way as expected.
Hi, Sowmya
Automation script(RFT script) has different behavior as what manual script can do(different design). I am not sure what you mean "tried the VP way, but its not working the way as expected.". In my test here, the recorded VP value(or image) will be set in the expected result field, and the playback result of VP will be in the actual result field. This is how it works for RFT script in RQM. you may raise a RFE(enhancement request) for RFT script to work exactly the same as manual script in RQM but I think it is unlikely it will be considered.
Hi Don,
Thanks for your response, I tried using property verification point, but the expected and actual result is displayed as "Refer to Detailed Log", Can u please tell how to customize it.?
Property VPs may verify against a lot of properties, I guess that's why it is designed to "referring to detailed log". I don't think there is any way to customize it. If possible, you may use data verification point or image verification instead.